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

From: Brian J. Murrell (8821dc6cca218ed182e7363b244e013d@interlinx.bc.ca)
Date: Mon Oct 07 2002 - 20:26:27 EST


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 13: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" = "y" ]; then
- tristate ' Apple/Farallon LocalTalk PC support' CONFIG_LTPC
- tristate ' COPS LocalTalk PC support' CONFIG_COPS
+ if [ "$CONFIG_ISA" = "y" -o "$CONFIG_EISA" = "y" ]; then
+ tristate ' Apple/Farallon LocalTalk PC support' CONFIG_LTPC
+ tristate ' COPS LocalTalk PC support' CONFIG_COPS
+ fi
    if [ "$CONFIG_COPS" != "n" ]; then
       bool ' Dayna firmware support' CONFIG_COPS_DAYNA
       bool ' Tangent firmware support' CONFIG_COPS_TANGENT

b.

-- 
Brian J. Murrell


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



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:01:02 EST