mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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 :(
This commit is contained in:
parent
8a1d9101f2
commit
cb66e8d4e3
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue