Add VME support

This commit is contained in:
gwr 1997-10-16 16:49:48 +00:00
parent 841c4f7db2
commit 86e680de0c
1 changed files with 3 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.1.1.1 1997/01/14 20:57:09 gwr Exp $ */
/* $NetBSD: mainbus.c,v 1.2 1997/10/16 16:49:48 gwr Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -71,14 +71,6 @@ main_match(parent, cf, aux)
* This controls the order of autoconfig for important things
* used early. For example, idprom is used by Ether drivers.
*/
static int bus_order[] = {
BUS_OBIO, /* eeprom, clock */
BUS_OBMEM,
BUS_VME16,
BUS_VME32
};
#define BUS_ORDER_SZ (sizeof(bus_order)/sizeof(bus_order[0]))
static void
main_attach(parent, self, args)
struct device *parent;
@ -90,8 +82,8 @@ main_attach(parent, self, args)
printf("\n");
for (i = 0; i < BUS_ORDER_SZ; i++) {
ca.ca_bustype = bus_order[i];
for (i = 0; i < BUS_NTYPES; i++) {
ca.ca_bustype = i;
(void) config_found(self, &ca, NULL);
}
}