lkml.org 
[lkml]   [2000]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: drivers/net/Config.in cleanup
Hi Tim.

> As well, I wasn't aware that you could not define the same
> CONFIG_ option twice. I have now been told as much. :)
>
> Since the (suggested) problem has to do with CONFIG_PCI,
> those cards which explicitly require PCI can have

> if [ "$CONFIG_PCI" = "y" ]; then

> wrapped around them, and the others can be left as is.

> I sent another mail to that effect on the list early this
> afternoon.

I have to admit that I'd like to see this particular config
section really cleaned up, as the current collection of options
presented is far too confusing for what is really a fairly simple
configuration criteria.

My rewrite is enclosed - I tried diff'ing it, but the result is
nearly 2.5 times the size of the raw file, hence my enclosing the
raw file as proposed...

One thing though: It used to be the case that xconfig could only
handle test of the "$var" = "x" variety, and also could only
handle one variable per condition. Unless this has changed, most
of the tests in the current version of this file are broken. I've
rewritten all the tests in the format xconfig is known to be able
to handle in this version, although in a few cases, this has
increased the number of levels of if statements...

Best wishes from Riley.

* Copyright (C) 2000, Memory Alpha Systems.
* All rights and wrongs reserved.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* http://www.memalpha.cx/Linux/Kernel/
# Network device configuration
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~


mainmenu_option next_comment
comment 'ARCnet drivers'
source drivers/net/arcnet/Config.in
endmenu


mainmenu_option next_comment
comment 'AppleTalk drivers'
source drivers/net/appletalk/Config.in
endmenu


mainmenu_option next_comment
comment 'Combination drivers'
tristate 'Bonding driver support' CONFIG_BONDING
tristate 'Dummy net driver support' CONFIG_DUMMY
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
if [ "$CONFIG_NETLINK" = "y" ]; then
tristate 'Ethertap network tap (EXPERIMENTAL)' CONFIG_ETHERTAP
fi
tristate 'Traffic Shaper (EXPERIMENTAL)' CONFIG_SHAPER
fi
endmenu


mainmenu_option next_comment
comment 'Cable modems'
tristate 'General Instruments Surfboard 1000' CONFIG_NET_SB1000
endmenu


mainmenu_option next_comment
comment 'Ethernet (All speeds)'
bool 'Ethernet (10 or 100Mbit)' CONFIG_NET_ETHERNET
if [ "$CONFIG_NET_ETHERNET" = "y" ]; then


mainmenu_option next_comment
comment 'Architecture-specific drivers'
comment 'This section may be empty, so this comment'
comment 'is necessary. If empty, ignore this section.'
if [ "$CONFIG_ARM" = "y" ]; then
if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
source drivers/acorn/net/Config.in
else
tristate ' AM79C961A support' CONFIG_ARM_AM79C961A
fi
fi
if [ "$CONFIG_PPC" = "y" ]; then
tristate ' BMAC (G3 ethernet) support' CONFIG_BMAC
tristate ' GMAC (G4/iBook ethernet) support' CONFIG_GMAC
tristate ' MACE (PowerMac ethernet) support' CONFIG_MACE
tristate ' National DP83902AV (Oak ethernet) support' CONFIG_OAKNET
tristate ' Symbios 53c885 (Synergy ethernet) support' CONFIG_NCR885E
fi
if [ "$CONFIG_ZORRO" = "y" ]; then
tristate ' Ariadne support' CONFIG_ARIADNE
tristate ' Ariadne II support' CONFIG_ARIADNE2
tristate ' A2065 support' CONFIG_A2065
tristate ' Hydra support' CONFIG_HYDRA
fi
if [ "$CONFIG_MIPS_JAZZ" = "y" ]; then
tristate ' MIPS JAZZ onboard SONIC Ethernet support' CONFIG_MIPS_JAZZ_SONIC
fi
if [ "$CONFIG_SGI_IP27" = "y" ]; then
bool ' SGI IOC3 Ethernet' CONFIG_SGI_IOC3_ETH
fi
endmenu


