From e52666931a3e34895b3f3b92641de9774ab722ec Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Tue, 23 Mar 2004 21:28:05 +0000 Subject: Doxidization, reformat git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1469 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/device/device.h | 1 + src/include/device/pci.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src/include/device') 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[]; -- cgit v1.2.3