mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 13:18:22 +00:00
kernel: initial xhci and usb implementation
This commit is contained in:
@@ -22,11 +22,14 @@
|
||||
#define PCI_CONFIG_REVISION 0x8
|
||||
#define PCI_CONFIG_PROGIF 0x9
|
||||
#define PCI_PROGIF_STORAGE_SATA_AHCI 0x1
|
||||
#define PCI_PROGIF_USB_XHCI 0x30
|
||||
#define PCI_CONFIG_SUBCLASS 0xa
|
||||
#define PCI_SUBCLASS_STORAGE_NVM 0x8
|
||||
#define PCI_SUBCLASS_STORAGE_SATA 0x6
|
||||
#define PCI_SUBCLASS_SERIAL_BUS_USB 0x3
|
||||
#define PCI_CONFIG_CLASS 0xb
|
||||
#define PCI_CLASS_STORAGE 0x1
|
||||
#define PCI_CLASS_SERIAL_BUS 0xc
|
||||
#define PCI_CONFIG_HEADERTYPE 0xe
|
||||
#define PCI_HEADERTYPE_MULTIFUNCTION_MASK 0x80
|
||||
#define PCI_HEADERTYPE_MASK 0x7f
|
||||
|
||||
Reference in New Issue
Block a user