Re: [RFC][PATCH] x86 BIOS Enhanced Disk Device (EDD) polling

Kai Germaschewski
2002-09-29T18:15:25Z

On Sun, 29 Sep 2002, Dave Jones wrote:

> On Fri, Sep 27, 2002 at 04:30:29PM -0500, Matt Domsch wrote:
> > arch/i386/kernel/edd.c | 522 +++++++++++++++++++++++++++++++++++++++
> > arch/i386/kernel/i386_ksyms.c | 6
> > arch/i386/kernel/setup.c | 20 +
>
> Something that's been bothering me for a while, has been the
> proliferation of 'driver' type things appearing in arch/i386/kernel/
> My initial thought was to move the various CPU related 'drivers'
> (msr,cpuid,bluesmoke,microcode) to arch/i386/cpu/ [1]
> but I'm now wondering if an arch/i386/driver/ would be a better alternative.

Let me add that there are currently two places where arch specific drivers
appear, eg:

arch/{cris,um}/drivers/
and
drivers/{s390,macintosh,acorn}/

I think it'd be nice to decide on one way or the other. The first place
has the advantage of putting all arch-specific stuff into one place, the
second one makes it (IMO) cleaner to share drivers between e.g. s390 and
s390x, or possibly i386/x86_64 in the future.

--Kai