Re: ExpressCard compact flash card very slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 23, 2011 at 9:54 AM, Damon Lynch <damonlynch@xxxxxxxxx> wrote:
> On 02/23/2011 08:41 AM, Robert Hancock wrote:
>>
>> On Wed, Feb 23, 2011 at 2:24 AM, Damon Lynch<damonlynch@xxxxxxxxx>  wrote:
>>>
>>> What next? Can the CF reader be whitelisted by libata?
>>
>> The CF reader portion itself likely isn't identifiable (it's probably
>> mostly just passive circuitry). The PATA adapter portion might be
>> identifiable, unless it just has a totally generic JMicron device ID..
>> What does lspci -vvnn show for it?
>>
>
> 05:00.0 IDE interface [0101]: JMicron Technology Corp. JMB368 IDE controller
> [197b:2368] (prog-if 85 [Master SecO PriO])
>    Subsystem: JMicron Technology Corp. JMB368 IDE controller [197b:2368]

Yeah, it looks like it just has a generic subsystem/subvendor ID so we
can't tell this thing apart from any other JMicron JMB368 PATA
controller. Not sure there is anything we can do here to detect this
case automatically.

Though, I suppose one other thing we could do is just ignore cable
detection results for CompactFlash devices - it seems like many CF
adapters get this wrong. If the user really connected a fast CF card
with a 40-wire cable, the error handling would probably do the right
thing and lower the transfer mode if errors occurred.

>    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, Cache Line Size: 64 bytes
>    Interrupt: pin A routed to IRQ 19
>    Region 0: I/O ports at 4020 [size=8]
>    Region 1: I/O ports at 4014 [size=4]
>    Region 2: I/O ports at 4018 [size=8]
>    Region 3: I/O ports at 4010 [size=4]
>    Region 4: I/O ports at 4000 [size=16]
>    [virtual] Expansion ROM at f2900000 [disabled] [size=64K]
>    Capabilities: [68] Power Management version 2
>        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
>    Capabilities: [50] Express (v1) Legacy Endpoint, MSI 01
>        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1
> <1us
>            ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
>        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
>            RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
>            MaxPayload 128 bytes, MaxReadReq 512 bytes
>        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq+ AuxPwr-
> TransPend-
>        LnkCap:    Port #1, Speed 2.5GT/s, Width x1, ASPM L0s, Latency L0
> <1us, L1 <16us
>            ClockPM- Surprise- LLActRep- BwNot-
>        LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
>            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
>        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive-
> BWMgmt- ABWMgmt-
>    Capabilities: [70] MSI: Enable- Count=1/1 Maskable- 64bit-
>        Address: 00000000  Data: 0000
>    Kernel driver in use: pata_jmicron
>    Kernel modules: pata_jmicron
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux