drivers/net/Config.in once again ...

From: Andrzej Krzysztofowicz (ankry@green.mif.pg.gda.pl)
Date: Tue Mar 07 2000 - 15:11:13 EST


Hi,
   I would like (just a point to discussion) another view on drivers/net
configuration. This is unfinished: it needs some sorting, checking for
lost buses, etc. This is partially based on Tim's patch.

   IMHO it is good to be able to disable "improper" buses. Does mips, arm,
sh use ISA bus ? There's a lot of ISA/EISA boards useless for them. Why
should you ask for many PCI-board related options if you want to configure
an ISA/EISA based i386 machine ?

   I don't send a diff as it is "unreadable". However, I can prepare one
if you like...

Regards
    Andrzej
************* selected sections of drivers/net/Config.in *****************
>
> if [ "$CONFIG_MCA" = "y" ]; then
> bool ' MCA cards' CONFIG_NET_MCA
> else
> define_bool CONFIG_NET_MCA n
> fi
> if [ "$CONFIG_ISA" = "y" ]; then
> bool ' ISA cards' CONFIG_NET_ISA
> bool ' EISA cards' CONFIG_NET_ISA
> bool ' VLB cards' CONFIG_NET_VLB
> else
> define_bool CONFIG_NET_ISA n
> define_bool CONFIG_NET_EISA n
> define_bool CONFIG_NET_VLB n
> fi
> if [ "$CONFIG_ISA" = "y" ]; then
> bool ' PCI cards' CONFIG_NET_PCI
> else
> define_bool CONFIG_NET_PCI n
> fi
>
> bool ' 3COM cards' CONFIG_NET_VENDOR_3COM
> dep_tristate ' 3c501 support' CONFIG_EL1 $CONFIG_NET_VENDOR_3COM $CONFIG_NET_ISA
> dep_tristate ' 3c503 support' CONFIG_EL2 $CONFIG_NET_VENDOR_3COM $CONFIG_NET_ISA
> dep_tristate ' 3c505 support' CONFIG_ELPLUS $CONFIG_NET_VENDOR_3COM $CONFIG_NET_ISA
> dep_tristate ' 3c507 support (EXPERIMENTAL)' CONFIG_EL16 $CONFIG_EXPERIMENTAL $CONFIG_NET_VENDOR_3COM $CONFIG_NET_ISA
> if [ "$CONFIG_NET_ISA" = "y" -o "$CONFIG_NET_MCA" = "y" ]; then
> dep_tristate ' 3c509/3c529 (MCA)/3c579 support' CONFIG_EL3 $CONFIG_NET_VENDOR_3COM
> fi
> dep_tristate ' 3c515 ISA Fast EtherLink' CONFIG_3C515 $CONFIG_NET_VENDOR_3COM $CONFIG_NET_ISA
> dep_tristate ' 3c523 support' CONFIG_ELMC $CONFIG_NET_VENDOR_3COM $CONFIG_NET_MCA
> dep_tristate ' 3c527 support (EXPERIMENTAL)' CONFIG_ELMC_II $CONFIG_EXPERIMENTAL $CONFIG_NET_VENDOR_3COM $CONFIG_NET_MCA
> if [ "$CONFIG_NET_EISA" = "y" -o "$CONFIG_NET_PCI" = "y" ]; then
> dep_tristate ' 3c590/3c900 series (592/595/597) "Vortex/Boomerang" support' CONFIG_VORTEX $CONFIG_NET_VENDOR_3COM
> fi
>
> bool ' Western Digital/SMC cards' CONFIG_NET_VENDOR_SMC
> dep_tristate ' WD80*3 support' CONFIG_WD80x3 $CONFIG_NET_VENDOR_SMC $CONFIG_NET_ISA
> dep_tristate ' SMC Ultra ISA support' CONFIG_ULTRA $CONFIG_NET_VENDOR_SMC $CONFIG_NET_ISA
> dep_tristate ' SMC Ultra MCA support' CONFIG_ULTRAMCA $CONFIG_NET_VENDOR_SMC $CONFIG_NET_MCA
> dep_tristate ' SMC Ultra32 EISA support' CONFIG_ULTRA32 $CONFIG_NET_VENDOR_SMC $CONFIG_NET_EISA
> if [ "$CONFIG_OBSOLETE" = "y" ]; then
> dep_tristate ' SMC 9194 support' CONFIG_SMC9194 $CONFIG_NET_VENDOR_SMC $CONFIG_NET_ISA
> fi
> # CardBus & PCI ?
> dep_tristate ' SMC EtherPower II (EXPERIMENTAL)' CONFIG_EPIC100 $CONFIG_EXPERIMENTAL $CONFIG_NET_PCI
>
> bool ' Intel EtherExpress cards' CONFIG_NET_VENDOR_INTEL
> if [ "$CONFIG_NET_ISA" = "y" -o "$CONFIG_NET_MCA" = "y" ]; then
> dep_tristate ' EtherExpress 16 support' CONFIG_EEXPRESS $CONFIG_NET_VENDOR_INTEL
> fi
> if [ "$CONFIG_NET_ISA" = "y" -o "$CONFIG_NET_EISA" = "y" ]; then
> dep_tristate ' EtherExpressPro support' CONFIG_EEXPRESS_PRO $CONFIG_NET_VENDOR_INTEL
> fi
> dep_tristate ' EtherExpressPro/100 support' CONFIG_EEPRO100 $CONFIG_NET_VENDOR_INTEL $CONFIG_NET_PCI
> dep_mbool ' Enable Power Management (EXPERIMENTAL)' CONFIG_EEPRO100_PM $CONFIG_EXPERIMENTAL $CONFIG_EEPRO100
>
> bool ' Racal-Interlan (Micom) NI cards' CONFIG_NET_VENDOR_RACAL
> dep_tristate ' NI5010 support (EXPERIMENTAL)' CONFIG_NI5010 $CONFIG_EXPERIMENTAL $CONFIG_NET_VENDOR_RACAL $CONFIG_NET_ISA
> dep_tristate ' NI5210 support' CONFIG_NI52 $CONFIG_NET_VENDOR_RACAL $CONFIG_NET_ISA
> if [ "$CONFIG_NET_ISA" = "y" -o "$CONFIG_NET_PCI" = "y" ]; then
> dep_tristate ' NI6510 support' CONFIG_NI65 $CONFIG_NET_VENDOR_RACAL
> fi
> dep_tristate ' Racal-Interlan EISA ES3210 support (EXPERIMENTAL)' CONFIG_ES3210 $CONFIG_EXPERIMENTAL $CONFIG_NET_EISA
>
> if [ "$CONFIG_NET_ISA" = "y" -o "$CONFIG_NET_PCI" = "y" ]; then
> tristate ' AMD LANCE and PCnet (AT1500 and NE2100) support' CONFIG_LANCE
> fi
> if [ "$CONFIG_NET_VLB" = "y" -o "$CONFIG_NET_PCI" = "y" ]; then
> tristate ' AMD PCnet32 (VLB and PCI) support' CONFIG_PCNET32
> fi
> if [ "$CONFIG_NET_ISA" = "y" -o "$CONFIG_NET_MCA" = "y" ]; then
> dep_tristate ' AT1700/1720 support (EXPERIMENTAL)' CONFIG_AT1700 $CONFIG_EXPERIMENTAL
> fi
> if [ "$CONFIG_NET_ISA" = "y" -o "$CONFIG_NET_EISA" = "y" -o "$CONFIG_NET_MCA" = "y" ]; then
> tristate ' DEPCA, DE10x, DE200, DE201, DE202, DE422 support' CONFIG_DEPCA
> fi
> if [ "$CONFIG_NET_ISA" = "y" ]; then
> dep_tristate ' Cabletron E21xx support' CONFIG_E2100 $CONFIG_NET_ISA
> if [ "$CONFIG_NET_ISA" = "y" -o "$CONFIG_NET_EISA" = "y" ]; then
> if [ "$CONFIG_OBSOLETE" = "y" ]; then
> tristate ' EtherWORKS 3 (DE203, DE204, DE205) support' CONFIG_EWRK3
> fi
> fi
> if [ "$CONFIG_OBSOLETE" = "y" ]; then
> dep_tristate ' FMV-181/182/183/184 support' CONFIG_FMV18X $CONFIG_NET_ISA
> fi
> dep_tristate ' HP PCLAN+ (27247B and 27252A) support' CONFIG_HPLAN_PLUS $CONFIG_NET_ISA
> dep_tristate ' HP PCLAN (27245 and other 27xxx series) support' CONFIG_HPLAN $CONFIG_NET_ISA
> if [ "$CONFIG_NET_ISA" = "y" -o "$CONFIG_NET_EISA" = "y" -o "$CONFIG_NET_PCI" = "y" ]; then
> tristate ' HP 10/100VG PCLAN (ISA, EISA, PCI) support' CONFIG_HP100
> fi
> if [ "$CONFIG_NET_ISA" = "y" -o "$CONFIG_NET_EISA" = "y" ]; then
> if [ "$CONFIG_OBSOLETE" = "y" ]; then
> tristate ' ICL EtherTeam 16i/32 support' CONFIG_ETH16I
> fi
> fi
> dep_tristate ' NE2000/NE1000 support' CONFIG_NE2000 $CONFIG_NET_ISA
> dep_tristate ' NE/2 (ne2000 MCA version) support' CONFIG_NE2_MCA $CONFIG_NET_MCA
> dep_tristate ' PCI NE2000 support' CONFIG_NE2K_PCI $CONFIG_NET_PCI
> if [ "$CONFIG_OBSOLETE" = "y" ]; then
> dep_tristate ' SEEQ8005 support (EXPERIMENTAL)' CONFIG_SEEQ8005 $CONFIG_EXPERIMENTAL $CONFIG_NET_ISA
> fi
> dep_bool ' SK_G16 support' CONFIG_SK_G16 $CONFIG_NET_ISA
> dep_tristate ' SKnet MCA support' CONFIG_SKMC $CONFIG_NET_MCA
>
> dep_tristate ' Adaptec Starfire support (EXPERIMENTAL)' CONFIG_ADAPTEC_STARFIRE $CONFIG_EXPERIMENTAL $CONFIG_NET_PCI
> dep_tristate ' Ansel Communications EISA 3200 support (EXPERIMENTAL)' CONFIG_AC3200 $CONFIG_EXPERIMENTAL $CONFIG_NET_EISA
> if [ "$CONFIG_OBSOLETE" = "y" ]; then
> dep_tristate ' CS89x0 support' CONFIG_CS89x0 $CONFIG_NET_EISA
> fi
> if [ "$CONFIG_NET_EISA" = "y" -o "$CONFIG_NET_PCI" = "y" ]; then
> tristate ' Generic DECchip & DIGITAL EtherWORKS PCI/EISA' CONFIG_DE4X5
> fi
> dep_tristate ' DECchip Tulip (dc21x4x) PCI support' CONFIG_TULIP $CONFIG_NET_PCI
> if [ "$CONFIG_NET_EISA" = "y" -o "$CONFIG_NET_PCI" = "y" ]; then
> tristate ' Digi Intl. RightSwitch SE-X support' CONFIG_DGRS
> fi
> dep_tristate ' DM9102 PCI Fast Ethernet Adapter support (EXPERIMENTAL)' CONFIG_DM9102 $CONFIG_EXPERIMENTAL $CONFIG_NET_PCI
> dep_tristate ' Mylex EISA LNE390A/B support (EXPERIMENTAL)' CONFIG_LNE390 $CONFIG_EXPERIMENTAL $CONFIG_NET_EISA
> dep_tristate ' Novell/Eagle/Microdyne NE3210 EISA support (EXPERIMENTAL)' CONFIG_NE3210 $CONFIG_EXPERIMENTAL $CONFIG_NET_EISA
> # tristate ' Sundance Alta support' CONFIG_ALTA
> dep_tristate ' RealTek 8129 (not 8019/8029!) support (EXPERIMENTAL)' CONFIG_RTL8129 $CONFIG_EXPERIMENTAL $CONFIG_NET_PCI
> dep_tristate ' RealTek RTL-8139 PCI Fast Ethernet Adapter support' CONFIG_8139TOO $CONFIG_NET_PCI
> dep_tristate ' SiS 900/7016 PCI Fast Ethernet Adapter support' CONFIG_SIS900 $CONFIG_NET_PCI
> dep_tristate ' TI ThunderLAN support' CONFIG_TLAN $CONFIG_NET_PCI
> dep_tristate ' VIA Rhine support' CONFIG_VIA_RHINE $CONFIG_NET_PCI
>
> bool ' Other on board controllers' CONFIG_NET_ONBOARD
> dep_tristate ' Apricot Xen-II on board Ethernet' CONFIG_APRICOT $CONFIG_NET_ONBOARD
> if [ "$CONFIG_OBSOLETE" = "y" ]; then
> dep_bool ' Zenith Z-Note support (EXPERIMENTAL)' CONFIG_ZNET $CONFIG_NET_ONBOARD
> fi
>
> bool ' Pocket and portable adapters' CONFIG_NET_POCKET
> dep_tristate ' AT-LAN-TEC/RealTek pocket adapter support' CONFIG_ATP $CONFIG_NET_POCKET
> dep_tristate ' D-Link DE600 pocket adapter support' CONFIG_DE600 $CONFIG_NET_POCKET
> dep_tristate ' D-Link DE620 pocket adapter support' CONFIG_DE620 $CONFIG_NET_POCKET
> fi
>
> endmenu

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:23 EST