summaryrefslogtreecommitdiff
path: root/src/sys/io/ic/ahci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/io/ic/ahci.c')
-rw-r--r--src/sys/io/ic/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/io/ic/ahci.c b/src/sys/io/ic/ahci.c
index 725fbcf..95cfbda 100644
--- a/src/sys/io/ic/ahci.c
+++ b/src/sys/io/ic/ahci.c
@@ -536,7 +536,7 @@ ahci_attach(struct pci_adv *adv)
static struct pci_adv driver = {
.lookup = PCI_CS_ID(0x1, 0x06),
.attach = ahci_attach,
- .classrev = 1
+ .idtype = PCI_LU_CLASSREV
};
MODULE_EXPORT("ahci", MODTYPE_PCI, ahci_init);