Re: [PATCH] pata_hpt3x3: Major reworking and testing

From: Bartlomiej Zolnierkiewicz
Date: Tue Jul 03 2007 - 16:27:30 EST


On Tuesday 03 July 2007, Alan Cox wrote:
> > The new improved driver is not really better than the old one because
> > the old one is broken. :)
> >
> > Old driver does identical configuration when it comes to PIO modes.
>
> No the old driver doesn't even do that. It starts up. It spuriously
> adjusts some non writable PCI BAR registers, prints a message about
> resources being in use already then exits.

OK, thanks for clarifying this.

> I had a poke around the setup. As far as I can observe we break even if
> the ROM timing values are used as is. I suspect documentation or a good
> deal of luck is needed.

Yeah.

BTW the original Andre's driver had some references to misc configuration
registers at offsets 0x10 and 0x11 of PCI BAR4.

http://www.linuxhq.com/kernel/v2.3/10/drivers/block/hpt343.c

Does anybody have DOS driver for HPT343? Google doesn't have it...

Thanks,
Bart
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/