2003-01-02 21:32:45

by Tomas Szepe

[permalink] [raw]
Subject: [unify netdev config 19/22] net.1-sparc

diff -urN a/drivers/net/Kconfig b/drivers/net/Kconfig
--- a/drivers/net/Kconfig 2002-12-24 10:45:39.000000000 +0100
+++ b/drivers/net/Kconfig 2003-01-02 22:01:16.000000000 +0100
@@ -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---
http://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
diff -urN a/drivers/net/arcnet/Kconfig b/drivers/net/arcnet/Kconfig
--- a/drivers/net/arcnet/Kconfig 2002-10-31 02:33:49.000000000 +0100
+++ b/drivers/net/arcnet/Kconfig 2003-01-02 22:01:16.000000000 +0100
@@ -3,7 +3,7 @@
#

menu "ARCnet devices"
- depends on NETDEVICES
+ depends on NETDEVICES && (ISA || PCI)

config ARCNET
tristate "ARCnet support"
diff -urN a/drivers/net/tokenring/Kconfig b/drivers/net/tokenring/Kconfig
--- a/drivers/net/tokenring/Kconfig 2002-12-08 20:06:34.000000000 +0100
+++ b/drivers/net/tokenring/Kconfig 2003-01-02 22:01:16.000000000 +0100
@@ -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
diff -urN a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
--- a/drivers/net/wireless/Kconfig 2002-10-31 02:33:50.000000000 +0100
+++ b/drivers/net/wireless/Kconfig 2003-01-02 22:01:16.000000000 +0100
@@ -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


2003-01-02 22:03:26

by Jeff Garzik

[permalink] [raw]
Subject: Re: [unify netdev config 19/22] net.1-sparc

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

Glad someone jumped in and cleaned this up :)

2003-01-03 21:10:45

by Arnd Bergmann

[permalink] [raw]
Subject: Re: [unify netdev config 19/22] net.1-sparc

Tomas Szepe wrote:

> diff -urN a/drivers/net/Kconfig b/drivers/net/Kconfig
> --- a/drivers/net/Kconfig 2002-12-24 10:45:39.000000000 +0100
> +++ b/drivers/net/Kconfig 2003-01-02 22:01:16.000000000 +0100
> @@ -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 =====
--- 1.8/drivers/net/Kconfig Thu Jan 2 22:05:21 2003
+++ edited/drivers/net/Kconfig Fri Jan 3 17:48:11 2003
@@ -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
http://www.Telxon.com chip, which is also used on several similar cards.
===== drivers/net/wan/Kconfig 1.1 vs edited =====
--- 1.1/drivers/net/wan/Kconfig Wed Oct 30 02:16:55 2002
+++ edited/drivers/net/wan/Kconfig Fri Jan 3 18:25:47 2003
@@ -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

2003-01-03 23:30:08

by Tomas Szepe

[permalink] [raw]
Subject: Re: [unify netdev config 19/22] net.1-sparc

> > diff -urN a/drivers/net/Kconfig b/drivers/net/Kconfig
> > --- a/drivers/net/Kconfig 2002-12-24 10:45:39.000000000 +0100
> > +++ b/drivers/net/Kconfig 2003-01-02 22:01:16.000000000 +0100
> > @@ -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.

Splendid. Thanks a lot!

--
Tomas Szepe <[email protected]>