mainmenu_option next_comment
comment 'Generic ISA bus drivers'
bool '3COM cards' CONFIG_NET_VENDOR_3COM
if [ "$CONFIG_NET_VENDOR_3COM" = "y" ]; then
tristate ' 3c501 support' CONFIG_EL1
tristate ' 3c503 support' CONFIG_EL2
tristate ' 3c505 support' CONFIG_ELPLUS
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
tristate ' 3c507 support (EXPERIMENTAL)' CONFIG_EL16
fi
tristate ' 3c509/3c529 (MCA)/3c579 support' CONFIG_EL3
tristate ' 3c515 ISA Fast EtherLink' CONFIG_3C515
tristate ' 3c590/3c900 series (592/595/597) "Vortex/Boomerang" support' CONFIG_VORTEX
fi
tristate 'AMD LANCE and PCnet (AT1500 and NE2100) support' CONFIG_LANCE
bool ' Racal-Interlan (Micom) NI cards' CONFIG_NET_VENDOR_RACAL
if [ "$CONFIG_NET_VENDOR_RACAL" = "y" ]; then
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
tristate ' NI5010 support (EXPERIMENTAL)' CONFIG_NI5010
fi
tristate ' NI5210 support' CONFIG_NI52
tristate ' NI6510 support' CONFIG_NI65
fi
bool 'Western Digital/SMC cards' CONFIG_NET_VENDOR_SMC
if [ "$CONFIG_NET_VENDOR_SMC" = "y" ]; then
tristate ' WD80*3 support' CONFIG_WD80x3
if [ "$CONFIG_MCA" = "y" ]; then
tristate ' SMC Ultra MCA support' CONFIG_ULTRAMCA
fi
tristate ' SMC Ultra support' CONFIG_ULTRA
tristate ' SMC Ultra32 EISA support' CONFIG_ULTRA32
if [ "$CONFIG_OBSOLETE" = "y" ]; then
tristate ' SMC 9194 support' CONFIG_SMC9194
fi
fi
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
tristate 'AT1700/1720 support (EXPERIMENTAL)' CONFIG_AT1700
fi
tristate 'DEPCA, DE10x, DE200, DE201, DE202, DE422 support' CONFIG_DEPCA
bool 'Other ISA cards' CONFIG_NET_ISA
if [ "$CONFIG_NET_ISA" = "y" ]; then
tristate ' Cabletron E21xx support' CONFIG_E2100
if [ "$CONFIG_OBSOLETE" = "y" ]; then
tristate ' EtherWORKS 3 (DE203, DE204, DE205) support' CONFIG_EWRK3
fi
tristate ' EtherExpress 16 support' CONFIG_EEXPRESS
tristate ' EtherExpressPro support' CONFIG_EEXPRESS_PRO
if [ "$CONFIG_OBSOLETE" = "y" ]; then
tristate ' FMV-181/182/183/184 support' CONFIG_FMV18X
fi
tristate ' HP PCLAN+ (27247B and 27252A) support' CONFIG_HPLAN_PLUS
tristate ' HP PCLAN (27245 and other 27xxx series) support' CONFIG_HPLAN
tristate ' HP 10/100VG PCLAN (ISA, EISA, PCI) support' CONFIG_HP100
if [ "$CONFIG_OBSOLETE" = "y" ]; then
tristate ' ICL EtherTeam 16i/32 support' CONFIG_ETH16I
fi
tristate ' NE2000/NE1000 support' CONFIG_NE2000
if [ "$CONFIG_OBSOLETE" = "y" ]; then
tristate ' SEEQ8005 support (EXPERIMENTAL)' CONFIG_SEEQ8005
fi
bool ' SK_G16 support' CONFIG_SK_G16
fi
endmenu


