Bug 8118 - Wrong device identifiers returned in lspci for pccard with RL5c476 II (rev 80)
Summary: Wrong device identifiers returned in lspci for pccard with RL5c476 II (rev 80)
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: Drivers
Classification: Unclassified
Component: PCMCIA (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: linux-pcmcia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-03 08:17 UTC by Johan Bilien
Modified: 2008-09-24 06:56 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.20
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Johan Bilien 2007-03-03 08:17:20 UTC
Most recent kernel where this bug did *NOT* occur: none
Distribution: Debian unstable
Hardware Environment: EPIA MII 12000
Problem Description:

Several problems occur with the PCMCIA bridge on this board. I would first get the 
cs: pcmcia_socket0: unable to apply power.
message each time i would plug in a card. The message went away when adding the
override_bios=1 option to the yenta module.

Now however I am seeing an even stranger behavior. When I plug a PC-Card WLAN
adaptor, which is known to work on my laptop, the card reports a wrong value as
its device identifier:

0000:02:00.0 0080: 1814:0102
        Subsystem: 1186:3c08
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort-
<MAbort- >SERR- <PERR+
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at <ignored> (32-bit, non-prefetchable) [disabled]
        Capabilities: <available only to root>


The card's description as seen on my laptop is:
05:00.0 0280: 1814:0302
        Subsystem: 1186:3c08
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
        Latency: 64, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 169
        Region 0: Memory at aa000000 (32-bit, non-prefetchable) [size=32K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


Note the one bit difference in the device ID (0102 / 0302). The memory area
seems to be borked too.

I have tried adding pci=assign-busses but with no success.

The controller is the RL5c476 II (rev 80) which I have read has numerous problems.
0000:00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 80)
        Subsystem: VIA Technologies, Inc.: Unknown device aa01
        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: 168
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at de01b000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 10000000-13fff000 (prefetchable)
        Memory window 1: 14000000-17fff000
        I/O window 0: 00001000-000010ff
        I/O window 1: 00001400-000014ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
        16-bit legacy interface ports at 0001
Comment 1 Natalie Protasevich 2007-07-06 16:11:01 UTC
Johan,
Can you attach output for lcpci -vv and a boot trace to start with.
Thanks.
Comment 2 Natalie Protasevich 2007-07-09 10:49:53 UTC
Copying to Kristen, to help sort this out.

Note You need to log in before you can comment on or make changes to this bug.