introduce USB_SUPPORT, clean up some dependencies
[15.05/openwrt.git] / target / linux / Config.in
index 65b8592..1c1361e 100644 (file)
@@ -16,20 +16,6 @@ config PACKAGE_KMOD_ATM
        help
          ATM support
 
-config PACKAGE_KMOD_GRE
-       prompt "kmod-gre.......................... GRE tunneling driver"
-       tristate
-       default m
-       help
-         Kernel support for GRE tunnels
-       
-config PACKAGE_KMOD_IMQ
-        prompt "kmod-imq.......................... Intermediate Queueing device"
-        tristate
-        default m
-        help
-          Kernel support for the Intermediate Queueing device
-
 config PACKAGE_KMOD_IPIP
        prompt "kmod-ipip......................... IP in IP encapsulation support"
        tristate
@@ -37,47 +23,6 @@ config PACKAGE_KMOD_IPIP
        help
          Kernel module for IP in IP encapsulation
 
-config PACKAGE_KMOD_IPV6
-       prompt "kmod-ipv6......................... IPv6 support"
-       tristate
-       default m
-       help
-         Kernel modules for IPv6 protocol support
-
-config PACKAGE_KMOD_PPP
-       prompt "kmod-ppp.......................... PPP support"
-       tristate
-       default m
-       help
-         Kernel support for PPP
-
-config PACKAGE_KMOD_MPPE
-       prompt   "kmod-mppe....................... PPP MPPE/MPPC module"
-       tristate
-       default m
-       depends PACKAGE_KMOD_PPP
-       select PACKAGE_KMOD_CRYPTO
-       help
-         Support for Microsoft PPP Encryption/Compression
-
-config PACKAGE_KMOD_PPPOATM
-       prompt   "kmod-pppoatm.................... PPPoA (PPP over ATM) kernel support"
-       tristate
-       default y if LINUX_2_4_AR7
-       default m
-       depends PACKAGE_KMOD_PPP
-       select PACKAGE_KMOD_ATM
-       help
-         Support for PPP over ATM
-
-config PACKAGE_KMOD_PPPOE
-       prompt   "kmod-pppoe...................... PPPoE (PPP over Ethernet) kernel support"
-       tristate
-       default m
-       depends PACKAGE_KMOD_PPP
-       help
-         Support for PPP over Ethernet
-
 config PACKAGE_KMOD_RING
        prompt "kmod-ring......................... PF Ring"
        tristate
@@ -101,168 +46,6 @@ config PACKAGE_KMOD_TUN
 
 endmenu
 
