Re: [PATCH] Make ide-cs work for hardware with 8-bit CF-Interface

2005-09-07 Thread Alan Cox
On Maw, 2005-09-06 at 18:47 +0200, Thomas Kleffel (LKML) wrote: > According to the specs, those registers should be there in every CF > card. I've tested this with a couple of CFs, including SanDisk, > Microdrive and several NoNames. ide-cs handles a lot more than just CF cards so it might not b

Re: [PATCH] Make ide-cs work for hardware with 8-bit CF-Interface

2005-09-06 Thread David Hinds
On Tue, Sep 06, 2005 at 06:47:08PM +0200, Thomas Kleffel (LKML) wrote: > > The following patch is against vanilla 2.6.13. > > ldiff -uprN a/drivers/ide/legacy/ide-cs.c b/drivers/ide/legacy/ide-cs.c > --- a/drivers/ide/legacy/ide-cs.c 2005-08-08 15:30:35.0 +0200 > +++ b/drivers/ide/l

[PATCH] Make ide-cs work for hardware with 8-bit CF-Interface

2005-09-06 Thread Thomas Kleffel (LKML)
Hello, it is technically possible to access a CF-Card with an 8-bit width bus. The problem with the current code is that the IDE code does a 16 (or 32) bit read on the IDE data register. If the bus interface for a 8-bit bus would then do two reads to offsets 0 and 1. The second read (to offs