Subject: Re: Trimming down pciide.o
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 07/31/2002 22:10:40
On Wed, Jul 31, 2002 at 12:57:42PM -0700, Jason R Thorpe wrote:
> 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.
Yes
>
> 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.
pciide should have basic DMA support (rely on how the BIOS set things
up), enabled with the 0x0001 flag, as it is now.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--