-menu "Filtering/Firewalling"
-
-config PACKAGE_KMOD_ARPTABLES
-       prompt "kmod-arptables.................... ARP firewalling support"
-       tristate
-       default m
-       help
-         Kernel modules for ARP firewalling
-
-config PACKAGE_KMOD_EBTABLES
-       prompt "kmod-ebtables..................... Ethernet Bridge firewalling support"
-       tristate
-       default m
-       help
-         Kernel modules for bridge firewalling
-
-config PACKAGE_KMOD_IPTABLES
-       prompt "kmod-iptables..................... Core Netfilter modules for IPv4 firewalling"
-       tristate
-       default y
-       help
-         Kernel modules for IPv4 firewalling
-
-config PACKAGE_KMOD_IPTABLES_EXTRA
-       prompt "kmod-iptables-extra............... Extra Netfilter modules for IPv4 firewalling (meta-package)"
-       tristate
-       default m
-       select PACKAGE_KMOD_IPT_CONNTRACK
-       select PACKAGE_KMOD_IPT_FILTER
-       select PACKAGE_KMOD_IPT_IPOPT
-       select PACKAGE_KMOD_IPT_IPSEC
-       select PACKAGE_KMOD_IPT_NAT
-       select PACKAGE_KMOD_IPT_NAT_EXTRA
-       select PACKAGE_KMOD_IPT_QUEUE
-       select PACKAGE_KMOD_IPT_ULOG
-       select PACKAGE_KMOD_IPT_EXTRA
-       help
-         Extra Netfilter kernel modules for IPv4 firewalling (meta-package)
-
-config PACKAGE_KMOD_IPT_CONNTRACK
-       prompt "kmod-ipt-conntrack................ Netfilter modules for connection tracking"
-       tristate
-       default m
-       help
-         Netfilter (IPv4) kernel modules for connection tracking
-
-         Includes:
-           * ipt_conntrack
-           * ipt_helper
-           * ipt_connmark/CONNMARK
-
-config PACKAGE_KMOD_IPT_FILTER
-       prompt "kmod-ipt-filter................... Netfilter modules for packet content inspection"
-       tristate
-       default m
-       help
-         Netfilter (IPv4) kernel modules for packet content inspection
-
-         Includes:
-           * ipt_ipp2p
-           * ipt_layer7
-
-config PACKAGE_KMOD_IPT_IPOPT
-       prompt "kmod-ipt-ipopt.................... Netfilter modules for matching/changing IP packet options"
-       tristate
-       default m
-       help
-         Netfilter (IPv4) kernel modules for matching/changing IP packet options
-         
-         Includes:
-           * ipt_dscp/DSCP
-           * ipt_ecn/ECN
-           * ipt_length
-           * ipt_mac
-           * ipt_tos/TOS
-           * ipt_tcpmms
-           * ipt_ttl/TTL
-           * ipt_unclean
-
-config PACKAGE_KMOD_IPT_IPSEC
-       prompt "kmod-ipt-ipsec.................... Netfilter modules for matching IPsec packets"
-       tristate
-       default m
-       help
-         Netfilter (IPv4) kernel modules for matching IPsec packets
-         
-         Includes:
-           * ipt_ah
-           * ipt_esp
-
-config PACKAGE_KMOD_IPT_NAT
-       prompt "kmod-ipt-nat...................... Netfilter modules for different NAT targets"
-       tristate
-       default m
-       help
-         Netfilter (IPv4) kernel modules for different NAT targets
-
-         Includes: 
-           * ipt_REDIRECT
-
-config PACKAGE_KMOD_IPT_NAT_EXTRA
-       prompt "kmod-ipt-nat-extra................ Extra Netfilter NAT modules for special protocols"
-       tristate
-       default m
-       help
-         Extra Netfilter (IPv4) NAT kernel modules for special protocols
-         
-         Includes:
-           * ip_conntrack_amanda
-           * ip_conntrack_proto_gre
-           * ip_nat_proto_gre
-           * ip_conntrack_pptp
-           * ip_nat_pptp
-           * ip_conntrack_sip
-           * ip_nat_sip
-           * ip_nat_snmp_basic
-           * ip_conntrack_tftp
-
-config PACKAGE_KMOD_IPT_QUEUE
-       prompt "kmod-ipt-queue.................... Netfilter module for user-space packet queueing"
-       tristate
-       default m
-       help
-         Netfilter (IPv4) module for user-space packet queueing
-         
-         Includes:
-           * ipt_QUEUE
-
-config PACKAGE_KMOD_IPT_ULOG
-       prompt "kmod-ipt-ulog..................... Netfilter module for user-space packet logging"
-       tristate
-       default m
-       help
-         Netfilter (IPv4) module for user-space packet logging
-         
-         Includes:
-           * ipt_ULOG
-
-config PACKAGE_KMOD_IPT_EXTRA
-       prompt "kmod-ipt-extra.................... Other extra Netfilter modules"
-       tristate
-       default m
-       help
-         Other extra Netfilter (IPv4) kernel modules
-
-         Includes:
-           * ipt_limit
-           * ipt_owner
-           * ipt_physdev
-           * ipt_pkttype
-           * ipt_recent
-
-config PACKAGE_KMOD_IP6TABLES
-       prompt "kmod-ip6tables.................... Kernel modules for ip6tables"
-       tristate
-       default m
-       depends PACKAGE_KMOD_IPV6
-       help
-         IPv6 firewalling support
-
-endmenu
-
 menu "Block devices support"
 
 config PACKAGE_kmod-ide-core
@@ -310,14 +93,6 @@ config PACKAGE_KMOD_NBD
 
 endmenu
 
-config PACKAGE_KMOD_CRYPTO
-       prompt "CryptoAPI modules"
-       tristate
-       default m
-       select BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
-       help
-         Kernel modules for cryptographic algorithms
-
 menu "Filesystems support"
 
 config PACKAGE_KMOD_FS_CIFS
@@ -450,29 +225,6 @@ endmenu
 menu "Network devices support"
        depends LINUX_2_4_X86 || LINUX_2_6_X86
 
