aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1999-03-28 17:33:38 +0000
committerDoug Rabson <dfr@FreeBSD.org>1999-03-28 17:33:38 +0000
commite8d4dc28dc66c547cf3bad8c613ea5c9a36460d5 (patch)
tree48da04ad4410ce735dc8e600db0fe99fc5239926 /sys
parent7e2bb9dbfee0c0cfbb5e32cc2fcb4d31f539e0ee (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/alpha/autoconf.c26
1 files changed, 15 insertions, 11 deletions
diff --git a/sys/alpha/alpha/autoconf.c b/sys/alpha/alpha/autoconf.c
index cf5ae09ed3cee..da474734587ee 100644
--- a/sys/alpha/alpha/autoconf.c
+++ b/sys/alpha/alpha/autoconf.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: autoconf.c,v 1.13 1999/01/20 19:22:24 peter Exp $
+ * $Id: autoconf.c,v 1.14 1999/03/12 14:44:46 gallatin Exp $
*/
#include "opt_bootp.h"
@@ -120,15 +120,23 @@ bootdev_protocol(void)
}
static int
-bootdev_bus(void)
+bootdev_slot(void)
{
- return atoi(bootdev_field(1));
+ return atoi(bootdev_field(2));
}
static int
-bootdev_slot(void)
+bootdev_unit(void)
{
- return atoi(bootdev_field(2));
+ return atoi(bootdev_field(5));
+}
+
+#if 0
+
+static int
+bootdev_bus(void)
+{
+ return atoi(bootdev_field(1));
}
static int
@@ -144,12 +152,6 @@ bootdev_remote_address(void)
}
static int
-bootdev_unit(void)
-{
- return atoi(bootdev_field(5));
-}
-
-static int
bootdev_boot_dev_type(void)
{
return atoi(bootdev_field(6));
@@ -161,6 +163,8 @@ bootdev_ctrl_dev_type(void)
return bootdev_field(7);
}
+#endif
+
void
alpha_register_pci_scsi(int bus, int slot, struct cam_sim *sim)
{