On Fri, 2008-08-29 at 15:01 -0400, Andy Walls wrote:
> Hi all,
> 
> I have a question.
> 
> For users of HVR-1600 and other CX23418 based cards that basically work:
> is your card behind a PCI-PCI bridge chip that is set for "subtractive
> decode"?
Hope this is what you are after:

# lspci -tvv
-[0000:00]-+-00.0  nVidia Corporation nForce3 250Gb Host Bridge
           +-01.0  nVidia Corporation nForce3 250Gb LPC Bridge
           +-01.1  nVidia Corporation nForce 250Gb PCI System Management
           +-02.0  nVidia Corporation CK8S USB Controller
           +-02.1  nVidia Corporation CK8S USB Controller
           +-02.2  nVidia Corporation nForce3 EHCI USB 2.0 Controller
           +-05.0  nVidia Corporation CK8S Ethernet Controller
           +-06.0  nVidia Corporation nForce3 250Gb AC'97 Audio Controller
           +-08.0  nVidia Corporation CK8S Parallel ATA Controller (v2.5)
           +-0a.0  nVidia Corporation CK8S Serial ATA Controller (v2.5)
           +-0b.0-[0000:01]----00.0  nVidia Corporation G70 [GeForce 7800 GS]
           +-0e.0-[0000:02]--+-07.0  Internext Compression Inc iTVC16 (CX23416) 
MPEG-2 Encoder
           |                 +-08.0  Creative Labs SB Live! EMU10k1
           |                 +-08.1  Creative Labs SB Live! Game Port
           |                 +-0a.0  Conexant CX23418 Single-Chip MPEG-2 
Encoder with Integrated Analog Video/Broadcast Audio Decoder
           |                 +-0b.0  Marvell Technology Group Ltd. 88E8001 
Gigabit Ethernet Controller
           |                 +-0d.0  Silicon Image, Inc. SiI 3512 
[SATALink/SATARaid] Serial ATA Controller
           |                 \-0e.0  Texas Instruments TSB82AA2 IEEE-1394b Link 
Layer Controller
           +-18.0  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
HyperTransport Technology Configuration
           +-18.1  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address 
Map
           +-18.2  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM 
Controller
           \-18.3  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Miscellaneous Control


# lspci -s 0:0e.0 -vv -x
00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2) 
(prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=128
        I/O behind bridge: 00009000-0000afff
        Memory behind bridge: d8000000-dfffffff
        Prefetchable memory behind bridge: e0000000-e3ffffff
        Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort+ <SERR- <PERR+
        BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Kernel modules: shpchp
00: de 10 ed 00 07 01 a0 00 a2 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 02 02 80 90 a0 80 a2
20: 00 d8 f0 df 00 e0 f0 e3 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00



> 
> For users of HVR-1600 and other CX23418 based cards that basically don't
> work: Is your card behind a not behind a PCI-PCI bridge chip that is set
> for "subtractive decode" (i.e. directly behind a host bridge, or behind
> a PCI-PCI bridge set for positive decode)?
> 
> 
> Here's an example, run as root, showing how to see if you have the
> CX23418 behind a PCI-PCI bridge set for subtractive decode:
> 
> # lspci -tvv
> -[0000:00]-+-00.0  ATI Technologies Inc Unknown device 7911
>            +-01.0-[0000:01]----05.0  ATI Technologies Inc Radeon 2100
>            [...]
>            +-14.4-[0000:03]--+-02.0  Internext Compression Inc iTVC16 
> (CX23416) MPEG-2 Encoder
>            |                 \-03.0  Conexant CX23418 Single-Chip MPEG-2 
> Encoder with Integrated Analog Video/Broadcast Audio Decoder
>            [...]
> 
> >From the tree view above, we see the CX23418 is behind the bridge at
> 00:14.4.
> 
> # lspci -s 0:14.4 -vv -x
> 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (prog-if 01 
> [Subtractive decode])
>                                                                           
> ^^^^^^^^^^^^^^^^^^^^^^^    
> [...]
> 00: 02 10 84 43 07 01 a0 02 00 01 04 06 00 40 81 00
>                                ^^^^^^^^
>                                ||  
> Subtractive Decode PCI-PCI ----++
> [...]
> 
> Here we see in the first text line for the bridge, lspci has shown us
> its a PCI-PCI bridge in subtractive decode.  This could also be read off
> of bytes 09x-0xb of the configuration space.  The byte at 0x9 being 1
> indicate subtractive decode vs positive decode.
> 
> 
> 
> Thanks in advance for your responses.
> 
> Regards,
> Andy
> 
> 
> 
> 
> 
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-devel


_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to