diff options
author | sos <sos@FreeBSD.org> | 2000-02-27 12:41:07 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2000-02-27 12:41:07 +0000 |
commit | ad425faefd39e0e303233be6c24f5e2df7f92de9 (patch) | |
tree | c9b80cb0f90ea19e3e4fecfbd560e14a4367adb0 | |
parent | d2d679a008f0d5821c6a5ea6944c6fee3505e584 (diff) | |
download | FreeBSD-src-ad425faefd39e0e303233be6c24f5e2df7f92de9.zip FreeBSD-src-ad425faefd39e0e303233be6c24f5e2df7f92de9.tar.gz |
Fix the problem that caused the boot to fail when modules were loaded.
Real braino, confuses two different softc types, I wonder how this
could ever work :(
-rw-r--r-- | sys/dev/ata/ata-all.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index 7bf5a4a..b8527f0 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -686,7 +686,7 @@ static driver_t ata_pci_driver = { sizeof(struct ata_pci_softc), }; -DRIVER_MODULE(atapci, pci, ata_pci_driver, ata_devclass, 0, 0); +DRIVER_MODULE(atapci, pci, ata_pci_driver, ata_pci_devclass, 0, 0); static int ata_pcisub_probe(device_t dev) @@ -723,7 +723,7 @@ static driver_t ata_pcisub_driver = { sizeof(struct ata_softc), }; -DRIVER_MODULE(ata, atapci, ata_pcisub_driver, ata_pci_devclass, 0, 0); +DRIVER_MODULE(ata, atapci, ata_pcisub_driver, ata_devclass, 0, 0); #endif static int |