mainmenu_option next_comment
comment 'EISA, VLB, PCI and on-board controllers'
bool ' EISA, VLB, PCI and on-board controllers' CONFIG_NET_PCI
if [ "$CONFIG_NET_PCI" = "y" ]; then
tristate ' AMD PCnet32 (VLB and PCI) support' CONFIG_PCNET32
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
tristate ' Adaptec Starfire support (EXPERIMENTAL)' CONFIG_ADAPTEC_STARFIRE
fi
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
tristate ' Ansel Communications EISA 3200 support (EXPERIMENTAL)' CONFIG_AC3200
fi
tristate ' Apricot Xen-II on board Ethernet' CONFIG_APRICOT
tristate ' CS89x0 support' CONFIG_CS89x0
tristate ' Generic DECchip & DIGITAL EtherWORKS PCI/EISA' CONFIG_DE4X5
tristate ' DECchip Tulip (dc21x4x) PCI support' CONFIG_TULIP
tristate ' Digi Intl. RightSwitch SE-X support' CONFIG_DGRS
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
tristate ' DM9102 PCI Fast Ethernet Adapter support (EXPERIMENTAL)' CONFIG_DM9102
fi
tristate ' EtherExpressPro/100 support' CONFIG_EEPRO100
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
if [ "$CONFIG_EEPRO100" = "y" -o "$CONFIG_EEPRO100" = "m" ]; then
bool ' Enable Power Management (EXPERIMENTAL)' CONFIG_EEPRO100_PM
fi
tristate ' Mylex EISA LNE390A/B support (EXPERIMENTAL)' CONFIG_LNE390
tristate ' Novell/Eagle/Microdyne NE3210 EISA support (EXPERIMENTAL)' CONFIG_NE3210
fi
tristate ' PCI NE2000 support' CONFIG_NE2K_PCI
# tristate ' Sundance Alta support' CONFIG_ALTA
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
tristate ' RealTek 8129 (not 8019/8029!) support (EXPERIMENTAL)' CONFIG_RTL8129
fi
tristate ' RealTek RTL-8139 PCI Fast Ethernet Adapter support' CONFIG_8139TOO
tristate ' SiS 900/7016 PCI Fast Ethernet Adapter support' CONFIG_SIS900
tristate ' TI ThunderLAN support' CONFIG_TLAN
tristate ' VIA Rhine support' CONFIG_VIA_RHINE
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
tristate ' Racal-Interlan EISA ES3210 support (EXPERIMENTAL)' CONFIG_ES3210
tristate ' SMC EtherPower II (EXPERIMENTAL)' CONFIG_EPIC100
fi
if [ "$CONFIG_OBSOLETE" = "y" ]; then
bool ' Zenith Z-Note support (EXPERIMENTAL)' CONFIG_ZNET
fi
fi
endmenu


if [ "$CONFIG_MCA" = "y" ]; then
mainmenu_option next_comment
comment 'MicroChannel Architecture (MCA) drivers'
tristate ' 3Com 3c523 support' CONFIG_ELMC
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
tristate ' 3Com 3c527 support (EXPERIMENTAL)' CONFIG_ELMC_II
fi
tristate ' NE/2 (NE2000 MCA version) support' CONFIG_NE2_MCA
tristate ' SKnet MCA support' CONFIG_SKMC
endmenu
fi


mainmenu_option next_comment
comment 'Pocket and portable adapters'
bool ' Pocket and portable adapters' CONFIG_NET_POCKET
if [ "$CONFIG_NET_POCKET" = "y" ]; then
tristate ' AT-LAN-TEC/RealTek pocket adapter support' CONFIG_ATP
tristate ' D-Link DE600 pocket adapter support' CONFIG_DE600
tristate ' D-Link DE620 pocket adapter support' CONFIG_DE620
fi
endmenu
fi


bool 'Ethernet (Gigabit)' CONFIG_NET_ETHERNET_GIGABIT
if [ "$CONFIG_NET_ETHERNET_GIGABIT" = "y" ]; then
tristate 'Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support' CONFIG_ACENIC
if [ "$CONFIG_ACENIC" = "m" -o "$CONFIG_ACENIC" = "y" ]; then
bool ' Omit support for old Tigon I based AceNICs' CONFIG_ACENIC_OMIT_TIGON_I
fi
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
# tristate 'Packet Engines Hamachi GNIC-II support (EXPERIMENTAL)' CONFIG_HAMACHI
tristate 'Packet Engines Yellowfin Gigabit-NIC support (EXPERIMENTAL)' CONFIG_YELLOWFIN
fi
tristate 'SysKonnect SK-98xx support' CONFIG_SK98LIN
fi
endmenu


mainmenu_option next_comment
comment 'FDDI support'
bool 'FDDI driver support' CONFIG_FDDI
if [ "$CONFIG_FDDI" = "y" ]; then
bool ' Digital DEFEA and DEFPA adapter support' CONFIG_DEFXX
tristate ' SysKonnect FDDI PCI support' CONFIG_SKFP
fi
endmenu


mainmenu_option next_comment
comment 'Fibre Channel support'
bool 'Fibre Channel support' CONFIG_NET_FC
if [ "$CONFIG_NET_FC" = "y" ]; then
dep_tristate ' Interphase 5526 Tachyon chipset based adapter support' CONFIG_IPHASE5526 $CONFIG_SCSI
fi
endmenu


if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
mainmenu_option next_comment
comment 'High Performance Parallel Interface (HiPPI) support'
bool 'HIPPI driver support (EXPERIMENTAL)' CONFIG_HIPPI
if [ "$CONFIG_HIPPI" = "y" ]; then
tristate ' Essential RoadRunner HIPPI PCI adapter support' CONFIG_ROADRUNNER
if [ "$CONFIG_ROADRUNNER" = "m" -o "$CONFIG_ROADRUNNER" = "y" ]; then
bool ' Use large TX/RX rings' CONFIG_ROADRUNNER_LARGE_RINGS
fi
fi
endmenu
fi


