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
This commit is contained in:
parent
13dc81a40f
commit
4dc7ffa02d
@ -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
|
* If we didn't see EISA or ISA on a pci bridge, create some
|
||||||
* connection points now so they show up "on motherboard".
|
* connection points now so they show up "on motherboard".
|
||||||
@ -172,6 +173,7 @@ legacy_attach(device_t dev)
|
|||||||
panic("legacy_attach eisa");
|
panic("legacy_attach eisa");
|
||||||
device_probe_and_attach(child);
|
device_probe_and_attach(child);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#ifdef DEV_MCA
|
#ifdef DEV_MCA
|
||||||
if (MCA_system && !devclass_get_device(devclass_find("mca"), 0)) {
|
if (MCA_system && !devclass_get_device(devclass_find("mca"), 0)) {
|
||||||
child = BUS_ADD_CHILD(dev, 0, "mca", 0);
|
child = BUS_ADD_CHILD(dev, 0, "mca", 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user