Re: [PATCH: NEW SUBARCHITECTURE FOR 2.5.21] support for NCR voyager (3/4/5xxx series)

Andrey Panin (pazke@orbita1.ru)
Thu, 13 Jun 2002 12:20:53 +0400


--xgyAXRrhYN0wYx8y
Content-Type: multipart/mixed; boundary="7AUc2qLy4jB3hD7Z"
Content-Disposition: inline

--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Attached patch is needed to compile kernel with Voyager patch applied
for the SMP PC machine.

Also some questions, mostly related to arch-split patch:

[Q1] Will it be better to create separate directory for PC architecture
and split some PC'isms from arch/i386/generic ? Right now it contains
acpi.c, bootflag.c and dmi_scan.c which are not generic in any way :)

[Q2] May be directory naming like mach-visws, mach-voyager and possible=20
mach-pc will be more convinent ?

--=20
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.net
--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-voyager
Content-Transfer-Encoding: quoted-printable

diff -urN -X /usr/share/dontdiff linux.vanilla/arch/i386/config.in linux/ar=
ch/i386/config.in
--- linux.vanilla/arch/i386/config.in Thu Jun 13 00:30:57 2002
+++ linux/arch/i386/config.in Wed Jun 12 20:25:15 2002
@@ -425,11 +425,6 @@
fi
fi
=20
-if [ "$CONFIG_X86_LOCAL_APIC" =3D "y" ]; then
- define_bool CONFIG_X86_EXTRA_IRQS y
- define_bool CONFIG_X86_FIND_SMP_CONFIG y
-fi
-
endmenu
=20
source lib/Config.in
@@ -443,6 +438,13 @@
if [ "$CONFIG_SMP" =3D "y" ]; then
define_bool CONFIG_X86_SMP y
define_bool CONFIG_X86_HT y
+ define_bool CONFIG_X86_IO_APIC y
+ define_bool CONFIG_X86_LOCAL_APIC y
fi
define_bool CONFIG_X86_BIOS_REBOOT y
+fi
+
+if [ "$CONFIG_X86_LOCAL_APIC" =3D "y" ]; then
+ define_bool CONFIG_X86_EXTRA_IRQS y
+ define_bool CONFIG_X86_FIND_SMP_CONFIG y
fi
diff -urN -X /usr/share/dontdiff linux.vanilla/arch/i386/generic/Makefile l=
inux/arch/i386/generic/Makefile
--- linux.vanilla/arch/i386/generic/Makefile Thu Jun 13 00:30:50 2002
+++ linux/arch/i386/generic/Makefile Thu Jun 13 00:38:25 2002
@@ -18,7 +18,6 @@
=20
obj-y :=3D setup.o
=20
-obj-$(CONFIG_PCI) +=3D pci-pc.o pci-irq.o
obj-$(CONFIG_X86_LOCAL_APIC) +=3D mpparse.o
=20
include $(TOPDIR)/Rules.make

--7AUc2qLy4jB3hD7Z--

--xgyAXRrhYN0wYx8y
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9CFXlBm4rlNOo3YgRAtbZAJ90cPsfWZkqYkXeyR9/ARkdGEjJnQCbBWcn
HtiJiLOllecys8U8br7tPIY=
=vvWC
-----END PGP SIGNATURE-----

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