Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-10

Creator:  Yinghai Lu <yhlu@tyan.com>

pci_rom.h  smbus device parent device print


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1929 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
arch import user (historical)
2005-07-06 16:49:59 +00:00
parent ca0084ef9b
commit 2305364397
6 changed files with 30 additions and 14 deletions

View File

@@ -35,9 +35,9 @@ static void print_mem(void)
static void print_pci_regs_all(void)
{
struct device *dev;
unsigned char bus, device, function;
unsigned bus, device, function;
for(bus=0; bus<=256; bus++) {
for(bus=0; bus<256; bus++) {
for(device=0; device<=0x1f; device++) {
for (function=0; function<=7; function++){
unsigned devfn;