[PATCH] i386 arch subdivision into machine types for 2.5.8

James Bottomley (James.Bottomley@HansenPartnership.com)
Tue, 16 Apr 2002 10:55:48 -0500


This patch tries to split arch/i386 up into machine specific directories
(similar to the way arch/arm is done). The idea is to separate out those
machines which don't look like standard PCs (particularly from an SMP
standpoint). For the current kernel, all it really does is to get the visws
stuff into a separate directory (arch/i386/visws). I've also taken some files
which aren't going to be used by non-pc SMP machines (mainly related to mpbios
and ioapic) and placed them into arch/i386/generic.

The patch goes much further than visws needs, mainly because it now allows me
to add my voyager stuff in a separate arch/i386/voyager directory with
virtually no disturbance of the main line code. I'm afraid there are also
still four VISWS defines in arch/i386/kernel/smpboot.c because it wasn't
obvious to me how to get rid of them simply.

The 269k diff file (large because it has a lot of file moves) is at

http://www.hansenpartnership.com/voyager/files/arch-split-2.5.8.diff

There's also a bitkeeper repository with all this in at

http://linux-voyager.bkbits.net/arch-split-2.5

I haven't done anything about the other half of i386/arch reform which is
splitting the PC directory up into bus types, but I believe Patrick Mochel is
thinking about this.

Comments and suggestions welcome.

James Bottomley

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