pciconf.h

Go to the documentation of this file.
00001 #ifndef PCI_CONF_REG_INDEX
00002 
00003 // These are defined in the PCI spec, and hence are theoretically
00004 // inclusive of ANYTHING that uses a PCI bus. 
00005 #define PCI_CONF_REG_INDEX      0xcf8
00006 #define PCI_CONF_REG_DATA       0xcfc
00007 
00008 #if PCI_IO_CFG_EXT == 0
00009 #define CONFIG_ADDR(bus,devfn,where) (((bus) << 16) | ((devfn) << 8) | (where))
00010 #else
00011 #define CONFIG_ADDR(bus,devfn,where) (((bus) << 16) | ((devfn) << 8) | (where & 0xff) | ((where & 0xf00)<<16) )
00012 #endif
00013 
00014 #endif

Generated on Mon Dec 29 10:54:06 2008 for coreboot by  doxygen 1.5.5