summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-03-23 21:28:05 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-03-23 21:28:05 +0000
commite52666931a3e34895b3f3b92641de9774ab722ec (patch)
tree890bb66a0a16ec7a57230283f000ee91eeb0b384 /src/include/device
parent9f46132e9627d24f3ad76619cf3340006a4012fb (diff)
downloadcoreboot-e52666931a3e34895b3f3b92641de9774ab722ec.tar.xz
Doxidization, reformat
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1469 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/device.h1
-rw-r--r--src/include/device/pci.h2
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[];