rewrite the device subsystem interfaces (#48)
[lunaix-os.git] / lunaix-os / hal / ahci / ahci.c
index f40ae2428a135457793da09bf209e42d271ab73c..04a71047b6708f4f06e8a3465a4900aead0acd88 100644 (file)
@@ -29,7 +29,7 @@
 #define HBA_CLB_SIZE 1024
 
 #define HBA_MY_IE (HBA_PxINTR_DHR | HBA_PxINTR_TFE | HBA_PxINTR_OF)
-#define AHCI_DEVCLASS DEVCLASS(DEVIF_PCI, DEVFN_STORAGE, DEV_SATA)
+#define AHCI_DEVCLASS DEVCLASS(LUNAIX, STORAGE, SATA)
 
 // #define DO_HBA_FULL_RESET