lspci and ROM on bridge, was: [PATCH] add PCI ROMs to sysfs

From: Jon Smirl
Date: Wed Aug 04 2004 - 01:01:37 EST


lspci shows my AGP bridge

00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP Controller (rev
02) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fe900000-feafffff
Prefetchable memory behind bridge: f0000000-f7ffffff
Expansion ROM at 0000d000 [disabled] [size=4K]

It shows an expansion ROM at d000. d000 is a normal address for a ROM.
But d000 also shows as I/O behind bridge.

If I list sysfs resources, the ROM is in slot 7, not 6 which is normal
for a ROM. Is this really a ROM or a bug in lspci?

[jonsmirl@smirl 0000:00:01.0]$ cat resource
0 0x0000000000000000 0x0000000000000000 0x0000000000000000
1 0x0000000000000000 0x0000000000000000 0x0000000000000000
2 0x0000000000000000 0x0000000000000000 0x0000000000000000
3 0x0000000000000000 0x0000000000000000 0x0000000000000000
4 0x0000000000000000 0x0000000000000000 0x0000000000000000
5 0x0000000000000000 0x0000000000000000 0x0000000000000000
6 0x0000000000000000 0x0000000000000000 0x0000000000000000
7 0x000000000000d000 0x000000000000dfff 0x0000000000000100
8 0x00000000fe900000 0x00000000feafffff 0x0000000000000200
9 0x00000000f0000000 0x00000000f7ffffff 0x0000000000001200
10 0x0000000000000000 0x0000000000000000 0x0000000000000000
11 0x0000000000000000 0x0000000000000000 0x0000000000000000
[jonsmirl@smirl 0000:00:01.0]$



=====
Jon Smirl
jonsmirl@xxxxxxxxx



__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/