kushalkoolwal |
07-05-2006 04:06 PM |
Understanding the output of lspci
Hi,
Can anyone help me to understand the output of the lspci command specificially with respect to the IDE controller information. I am trying to resolve a DMA related problem wtih my IDE controller and I need to find out about the status of a particular bit(enable/disable) in PCI configuration space for my IDE controller device. From the man pages of lspci
Code:
-xxx
Show hexadecimal dump of the whole PCI configuration space. It is available only to root as several PCI devices crash when you try to read some parts of the config space (this behavior probably doesn't violate the PCI standard, but it's at least very stupid). However, such devices are rare, so you needn't worry much.
And here is the output of my lspci command for my IDE controller
Code:
0000:00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corporation 82801DB (ICH4) IDE Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at <ignored>
Region 1: I/O ports at <ignored>
Region 2: I/O ports at <ignored>
Region 3: I/O ports at <ignored>
Region 4: I/O ports at dc00 [size=16]
Region 5: Memory at 40000000 (32-bit, non-prefetchable) [size=1K]
00: 86 80 cb 24 07 00 80 02 02 8a 01 01 00 00 00 00
10: 01 ec 00 00 01 e8 00 00 01 e4 00 00 01 e0 00 00
20: 01 dc 00 00 00 00 00 40 00 00 00 00 86 80 cb 24
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00
40: 07 a3 00 80 00 00 00 00 01 00 01 00 00 00 00 00
50: 00 00 00 00 11 14 00 00 00 00 00 00 00 00 00 00
60: 08 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 60 0f 00 00 00 00 00 00
Now what I am trying to find out is whether the IDE(dma) port(bit) is enabled or not in the PCI configuration space of the device and the above output is the hexadecimal dump of the PCI configuration space. How can I find out about that bit?
Thanks in advance. Any help will be highly appreciated.
|