diff options
author | imp <imp@FreeBSD.org> | 2004-12-07 15:36:19 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-12-07 15:36:19 +0000 |
commit | 4dc7ffa02df30cbab5642fd5fd3960fd0ede6fbb (patch) | |
tree | f0dab97971ffa1a40b3b5659e479e0a9cd88b15c /sys/i386 | |
parent | 13dc81a40ffaa7b91681c26200787026aad3b3ad (diff) | |
download | FreeBSD-src-4dc7ffa02df30cbab5642fd5fd3960fd0ede6fbb.zip FreeBSD-src-4dc7ffa02df30cbab5642fd5fd3960fd0ede6fbb.tar.gz |
NEC PC-98 machines do not have and cannot have an EISA bus. They have
only C-Bus and PCI busses. Therefore, don't create an eisa0 node on
the legacy bus that can never attach.
PC-98 info verified by: nyan-san
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/legacy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/i386/legacy.c b/sys/i386/i386/legacy.c index f7e69ec..af7f157 100644 --- a/sys/i386/i386/legacy.c +++ b/sys/i386/i386/legacy.c @@ -162,6 +162,7 @@ legacy_attach(device_t dev) } } +#ifndef PC98 /* * If we didn't see EISA or ISA on a pci bridge, create some * connection points now so they show up "on motherboard". @@ -172,6 +173,7 @@ legacy_attach(device_t dev) panic("legacy_attach eisa"); device_probe_and_attach(child); } +#endif #ifdef DEV_MCA if (MCA_system && !devclass_get_device(devclass_find("mca"), 0)) { child = BUS_ADD_CHILD(dev, 0, "mca", 0); |