PCI: moved IDE api flags to PCI.h

This commit is contained in:
Jérôme Duval
2013-11-28 18:38:45 +01:00
parent 3746e83482
commit e4e1cf9aff
5 changed files with 16 additions and 22 deletions
+12
View File
@@ -327,6 +327,18 @@ struct pci_module_info {
#define PCI_nvm 0x08 /* NVM Express controller */
#define PCI_mass_storage_other 0x80 /* other mass storage controller */
/* ---
bit mask of the class_api field for
class_base = 0x01 (mass storage)
class_sub = 0x01 (IDE controller)
--- */
#define PCI_ide_primary_native 0x01 /* primary channel is in native mode */
#define PCI_ide_primary_fixed 0x02 /* primary channel can be switched to native mode */
#define PCI_ide_secondary_native 0x04 /* secondary channel is in native mode */
#define PCI_ide_secondary_fixed 0x08 /* secondary channel can be switched to native mode */
#define PCI_ide_master 0x80 /* master device */
/* ---
values of the class_api field for
class_base = 0x01 (mass storage)