Re: [PATCH 2/2] Workaround for SB600 SATA ODD issue

From: Christoph Hellwig
Date: Sat Nov 04 2006 - 13:35:37 EST


On Sat, Nov 04, 2006 at 06:36:49PM +0100, Arjan van de Ven wrote:
> why put this into the ahci struct rather than in the pci device struct?
> In the place you use it you already have the pci device struct already..
> and it's really a pci device property so putting it in that struct makes
> a whole lot of sense conceptually anyway...

I think having a revision field in pci_dev that's initialized by the pci
code early on would be immensivly useful. For now it probably makes sense
to do in ahci what all other drivers do and read it on it's own.

Adding it to the pci core and switching all the drivers over would
be a separate project. Maybe we can sign AMD up for it as a general
kernel contribution thing? :)

-
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/