Kingston 4GB compact flash erroneously thought to have 'hdf' available

Dominik Brodowski linux at dominikbrodowski.net
Fri Nov 3 11:19:28 EST 2006


Hi,

On Sat, Jul 22, 2006 at 01:43:21PM +1000, David Pat Shui Fong wrote:
> Dear PCMCIA list,
> 
> Finally found the solution to the problem I reported below...
> 
> Fixing the problem involves changing drivers/ide/ide-probe.c, by nullifying a 'fix'
> for old Seagate drives.
> 
> I changed (in kernel 2.6.18-rc2, but the same code exists in 2.6.17 and I think 2.6.16)...
> 
>     if ((a ^ s) & ~INDEX_STAT) {
>      printk(KERN_INFO "%s: probing with STATUS(0x%02x) instead of "
>       "ALTSTATUS(0x%02x)\n", drive->name, s, a);
>       /* ancient Seagate drives, broken interfaces */
>      hd_status = IDE_STATUS_REG;
>     } else {
>      /* use non-intrusive polling */
>      hd_status = IDE_ALTSTATUS_REG;
>     } 
> 
> to...
> 
>     if ((a ^ s) & ~INDEX_STAT) {
>      printk(KERN_INFO "%s: was going to probe with STATUS(0x%02x) instead of "
>       "ALTSTATUS(0x%02x) - use non-intrusive polling instead\n", drive->name, s, a);
>       /* was to handle ancient Seagate drives, broken interfaces. */
>       /* seems to break Muramasa and Kingston 4GB CF, so next line changed */
>      hd_status = IDE_ALTSTATUS_REG; /* was IDE_STATUS_REG */
>     } else {
>      /* use non-intrusive polling */
>      hd_status = IDE_ALTSTATUS_REG;
>     }
> 
> Now, to whom do I report to get this problem fixed?

Does it work with the new pata_pcmcia, by chance?

Thanks,
	Dominik



More information about the linux-pcmcia mailing list