-config PACKAGE_KMOD_NET_3C59X
-       prompt "kmod-net-3c59x.................... 3Com 3c590/3c900 series (592/595/597) \"Vortex/Boomerang\" Ethernet kernel support"
-       tristate
-       depends LINUX_2_4_X86 || LINUX_2_6_X86
-       default m
-       help
-         This option enables driver support for a large number of 10mbps and 
-         10/100mbps EISA, PCI and PCMCIA 3Com network cards:
-         
-          * "Vortex"    (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
-          * "Boomerang" (EtherLink XL 3c900 or 3c905)            PCI
-          * "Cyclone"   (3c540/3c900/3c905/3c980/3c575/3c656)    PCI and Cardbus
-          * "Tornado"   (3c905)                                  PCI
-          * "Hurricane" (3c555/3cSOHO)                           PCI
-
-config PACKAGE_KMOD_NET_8139TOO
-       prompt "kmod-net-8139too.................. RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support"
-       tristate
-       depends LINUX_2_4_X86 || LINUX_2_6_X86
-       default m
-       help
-         This is a driver for the Fast Ethernet PCI network cards based on 
-         the RTL8139 chips.
 
 config PACKAGE_KMOD_NET_AIRO
        prompt "kmod-net-airo..................... Cisco/Aironet 34X/35X/4500/4800 ISA and PCI cards kernel support"
@@ -490,13 +242,6 @@ config PACKAGE_KMOD_NET_AIRO
          and Cisco proprietary API, so both the Linux Wireless Tools and the 
          Cisco Linux utilities can be used to configure the card.
 
-config PACKAGE_KMOD_NET_E100
-       prompt "kmod-net-e100..................... Intel(R) PRO/100+ cards kernel support"
-       tristate
-       depends LINUX_2_4_X86 || LINUX_2_6_X86
-       default m
-       help
-         Intel(R) PRO/100+ cards kernel support
 
 config PACKAGE_KMOD_NET_HERMES
        prompt "kmod-net-hermes................... Hermes chipset 802.11b support (Orinoco/Prism2/Symbol) kernel support"
@@ -539,15 +284,7 @@ config PACKAGE_KMOD_NET_HERMES_PLX
          802.11b PCMCIA cards can be used in desktop machines.  The Netgear 
          MA301 is such an adaptor.
 
-config PACKAGE_KMOD_NET_NATSEMI
-       prompt "kmod-net-natsemi.................. National Semiconductor DP8381x series PCI Ethernet kernel support"
-       tristate
-       depends LINUX_2_4_X86 || LINUX_2_6_X86
-       default m
-       help
-         This driver is for the National Semiconductor DP83810 series, 
-         which is used in cards from PureData, NetGear, Linksys 
-         and others, including the 83815 chip.
+
 
 config PACKAGE_KMOD_NET_PRISM54
        prompt "kmod-net-prism54.................. Intersil Prism GT/Duette/Indigo PCI/PCMCIA cards kernel support"
@@ -591,13 +328,11 @@ config PACKAGE_KMOD_NET_PRISM54
 endmenu
 
 menu "PCMCIA/CardBus support"
-       depends LINUX_2_4_X86 || LINUX_2_6_X86 || LINUX_2_4_BRCM || LINUX_2_6_BRCM
+       depends PCMCIA_SUPPORT
 
 config PACKAGE_KMOD_PCMCIA_CORE
        prompt "kmod-pcmcia-core.................. PCMCIA/CardBus support"
-       depends LINUX_PCMCIA_SUPPORT
        tristate
-       depends LINUX_2_4_X86 || LINUX_2_6_X86 || LINUX_2_4_BRCM || LINUX_2_6_BRCM
        default m
 
 config PACKAGE_KMOD_PCMCIA_SERIAL
@@ -609,11 +344,11 @@ config PACKAGE_KMOD_PCMCIA_SERIAL
 endmenu
 
 menu "USB support"
+       depends USB_SUPPORT
 
 config PACKAGE_KMOD_USB
        prompt "kmod-usb-core..................... USB support"
        tristate
-       default n if LINUX_2_4_AR531X
        default m
 
 config PACKAGE_KMOD_USB_UHCI 
@@ -731,8 +466,8 @@ config PACKAGE_KMOD_AX25
 config PACKAGE_KMOD_BLUETOOTH
        prompt "kmod-bluetooth.................... Bluetooth drivers and network stack"
        tristate
+       depends PCI_SUPPORT || USB_SUPPORT
        default m
-       default n if LINUX_2_4_AR531X
        help
          Bluetooth drivers and network stack