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

Kai Germaschewski (kai-germaschewski@uiowa.edu)
Sun, 29 Sep 2002 13:20:44 -0500 (CDT)


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

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