[PATCH] drivers/net/appletalk/Config.in, kernel 2.4.19

Brian J. Murrell (8821dc6cca218ed182e7363b244e013d@interlinx.bc.ca)
Mon, 7 Oct 2002 21:26:27 -0400


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

Please find below a small patch that makes the two AppleTalk PC NICs
(LTPC and COPS) in the kernel configurable only if there is an [E]ISA
bus configured.

--- linux-2.4.19-16mdk/drivers/net/appletalk/Config.in 2002-08-02 20:39:44.=
000000000 -0400
+++ linux-2.4.19-16mdk-uml/drivers/net/appletalk/Config.in.new 2002-10-07 1=
3:19:14.000000000 -0400
@@ -6,8 +6,10 @@
comment 'Appletalk devices'
dep_mbool 'Appletalk interfaces support' CONFIG_DEV_APPLETALK $CONFIG_ATALK
if [ "$CONFIG_DEV_APPLETALK" =3D "y" ]; then
- tristate ' Apple/Farallon LocalTalk PC support' CONFIG_LTPC
- tristate ' COPS LocalTalk PC support' CONFIG_COPS
+ if [ "$CONFIG_ISA" =3D "y" -o "$CONFIG_EISA" =3D "y" ]; then
+ tristate ' Apple/Farallon LocalTalk PC support' CONFIG_LTPC
+ tristate ' COPS LocalTalk PC support' CONFIG_COPS
+ fi
if [ "$CONFIG_COPS" !=3D "n" ]; then
bool ' Dayna firmware support' CONFIG_COPS_DAYNA
bool ' Tangent firmware support' CONFIG_COPS_TANGENT

b.

--=20
Brian J. Murrell

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9ojRDl3EQlGLyuXARAkVcAKCSEKqrR27Y/rFtN1U0cmE3QFH3IACfWbd+
8keFLBPg7Nrj9uBX69JKLhI=
=P8Vo
-----END PGP SIGNATURE-----

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