X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/8b8f49b713d64065775fe538232f8639083601bd..a8b800d1691263aa73054449b1721c1ec9516496:/lunaix-os/hal/ahci/ahci.c diff --git a/lunaix-os/hal/ahci/ahci.c b/lunaix-os/hal/ahci/ahci.c index 8794bab..2aa37e5 100644 --- a/lunaix-os/hal/ahci/ahci.c +++ b/lunaix-os/hal/ahci/ahci.c @@ -444,9 +444,9 @@ achi_register_ops(struct hba_port* port) static struct pci_device_def ahcidef = { .dev_class = AHCI_HBA_CLASS, - .ident_mask = 0x0, + .ident_mask = PCI_MATCH_ANY, .devdef = { .class = DEVCLASS(DEVIF_PCI, DEVFN_STORAGE, DEV_SATA), .name = "Serial ATA Controller", .init_for = ahci_driver_init } }; -EXPORT_DEVICE(ahci, &ahcidef.devdef, load_pci_probe); \ No newline at end of file +EXPORT_PCI_DEVICE(ahci, &ahcidef); \ No newline at end of file