On Mon, Sep 15, 2014 at 11:15:48AM +0200, Mark Kettenis wrote:
Date: Mon, 15 Sep 2014 09:37:56 +0200
From: Thierry Deval <[email protected]>
On Mon, Sep 15, 2014 at 12:25:19AM +0200, Mark Kettenis wrote:
>> Date: Sun, 14 Sep 2014 23:57:09 +0200
>> From: Thierry Deval <[email protected]>
>>
>> Hi,
>>
>> When I put a CF to PCCard adapter (not CardBus) in my laptop to work on a CF
>> boot image, I was surprised by this kernel message :
>>
>> ** wdc2 at pcmcia0 function 0 "SanDisk, SDP, 5/3 0.6": can't handle card info
>>
>> .....
>
>Can you send pcidump -vxxx output for that machine?
Sure Mark, here it is.
Thanks. So your PCI bridge properly advertises itself as subtractive
decode. Can you try the diff below?
Thanks,
Mark
<diff snipped>
Thanks Mark, the patch works like a charm.
As expected:
** ppb2 at pci0 dev 20 function 4 "ATI SB400 PCI" rev 0x00
** pci3 at ppb2 bus 6
** cbb0 at pci3 dev 9 function 0 "TI PCI7XX1 CardBus" rev 0x00: apic 1 int 23
** cardslot0 at cbb0 slot 0 flags 0
** cardbus0 at cardslot0: bus 7 device 0 cacheline 0x8, lattimer 0x20
** pcmcia0 at cardslot0
** wdc2 at pcmcia0 function 0 "SanDisk, SDP, 5/3 0.6" port 0xa000/16
** wd1 at wdc2 channel 0 drive 0: <SanDisk SDCFB-64>
** wd1: 1-sector PIO, LBA, 61MB, 125440 sectors
** wd1(wdc2:0:0): using BIOS timings
** wd1 detached
** wdc2 detached
I'm all for it !
Thanks,
Thierry