diff options
Diffstat (limited to 'src/include/device')
-rw-r--r-- | src/include/device/device.h | 1 | ||||
-rw-r--r-- | src/include/device/pci.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index 20d9c22298..38efe53adc 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -46,6 +46,7 @@ struct device { unsigned short device; unsigned int class; /* 3 bytes: (base,sub,prog-if) */ unsigned int hdr_type; /* PCI header type */ + /* @todo rename this to 'enabled' */ unsigned int enable : 1; /* set if we should enable the device */ uint8_t command; diff --git a/src/include/device/pci.h b/src/include/device/pci.h index aa6778c504..ef18cb40ee 100644 --- a/src/include/device/pci.h +++ b/src/include/device/pci.h @@ -28,7 +28,9 @@ struct pci_driver { }; #define __pci_driver __attribute__ ((unused,__section__(".rodata.pci_driver"))) +/** start of compile time generated pci driver array */ extern struct pci_driver pci_drivers[]; +/** end of compile time generated pci driver array */ extern struct pci_driver epci_drivers[]; |