Skip to contentSkip to conversation

net.1-sparc

PATCH In review Tomas Szepe 4 participants 4 messages Jan 2, 2003 – Jan 3, 2003

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 19/22 net.1-sparc

drivers/net/Kconfig +8 -8
diff -urN a/drivers/net/Kconfig b/drivers/net/Kconfig
@@ -384,7 +384,7 @@
 
 config NET_VENDOR_3COM
 	bool "3COM cards"
-	depends on NET_ETHERNET
+	depends on NET_ETHERNET && (ISA || EISA || MCA || PCI)
 	help
 	  If you have a network (Ethernet) card belonging to this class, say Y
 	  and read the Ethernet-HOWTO, available from
@@ -555,7 +555,7 @@
 
 config NET_VENDOR_SMC
 	bool "Western Digital/SMC cards"
-	depends on NET_ETHERNET
+	depends on NET_ETHERNET && (ISA || MCA || EISA)
 	help
 	  If you have a network (Ethernet) card belonging to this class, say Y
 	  and read the Ethernet-HOWTO, available from
@@ -648,7 +648,7 @@
 
 config NET_VENDOR_RACAL
 	bool "Racal-Interlan (Micom) NI cards"
-	depends on NET_ETHERNET
+	depends on NET_ETHERNET && ISA
 	help
 	  If you have a network (Ethernet) card belonging to this class, such
 	  as the NI5010, NI5210 or NI6210, say Y and read the Ethernet-HOWTO,
@@ -1459,7 +1459,7 @@
 
 config NET_POCKET
 	bool "Pocket and portable adapters"
-	depends on NET_ETHERNET
+	depends on NET_ETHERNET && ISA
 	---help---
 	  Cute little network (Ethernet) devices which attach to the parallel
 	  port ("pocket adapters"), commonly used with laptops. If you have
@@ -1777,7 +1777,7 @@
 
 config FDDI
 	bool "FDDI driver support"
-	depends on NETDEVICES
+	depends on NETDEVICES && (PCI || EISA)
 	help
 	  Fiber Distributed Data Interface is a high speed local area network
 	  design; essentially a replacement for high speed Ethernet. FDDI can
@@ -1828,7 +1828,7 @@
 
 config HIPPI
 	bool "HIPPI driver support (EXPERIMENTAL)"
-	depends on NETDEVICES && EXPERIMENTAL && INET
+	depends on NETDEVICES && EXPERIMENTAL && INET && PCI
 	help
 	  HIgh Performance Parallel Interface (HIPPI) is a 800Mbit/sec and
 	  1600Mbit/sec dual-simplex switched or point-to-point network. HIPPI
@@ -2181,7 +2181,7 @@
 
 config AIRONET4500
 	tristate "Aironet 4500/4800 series adapters"
-	depends on NET_RADIO
+	depends on NET_RADIO && (PCI || ISA || PCMCIA)
 	---help---
 	  www.aironet.com (recently bought by Cisco) makes these 802.11 DS
 	  adapters.  Driver by Elmer Joandi ([email protected]).
@@ -2286,7 +2286,7 @@
 
 config NET_FC
 	bool "Fibre Channel driver support"
-	depends on NETDEVICES
+	depends on NETDEVICES && SCSI && PCI
 	help
 	  Fibre Channel is a high speed serial protocol mainly used to connect
 	  large storage devices to the computer; it is compatible with and
drivers/net/arcnet/Kconfig +1 -1
diff -urN a/drivers/net/arcnet/Kconfig b/drivers/net/arcnet/Kconfig
@@ -3,7 +3,7 @@
 #
 
 menu "ARCnet devices"
-	depends on NETDEVICES
+	depends on NETDEVICES && (ISA || PCI)
 
 config ARCNET
 	tristate "ARCnet support"
