summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-07-22 08:34:19 +0000
committerdfr <dfr@FreeBSD.org>1998-07-22 08:34:19 +0000
commit953622fb2a85291e57ba9a353de804fbe5cb1b73 (patch)
tree31b0ed13685ed39dd6180cc3eb9dc8632a0ad960 /sys/alpha
parent15d5de14dce4b38c5758620615b5ecd08dfeaba4 (diff)
downloadFreeBSD-src-953622fb2a85291e57ba9a353de804fbe5cb1b73.zip
FreeBSD-src-953622fb2a85291e57ba9a353de804fbe5cb1b73.tar.gz
Add ISA support.
Remove mcclock hack which was only needed because ISA wasn't done yet.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/autoconf.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/alpha/alpha/autoconf.c b/sys/alpha/alpha/autoconf.c
index 873eb3f..6456d7d 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.3 1998/07/05 12:10:10 dfr Exp $
+ * $Id: autoconf.c,v 1.4 1998/07/12 16:07:05 dfr Exp $
*/
#include <sys/param.h>
@@ -52,6 +52,7 @@ SYSINIT(configure, SI_SUB_CONFIGURE, SI_ORDER_FIRST, configure, NULL)
static void configure_finish __P((void));
static void configure_start __P((void));
+device_t isa_bus_device = 0;
static void
configure_start()
@@ -81,15 +82,15 @@ configure(void *dummy)
device_add_child(root_bus, platform.iobus, 0, 0);
- /* XXX hack until I implement ISA */
- if (!strcmp(platform.iobus, "cia"))
- device_add_child(root_bus, "mcclock", 0, 0);
- /* XXX end hack */
-
root_bus_configure();
pci_configure();
+ /*
+ * Probe ISA devices after everything.
+ */
+ bus_generic_attach(isa_bus_device);
+
configure_finish();
cninit_finish();
OpenPOWER on IntegriCloud