Subject: Re: Trimming down pciide.o
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 07/31/2002 12:57:42
On Wed, Jul 31, 2002 at 09:29:54PM +0200, Manuel Bouyer wrote:
> It's been some time that I noticed pciide.o is getting larger and
> larger. I'm planning splitting it up in different drivers (e.g.:
> piixide* at pci?
> viade* at pci?
> aceride* at pci?
> etc ...
> and a catch-all
> pciide* at pci?
I think:
piixide
amdide
viaide
cmdide
cyide (cypress/contaq)
siside
aceride
pdcide (promise)
hptide
acardide
wbide (symphony/winbond)
They would carry the "pci_ide" attribute, to get the common code. Their
match routines would return e.g. 10 to indicate a high-priority match.
Then:
pciide
..which would carry the "pci_ide" attribute to get the common code,
and would contain no DMA support, and would return a match of 1.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>