drivers/net/tokenring/Kconfig +1 -1
diff -urN a/drivers/net/tokenring/Kconfig b/drivers/net/tokenring/Kconfig
@@ -91,7 +91,7 @@
 
 config TMS380TR
 	tristate "Generic TMS380 Token Ring ISA/PCI adapter support"
-	depends on TR
+	depends on TR && (PCI || ISA)
 	---help---
 	  This driver provides generic support for token ring adapters
 	  based on the Texas Instruments TMS380 series chipsets.  This
drivers/net/wireless/Kconfig +3 -3
diff -urN a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
@@ -2,12 +2,12 @@
 # Wireless LAN device configuration
 #
 comment "Wireless ISA/PCI cards support"
-	depends on NET_RADIO
+	depends on NET_RADIO && (ISA || PCI || ALL_PPC || PCMCIA)
 
 # Good old obsolete Wavelan.
 config WAVELAN
 	tristate "AT&T/Lucent old WaveLAN & DEC RoamAbout DS ISA support"
-	depends on NET_RADIO
+	depends on NET_RADIO && ISA
 	---help---
 	  The Lucent WaveLAN (formerly NCR and AT&T; or DEC RoamAbout DS) is
 	  a Radio LAN (wireless Ethernet-like Local Area Network) using the
@@ -54,7 +54,7 @@
 
 config HERMES
 	tristate "Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)"
-	depends on NET_RADIO
+	depends on NET_RADIO && (ALL_PPC || PCI || PCMCIA)
 	---help---
 	  A driver for 802.11b wireless cards based based on the "Hermes" or
 	  Intersil HFA384x (Prism 2) MAC controller.  This includes the vast
#1 lore raw

Just to jump in here, the drivers/net/ stuff looks good to me.

Glad someone jumped in and cleaned this up :)

#2 lore raw
In reply to Tomas Szepe

drivers/net/Kconfig line 390

Quoted 12 lines · Tomas Szepe

diff -urN a/drivers/net/Kconfig b/drivers/net/Kconfig

drivers/net/Kconfig +1 -1
@@ -384,7 +384,7 @@
 
 config NET_VENDOR_3COM
 	bool "3COM cards"
-	depends on NET_ETHERNET
+	depends on NET_ETHERNET && (ISA || EISA || MCA || PCI)
 	help
 	  If you have a network (Ethernet) card belonging to this class, say Y
 	  and read the Ethernet-HOWTO, available from

... and a lot more.

There are some bus dependencies for network drivers that you omitted, either on purpose or by accident. The patch below adds these dependencies, which is required for compiling with allyesconfig on s390 and perhaps other architectures.
The dependencies are taken either from reading the source of searching the web, so there is a chance that there are mistakes.

	Arnd <><

===== drivers/net/Kconfig 1.8 vs edited =====

drivers/net/Kconfig +1 -1
@@ -2364,7 +2364,7 @@
 
 config ARLAN
 	tristate "Aironet Arlan 655 & IC2200 DS support"
-	depends on NET_RADIO
+	depends on NET_RADIO && ISA
 	---help---
 	  Aironet makes Arlan, a class of wireless LAN adapters. These use the
 	  www.Telxon.com chip, which is also used on several similar cards.

===== drivers/net/wan/Kconfig 1.1 vs edited =====

drivers/net/wan/Kconfig +10 -10
@@ -62,7 +62,7 @@
 #
 config COMX
 	tristate "MultiGate (COMX) synchronous serial boards support"
-	depends on WAN
+	depends on WAN && (ISA || PCI)
 	---help---
 	  Say Y if you want to use any board from the MultiGate (COMX) family.
 	  These boards are synchronous serial adapters for the PC,
@@ -176,7 +176,7 @@
 #
 config DSCC4
 	tristate "Etinc PCISYNC serial board support"
-	depends on WAN && m
+	depends on WAN && PCI && m
 	help
 	  This is a driver for Etinc PCISYNC boards based on the Infineon
 	  (ex. Siemens) DSCC4 chipset. It is supposed to work with the four