mainmenu_option next_comment
comment 'Parallel and Serial port support'
tristate 'EQL (serial line load balancing) support' CONFIG_EQUALIZER
if [ "$CONFIG_PARPORT" = "m" -o "$CONFIG_PARPORT" = "y" ]; then
dep_tristate 'PLIP (parallel port) support' CONFIG_PLIP $CONFIG_PARPORT
fi
tristate 'PPP (point-to-point protocol) support' CONFIG_PPP
if [ "$CONFIG_PPP" = "m" -o "$CONFIG_PPP" = "y" ]; then
dep_tristate ' PPP support for async serial ports' CONFIG_PPP_ASYNC $CONFIG_PPP
dep_tristate ' PPP support for sync tty ports' CONFIG_PPP_SYNC_TTY $CONFIG_PPP
dep_tristate ' PPP Deflate compression' CONFIG_PPP_DEFLATE $CONFIG_PPP
dep_tristate ' PPP BSD-Compress compression' CONFIG_PPP_BSDCOMP m
fi
tristate 'SLIP (serial line) support' CONFIG_SLIP
if [ "$CONFIG_SLIP" = "m" -o "$CONFIG_SLIP" = "y" ]; then
bool ' CSLIP compressed headers' CONFIG_SLIP_COMPRESSED
bool ' Keepalive and linefill' CONFIG_SLIP_SMART
bool ' Six bit SLIP encapsulation' CONFIG_SLIP_MODE_SLIP6
fi
endmenu


if [ "$CONFIG_HOTPLUG" = "y" ]; then
if [ "$CONFIG_PCMCIA" = "m" -o "$CONFIG_PCMCIA" = "y" ]; then
mainmenu_option next_comment
comment 'PCMCIA support'
source drivers/net/pcmcia/Config.in
endmenu
fi
fi


mainmenu_option next_comment
comment 'Token Ring support'
source drivers/net/tokenring/Config.in
endmenu


mainmenu_option next_comment
comment 'Wireless LAN (non-hamradio)'
bool 'Wireless LAN (non-hamradio)' CONFIG_NET_RADIO
if [ "$CONFIG_NET_RADIO" = "y" ]; then
tristate ' AT&T WaveLAN & DEC RoamAbout DS support' CONFIG_WAVELAN
tristate ' Aironet Arlan 655 & IC2200 DS support' CONFIG_ARLAN
tristate ' Aironet 4500/4800 series adapters' CONFIG_AIRONET4500
dep_tristate ' Aironet 4500/4800 ISA/PCI/PNP/365 support ' CONFIG_AIRONET4500_NONCS $CONFIG_AIRONET4500
if [ "$CONFIG_AIRONET4500" = "m" -o "$CONFIG_AIRONET4500" = "y" ]; then
if [ "$CONFIG_AIRONET4500_NONCS" = "m" -o "$CONFIG_AIRONET4500_NONCS" = "y" ]; then
bool ' Aironet 4500/4800 PNP support ' CONFIG_AIRONET4500_PNP
dep_bool ' Aironet 4500/4800 PCI support ' CONFIG_AIRONET4500_PCI $CONFIG_PCI
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
dep_bool ' Aironet 4500/4800 ISA broken support (EXPERIMENTAL)' CONFIG_AIRONET4500_ISA $CONFIG_EXPERIMENTAL
dep_bool ' Aironet 4500/4800 I365 broken support (EXPERIMENTAL)' CONFIG_AIRONET4500_I365 $CONFIG_EXPERIMENTAL
fi
fi
fi
dep_tristate ' Aironet 4500/4800 /proc interface ' CONFIG_AIRONET4500_PROC $CONFIG_AIRONET4500 m
dep_tristate ' STRIP (Metricom starmode radio IP)' CONFIG_STRIP $CONFIG_INET
fi
endmenu


if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
mainmenu_option next_comment
comment 'Virtual Private Network (VPN) support'
tristate 'Red Creek Hardware VPN (EXPERIMENTAL)' CONFIG_RCPCI
endmenu
fi


mainmenu_option next_comment
comment 'Wide Area Network (WAN) support'
source drivers/net/wan/Config.in
endmenu
\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.063 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site