@@ -193,7 +193,7 @@
 #
 config LANMEDIA
 	tristate "LanMedia Corp. SSI/V.35, T1/E1, HSSI, T3 boards"
-	depends on WAN
+	depends on WAN && PCI
 	---help---
 	  This is a driver for the following Lan Media family of serial
 	  boards.
@@ -222,7 +222,7 @@
 # There is no way to detect a Sealevel board. Force it modular
 config SEALEVEL_4021
 	tristate "Sealevel Systems 4021 support"
-	depends on WAN && m
+	depends on WAN && ISA && m
 	help
 	  This is a driver for the Sealevel Systems ACB 56 serial I/O adapter.
 
@@ -336,7 +336,7 @@
 
 config N2
 	tristate "SDL RISCom/N2 support"
-	depends on HDLC
+	depends on HDLC && ISA
 	help
 	  This driver is for RISCom/N2 single or dual channel ISA cards
 	  made by SDL Communications Inc.  If you have such a card,
@@ -348,7 +348,7 @@
 
 config C101
 	tristate "Moxa C101 support"
-	depends on HDLC
+	depends on HDLC && ISA
 	help
 	  This driver is for C101 SuperSync ISA cards made by Moxa
 	  Technologies Co., Ltd. If you have such a card,
@@ -358,7 +358,7 @@
 
 config FARSYNC
 	tristate "FarSync T-Series support"
-	depends on HDLC
+	depends on HDLC && PCI
 	---help---
 	  This driver supports the FarSync T-Series X.21 (and V.35/V.24) cards
 	  from FarSite Communications Ltd.
@@ -432,7 +432,7 @@
 
 config SDLA
 	tristate "SDLA (Sangoma S502/S508) support"
-	depends on DLCI
+	depends on DLCI && ISA
 	help
 	  Say Y here if you need a driver for the Sangoma S502A, S502E, and
 	  S508 Frame Relay Access Devices. These are multi-protocol cards, but
@@ -465,7 +465,7 @@
 
 config VENDOR_SANGOMA
 	tristate "Sangoma WANPIPE(tm) multiprotocol cards"
-	depends on WAN_ROUTER_DRIVERS && WAN_ROUTER
+	depends on WAN_ROUTER_DRIVERS && WAN_ROUTER && (PCI || ISA)
 	---help---
 	  WANPIPE from Sangoma Technologies Inc. (<http://www.sangoma.com/>)
 	  is a family of intelligent multiprotocol WAN adapters with data
@@ -559,7 +559,7 @@
 
 config CYCLADES_SYNC
 	tristate "Cyclom 2X(tm) cards (EXPERIMENTAL)"
-	depends on WAN_ROUTER_DRIVERS
+	depends on WAN_ROUTER_DRIVERS && (PCI || ISA)
 	---help---
 	  Cyclom 2X from Cyclades Corporation (<http://www.cyclades.com/> and
#3 lore raw
Quoted 14 lines

drivers/net/Kconfig line 390

Quoted 12 lines

diff -urN a/drivers/net/Kconfig b/drivers/net/Kconfig

drivers/net/Kconfig +1 -1
@@ -384,7 +384,7 @@
 
 config NET_VENDOR_3COM
 	bool "3COM cards"
-	depends on NET_ETHERNET
+	depends on NET_ETHERNET && (ISA || EISA || MCA || PCI)
 	help
 	  If you have a network (Ethernet) card belonging to this class, say Y
 	  and read the Ethernet-HOWTO, available from

... and a lot more.

Quoted 6 lines

There are some bus dependencies for network drivers that you omitted, either on purpose or by accident. The patch below adds these dependencies, which is required for compiling with allyesconfig on s390 and perhaps other architectures.
The dependencies are taken either from reading the source of searching the web, so there is a chance that there are mistakes.

Splendid. Thanks a lot!

Signature · 1 line
Tomas Szepe <[email protected]>