]> git.hungrycats.org Git - linux/commitdiff
[PATCH] select CRC32
authorBrian Gerst <bgerst@didntduck.org>
Fri, 26 Sep 2003 17:07:08 +0000 (10:07 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 26 Sep 2003 17:07:08 +0000 (10:07 -0700)
Use "select CRC32" in Kconfig instead of makefile includes.

16 files changed:
drivers/media/dvb/dvb-core/Kconfig
drivers/media/dvb/dvb-core/Makefile.lib [deleted file]
drivers/net/Kconfig
drivers/net/Makefile.lib [deleted file]
drivers/net/arm/Kconfig
drivers/net/pcmcia/Kconfig
drivers/net/tulip/Kconfig
drivers/usb/Makefile.lib [deleted file]
drivers/usb/misc/Kconfig
drivers/usb/net/Kconfig
fs/Kconfig
fs/Makefile.lib [deleted file]
fs/partitions/Kconfig
lib/Makefile
net/bluetooth/bnep/Kconfig
net/bluetooth/bnep/Makefile.lib [deleted file]

index 99e2d6b9da462ee75eb6c9540fc21c01e7366fb3..27b89b056351630bb3dca96caad5d96e99043dde 100644 (file)
@@ -1,6 +1,7 @@
 config DVB_CORE
        tristate "DVB Core Support"
        depends on DVB
+       select CRC32
        help
          DVB core utility functions for device handling, software fallbacks etc.
 
diff --git a/drivers/media/dvb/dvb-core/Makefile.lib b/drivers/media/dvb/dvb-core/Makefile.lib
deleted file mode 100644 (file)
index 4633728..0000000
+++ /dev/null
@@ -1 +0,0 @@
-obj-$(CONFIG_DVB_CORE)         += crc32.o
index 4c966ffea3e9850d55bf46aaf81577c519973c85..a1b13141e085942735bf5a1f11323ac0160858a6 100644 (file)
@@ -215,6 +215,7 @@ source "drivers/net/arm/Kconfig"
 config MACE
        tristate "MACE (Power Mac ethernet) support"
        depends on NET_ETHERNET && PPC_PMAC
+       select CRC32
        help
          Power Macintoshes and clones with Ethernet built-in on the
          motherboard will usually use a MACE (Medium Access Control for
@@ -237,6 +238,7 @@ config MACE_AAUI_PORT
 config BMAC
        tristate "BMAC (G3 ethernet) support"
        depends on NET_ETHERNET && PPC_PMAC
+       select CRC32
        help
          Say Y for support of BMAC Ethernet interfaces. These are used on G3
          computers.
@@ -247,6 +249,7 @@ config BMAC
 config OAKNET
        tristate "National DP83902AV (Oak ethernet) support"
        depends on NET_ETHERNET && PPC
+       select CRC32
        help
          Say Y if your machine has this type of Ethernet network card.
 
@@ -266,6 +269,7 @@ config ARIADNE
 config A2065
        tristate "A2065 support"
        depends on NET_ETHERNET && ZORRO
+       select CRC32
        help
          If you have a Commodore A2065 Ethernet adapter, say Y. Otherwise,
          say N.
@@ -276,6 +280,7 @@ config A2065
 config HYDRA
        tristate "Hydra support"
        depends on NET_ETHERNET && ZORRO
+       select CRC32
        help
          If you have a Hydra Ethernet adapter, say Y. Otherwise, say N.
 
@@ -285,6 +290,7 @@ config HYDRA
 config ZORRO8390
        tristate "Zorro NS8390-based Ethernet support"
        depends on NET_ETHERNET && ZORRO
+       select CRC32
        help
          This driver is for Zorro Ethernet cards using an NS8390-compatible
          chipset, like the Village Tronic Ariadne II and the Individual
@@ -297,6 +303,7 @@ config ZORRO8390
 config APNE
        tristate "PCMCIA NE2000 support"
        depends on NETDEVICES && AMIGA_PCMCIA
+       select CRC32
        help
          If you have a PCMCIA NE2000 compatible adapter, say Y.  Otherwise,
          say N.
@@ -316,6 +323,7 @@ config APOLLO_ELPLUS
 config MAC8390
        bool "Macintosh NS 8390 based ethernet cards"
        depends on NETDEVICES && MAC
+       select CRC32
        help
          If you want to include a driver to support Nubus or LC-PDS
          Ethernet cards using an NS8390 chipset or its equivalent, say Y
@@ -352,6 +360,7 @@ config MACSONIC
 config MACMACE
        bool "Macintosh (AV) onboard MACE ethernet (EXPERIMENTAL)"
        depends on NETDEVICES && MAC && EXPERIMENTAL
+       select CRC32
        help
          Support for the onboard AMD 79C940 MACE Ethernet controller used in
          the 660AV and 840AV Macintosh.  If you have one of these Macintoshes
@@ -361,6 +370,7 @@ config MACMACE
 config MVME147_NET
        tristate "MVME147 (Lance) Ethernet support"
        depends on NETDEVICES && MVME147
+       select CRC32
        help
          Support for the on-board Ethernet interface on the Motorola MVME147
          single-board computer.  Say Y here to include the
@@ -434,6 +444,7 @@ config SUN3_82586
 config HPLANCE
        bool "HP on-board LANCE support"
        depends on NETDEVICES && HP300
+       select CRC32
        help
          If you want to use the builtin "LANCE" Ethernet controller on an
          HP300 machine, say Y here.
@@ -461,6 +472,7 @@ config MIPS_GT96100ETH
 config MIPS_AU1X00_ENET
        bool "MIPS AU1000 Ethernet support"
        depends on NET_ETHERNET && SOC_AU1X00
+       select CRC32
        help
          If you have an Alchemy Semi AU1X00 based system
          say Y.  Otherwise, say N.
@@ -472,6 +484,7 @@ config NET_SB1250_MAC
 config SGI_IOC3_ETH
        bool "SGI IOC3 Ethernet"
        depends on NET_ETHERNET && SGI_IP27
+       select CRC32
        help
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -484,6 +497,7 @@ config SGI_O2MACE_ETH
 config STNIC
        tristate "National DP83902AV  support"
        depends on NET_ETHERNET && SUPERH
+       select CRC32
        help
          Support for cards based on the National Semiconductor DP83902AV
          ST-NIC Serial Network Interface Controller for Twisted Pair.  This
@@ -495,6 +509,7 @@ config STNIC
 config SUNLANCE
        tristate "Sun LANCE support"
        depends on NET_ETHERNET && SBUS
+       select CRC32
        help
          This driver supports the "le" interface present on all 32-bit Sparc
          systems, on some older Ultra systems and as an Sbus option.  These
@@ -507,6 +522,7 @@ config SUNLANCE
 config HAPPYMEAL
        tristate "Sun Happy Meal 10/100baseT support"
        depends on NET_ETHERNET && (SBUS || PCI)
+       select CRC32
        help
          This driver supports the "hme" interface present on most Ultra
          systems and as an option on older Sbus systems. This driver supports
@@ -519,6 +535,7 @@ config HAPPYMEAL
 config SUNBMAC
        tristate "Sun BigMAC 10/100baseT support (EXPERIMENTAL)"
        depends on NET_ETHERNET && SBUS && EXPERIMENTAL
+       select CRC32
        help
          This driver supports the "be" interface available as an Sbus option.
          This is Sun's older 100baseT Ethernet device.
@@ -529,6 +546,7 @@ config SUNBMAC
 config SUNQE
        tristate "Sun QuadEthernet support"
        depends on NET_ETHERNET && SBUS
+       select CRC32
        help
          This driver supports the "qe" 10baseT Ethernet device, available as
          an Sbus option. Note that this is not the same as Quad FastEthernet
@@ -540,6 +558,7 @@ config SUNQE
 config SUNGEM
        tristate "Sun GEM support"
        depends on NET_ETHERNET && PCI
+       select CRC32
        help
          Support for the Sun GEM chip, aka Sun GigabitEthernet/P 2.0.  See also
          <http://www.sun.com/products-n-solutions/hardware/docs/pdf/806-3985-10.pdf>.
@@ -575,6 +594,7 @@ config EL1
 config EL2
        tristate "3c503 \"EtherLink II\" support"
        depends on NET_VENDOR_3COM && ISA
+       select CRC32
        help
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -686,6 +706,7 @@ config VORTEX
 config TYPHOON
        tristate "3cr990 series \"Typhoon\" support"
        depends on NET_VENDOR_3COM && PCI
+       select CRC32
        ---help---
          This option enables driver support for the 3cr990 series of cards:
 
@@ -729,6 +750,7 @@ config NET_VENDOR_SMC
 config WD80x3
        tristate "WD80*3 support"
        depends on NET_VENDOR_SMC && ISA
+       select CRC32
        help
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -741,6 +763,7 @@ config WD80x3
 config ULTRAMCA
        tristate "SMC Ultra MCA support"
        depends on NET_VENDOR_SMC && MCA
+       select CRC32
        help
          If you have a network (Ethernet) card of this type and are running
          an MCA based system (PS/2), say Y and read the Ethernet-HOWTO,
@@ -753,6 +776,7 @@ config ULTRAMCA
 config ULTRA
        tristate "SMC Ultra support"
        depends on NET_VENDOR_SMC && ISA
+       select CRC32
        ---help---
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -772,6 +796,7 @@ config ULTRA
 config ULTRA32
        tristate "SMC Ultra32 EISA support"
        depends on NET_VENDOR_SMC && EISA
+       select CRC32
        help
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -784,6 +809,7 @@ config ULTRA32
 config SMC9194
        tristate "SMC 9194 support"
        depends on NET_VENDOR_SMC && (ISA || MAC)
+       select CRC32
        ---help---
          This is support for the SMC9xxx based Ethernet cards. Choose this
          option if you have a DELL laptop with the docking station, or
@@ -851,6 +877,7 @@ source "drivers/net/tulip/Kconfig"
 config AT1700
        tristate "AT1700/1720/RE1000Plus(C-Bus) support (EXPERIMENTAL)"
        depends on NET_ETHERNET && (ISA || MCA) && EXPERIMENTAL
+       select CRC32
        ---help---
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -863,6 +890,7 @@ config AT1700
 config DEPCA
        tristate "DEPCA, DE10x, DE200, DE201, DE202, DE422 support"
        depends on NET_ETHERNET && (ISA || EISA || MCA)
+       select CRC32
        ---help---
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -905,6 +933,7 @@ config NET_ISA
 config E2100
        tristate "Cabletron E21xx support"
        depends on NET_ISA
+       select CRC32
        help
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -917,6 +946,7 @@ config E2100
 config EWRK3
        tristate "EtherWORKS 3 (DE203, DE204, DE205) support"
        depends on NET_ISA
+       select CRC32
        ---help---
          This driver supports the DE203, DE204 and DE205 network (Ethernet)
          cards. If this is for you, say Y and read
@@ -975,6 +1005,7 @@ config FMV18X
 config HPLAN_PLUS
        tristate "HP PCLAN+ (27247B and 27252A) support"
        depends on NET_ISA
+       select CRC32
        help
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -987,6 +1018,7 @@ config HPLAN_PLUS
 config HPLAN
        tristate "HP PCLAN (27245 and other 27xxx series) support"
        depends on NET_ISA
+       select CRC32
        help
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -1019,6 +1051,7 @@ config ETH16I
 config NE2000
        tristate "NE2000/NE1000 support"
        depends on NET_ISA || (Q40 && m)
+       select CRC32
        ---help---
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -1076,6 +1109,7 @@ config NET_CBUS
 config NE2K_CBUS
        tristate "Most NE2000-based Ethernet support"
        depends on NET_CBUS
+       select CRC32
 
 config NE2K_CBUS_EGY98
        bool "Melco EGY-98 support"
@@ -1132,6 +1166,7 @@ config SKMC
 config NE2_MCA
        tristate "NE/2 (ne2000 MCA version) support"
        depends on NET_ETHERNET && MCA
+       select CRC32
        help
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -1174,6 +1209,7 @@ config NET_PCI
 config PCNET32
        tristate "AMD PCnet32 PCI support"
        depends on NET_PCI && PCI
+       select CRC32
        help
          If you have a PCnet32 or PCnetPCI based network (Ethernet) card,
          answer Y here and read the Ethernet-HOWTO, available from
@@ -1186,6 +1222,7 @@ config PCNET32
 config AMD8111_ETH
        tristate "AMD 8111 (new PCI lance) support"
        depends on NET_PCI && PCI
+       select CRC32
        help
          If you have an AMD 8111-based PCI lance ethernet card,
          answer Y here and read the Ethernet-HOWTO, available from
@@ -1198,6 +1235,7 @@ config AMD8111_ETH
 config ADAPTEC_STARFIRE
        tristate "Adaptec Starfire/DuraLAN support"
        depends on NET_PCI && PCI
+       select CRC32
        help
          Say Y here if you have an Adaptec Starfire (or DuraLAN) PCI network
          adapter. The DuraLAN chip is used on the 64 bit PCI boards from
@@ -1222,6 +1260,7 @@ config ADAPTEC_STARFIRE_NAPI
 config AC3200
        tristate "Ansel Communications EISA 3200 support (EXPERIMENTAL)"
        depends on NET_PCI && (ISA || EISA) && EXPERIMENTAL
+       select CRC32
        help
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -1389,6 +1428,7 @@ config E100
 config LNE390
        tristate "Mylex EISA LNE390A/B support (EXPERIMENTAL)"
        depends on NET_PCI && EISA && EXPERIMENTAL
+       select CRC32
        help
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -1401,6 +1441,7 @@ config LNE390
 config FEALNX
        tristate "Myson MTD-8xx PCI Ethernet support"
        depends on NET_PCI && PCI
+       select CRC32
        help
          Say Y here to support the Mysom MTD-800 family of PCI-based Ethernet
          cards. Specifications and data at
@@ -1409,6 +1450,7 @@ config FEALNX
 config NATSEMI
        tristate "National Semiconductor DP8381x series PCI Ethernet support"
        depends on NET_PCI && PCI
+       select CRC32
        help
          This driver is for the National Semiconductor DP83810 series,
          which is used in cards from PureData, NetGear, Linksys
@@ -1419,6 +1461,7 @@ config NATSEMI
 config NE2K_PCI
        tristate "PCI NE2000 and clones support (see help)"
        depends on NET_PCI && PCI
+       select CRC32
        ---help---
          This driver is for NE2000 compatible PCI cards. It will not work
          with ISA NE2000 cards (they have their own driver, "NE2000/NE1000
@@ -1438,6 +1481,7 @@ config NE2K_PCI
 config NE3210
        tristate "Novell/Eagle/Microdyne NE3210 EISA support (EXPERIMENTAL)"
        depends on NET_PCI && EISA && EXPERIMENTAL
+       select CRC32
        ---help---
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -1451,6 +1495,7 @@ config NE3210
 config ES3210
        tristate "Racal-Interlan EISA ES3210 support (EXPERIMENTAL)"
        depends on NET_PCI && EISA && EXPERIMENTAL
+       select CRC32
        help
          If you have a network (Ethernet) card of this type, say Y and read
          the Ethernet-HOWTO, available from
@@ -1463,6 +1508,7 @@ config ES3210
 config 8139CP
        tristate "RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERIMENTAL)"
        depends on NET_PCI && PCI && EXPERIMENTAL
+       select CRC32
        help
          This is a driver for the Fast Ethernet PCI network cards based on
          the RTL8139C+ chips. If you have one of those, say Y and read
@@ -1475,6 +1521,7 @@ config 8139CP
 config 8139TOO
        tristate "RealTek RTL-8139 PCI Fast Ethernet Adapter support"
        depends on NET_PCI && PCI
+       select CRC32
        ---help---
          This is a driver for the Fast Ethernet PCI network cards based on
          the RTL8139 chips. If you have one of those, say Y and read
@@ -1527,6 +1574,7 @@ config 8139_OLD_RX_RESET
 config SIS900
        tristate "SiS 900/7016 PCI Fast Ethernet Adapter support"
        depends on NET_PCI && PCI
+       select CRC32
        ---help---
          This is a driver for the Fast Ethernet PCI network cards based on
          the SiS 900 and SiS 7016 chips. The SiS 900 core is also embedded in
@@ -1545,6 +1593,7 @@ config SIS900
 config EPIC100
        tristate "SMC EtherPower II"
        depends on NET_PCI && PCI
+       select CRC32
        help
          This driver is for the SMC EtherPower II 9432 PCI Ethernet NIC,
          which is based on the SMC83c17x (EPIC/100).
@@ -1554,6 +1603,7 @@ config EPIC100
 config SUNDANCE
        tristate "Sundance Alta support"
        depends on NET_PCI && PCI
+       select CRC32
        help
          This driver is for the Sundance "Alta" chip.
          More specific information and updates are available from
@@ -1591,6 +1641,7 @@ config TLAN
 config VIA_RHINE
        tristate "VIA Rhine support"
        depends on NET_PCI && PCI
+       select CRC32
        help
          If you have a VIA "rhine" based network card (Rhine-I (3043) or
          Rhine-2 (VT86c100A)), say Y here.
@@ -1647,6 +1698,7 @@ config NET_POCKET
 config ATP
        tristate "AT-LAN-TEC/RealTek pocket adapter support"
        depends on NET_POCKET && ISA && X86
+       select CRC32
        ---help---
          This is a network (Ethernet) device which attaches to your parallel
          port. Read <file:drivers/net/atp.c> as well as the Ethernet-HOWTO,
@@ -1698,6 +1750,7 @@ config SGISEEQ
 config DECLANCE
        tristate "DEC LANCE ethernet controller support"
        depends on NET_ETHERNET && DECSTATION
+       select CRC32
        help
          This driver is for the series of Ethernet controllers produced by
          DEC (now Compaq) based on the AMD Lance chipset, including the
@@ -1764,6 +1817,7 @@ config ACENIC_OMIT_TIGON_I
 config DL2K
        tristate "D-Link DL2000-based Gigabit Ethernet support"
        depends on PCI
+       select CRC32
        help
          This driver supports D-Link 2000-based gigabit ethernet cards, which
          includes
@@ -1854,6 +1908,7 @@ config HAMACHI
 config YELLOWFIN
        tristate "Packet Engines Yellowfin Gigabit-NIC support (EXPERIMENTAL)"
        depends on PCI && EXPERIMENTAL
+       select CRC32
        ---help---
          Say Y here if you have a Packet Engines G-NIC PCI Gigabit Ethernet
          adapter or the SYM53C885 Ethernet controller. The Gigabit adapter is
@@ -1867,6 +1922,7 @@ config YELLOWFIN
 config R8169
        tristate "Realtek 8169 gigabit ethernet support"
        depends on PCI
+       select CRC32
        ---help---
          Say Y here if you have a Realtek 8169 PCI Gigabit Ethernet adapter.
 
@@ -1876,6 +1932,7 @@ config R8169
 config SIS190
        tristate "SiS190 gigabit ethernet support (EXPERIMENTAL)"
        depends on PCI && EXPERIMENTAL
+       select CRC32
        ---help---
          Say Y here if you have a SiS 190 PCI Gigabit Ethernet adapter.
 
diff --git a/drivers/net/Makefile.lib b/drivers/net/Makefile.lib
deleted file mode 100644 (file)
index b2ade8a..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-# These drivers all require crc32.o
-obj-$(CONFIG_8139CP)           += crc32.o
-obj-$(CONFIG_8139TOO)          += crc32.o
-obj-$(CONFIG_A2065)            += crc32.o
-obj-$(CONFIG_ARM_AM79C961A)    += crc32.o
-obj-$(CONFIG_AT1700)           += crc32.o
-obj-$(CONFIG_ATP)              += crc32.o
-obj-$(CONFIG_BMAC)             += crc32.o
-obj-$(CONFIG_DE2104X)          += crc32.o
-obj-$(CONFIG_DE4X5)            += crc32.o
-obj-$(CONFIG_DECLANCE)         += crc32.o
-obj-$(CONFIG_DEPCA)            += crc32.o
-obj-$(CONFIG_DL2K)             += crc32.o
-obj-$(CONFIG_DM9102)           += crc32.o
-obj-$(CONFIG_EPIC100)          += crc32.o
-obj-$(CONFIG_EWRK3)            += crc32.o
-obj-$(CONFIG_FEALNX)           += crc32.o
-obj-$(CONFIG_HAPPYMEAL)                += crc32.o
-obj-$(CONFIG_MACE)             += crc32.o      
-obj-$(CONFIG_MACMACE)          += crc32.o
-obj-$(CONFIG_MIPS_AU1000_ENET) += crc32.o
-obj-$(CONFIG_NATSEMI)          += crc32.o      
-obj-$(CONFIG_NE2K_CBUS)                += crc32.o
-obj-$(CONFIG_PCMCIA_FMVJ18X)   += crc32.o
-obj-$(CONFIG_PCMCIA_SMC91C92)  += crc32.o
-obj-$(CONFIG_PCMCIA_XIRTULIP)  += crc32.o
-obj-$(CONFIG_PCNET32)          += crc32.o
-obj-$(CONFIG_SGI_IOC3_ETH)     += crc32.o
-obj-$(CONFIG_SIS190)           += crc32.o
-obj-$(CONFIG_SIS900)           += crc32.o
-obj-$(CONFIG_SMC9194)          += crc32.o
-obj-$(CONFIG_ADAPTEC_STARFIRE) += crc32.o
-obj-$(CONFIG_SUNBMAC)          += crc32.o
-obj-$(CONFIG_SUNDANCE)         += crc32.o
-obj-$(CONFIG_SUNGEM)           += crc32.o
-obj-$(CONFIG_SUNGEM)           += crc32.o
-obj-$(CONFIG_SUNLANCE)         += crc32.o
-obj-$(CONFIG_SUNQE)            += crc32.o
-obj-$(CONFIG_TULIP)            += crc32.o
-obj-$(CONFIG_TYPHOON)          += crc32.o
-obj-$(CONFIG_VIA_RHINE)                += crc32.o
-obj-$(CONFIG_YELLOWFIN)                += crc32.o
-obj-$(CONFIG_WINBOND_840)      += crc32.o
-obj-$(CONFIG_R8169)            += crc32.o
-obj-$(CONFIG_AMD8111_ETH)      += crc32.o
-
-
-# These rely on drivers/net/7990.o which requires crc32.o
-obj-$(CONFIG_HPLANCE)          += crc32.o      
-obj-$(CONFIG_MVME147_NET)      += crc32.o      
-
-
-# These rely on drivers/net/8390.o which requires crc32.o
-obj-$(CONFIG_OAKNET)           += crc32.o
-obj-$(CONFIG_NE2K_PCI)         += crc32.o
-obj-$(CONFIG_STNIC)            += crc32.o
-obj-$(CONFIG_MAC8390)          += crc32.o
-obj-$(CONFIG_APNE)             += crc32.o
-obj-$(CONFIG_PCMCIA_PCNET)     += crc32.o
-obj-$(CONFIG_ARM_ETHERH)       += crc32.o
-obj-$(CONFIG_WD80x3)           += crc32.o
-obj-$(CONFIG_EL2)              += crc32.o
-obj-$(CONFIG_NE2000)           += crc32.o
-obj-$(CONFIG_NE2_MCA)          += crc32.o
-obj-$(CONFIG_HPLAN)            += crc32.o
-obj-$(CONFIG_HPLAN_PLUS)       += crc32.o
-obj-$(CONFIG_ULTRA)            += crc32.o
-obj-$(CONFIG_ULTRAMCA)         += crc32.o
-obj-$(CONFIG_ULTRA32)          += crc32.o
-obj-$(CONFIG_E2100)            += crc32.o
-obj-$(CONFIG_ES3210)           += crc32.o
-obj-$(CONFIG_LNE390)           += crc32.o
-obj-$(CONFIG_NE3210)           += crc32.o
-obj-$(CONFIG_AC3200)           += crc32.o
-obj-$(CONFIG_ZORRO8390)                += crc32.o
-obj-$(CONFIG_HYDRA)            += crc32.o
index de3cfdcf61a31f68d24f30c7ae1a968d02f59d3f..06c1346061eaaae22e9f21bf05671ec2871638f2 100644 (file)
@@ -5,6 +5,7 @@
 config ARM_AM79C961A
        bool "ARM EBSA110 AM79C961A support"
        depends on NET_ETHERNET && ARM && ARCH_EBSA110
+       select CRC32
        help
          If you wish to compile a kernel for the EBSA-110, then you should
          always answer Y to this.
@@ -26,6 +27,7 @@ config ARM_ETHER3
 config ARM_ETHERH
        tristate "I-cubed EtherH/ANT EtherM support"
        depends on NET_ETHERNET && ARM && ARCH_ACORN
+       select CRC32
        help
          If you have an Acorn system with one of these network cards, you
          should say Y to this option if you wish to use it with Linux.
index 05f7054ff4ce30c2110639522bf5dedceeac8798..47b664618cc4e2a7d25bbdea3bfa5bdf722015bd 100644 (file)
@@ -44,6 +44,7 @@ config PCMCIA_3C574
 config PCMCIA_FMVJ18X
        tristate "Fujitsu FMV-J18x PCMCIA support"
        depends on NET_PCMCIA && PCMCIA
+       select CRC32
        help
          Say Y here if you intend to attach a Fujitsu FMV-J18x or compatible
          PCMCIA (PC-card) Ethernet card to your computer.
@@ -54,6 +55,7 @@ config PCMCIA_FMVJ18X
 config PCMCIA_PCNET
        tristate "NE2000 compatible PCMCIA support"
        depends on NET_PCMCIA && PCMCIA
+       select CRC32
        help
          Say Y here if you intend to attach an NE2000 compatible PCMCIA
          (PC-card) Ethernet or Fast Ethernet card to your computer.
@@ -74,6 +76,7 @@ config PCMCIA_NMCLAN
 config PCMCIA_SMC91C92
        tristate "SMC 91Cxx PCMCIA support"
        depends on NET_PCMCIA && PCMCIA
+       select CRC32
        help
          Say Y here if you intend to attach an SMC 91Cxx compatible PCMCIA
          (PC-card) Ethernet or Fast Ethernet card to your computer.
index 560bab3f555dbc9a829017b2cffe40f572011f43..4480f4f74f03441e801646300ccecc1065c5025e 100644 (file)
@@ -13,6 +13,7 @@ config NET_TULIP
 config DE2104X
        tristate "Early DECchip Tulip (dc2104x) PCI support (EXPERIMENTAL)"
        depends on NET_TULIP && PCI && EXPERIMENTAL
+       select CRC32
        ---help---
          This driver is developed for the SMC EtherPower series Ethernet
          cards and also works with cards based on the DECchip
@@ -30,6 +31,7 @@ config DE2104X
 config TULIP
        tristate "DECchip Tulip (dc2114x) PCI support"
        depends on NET_TULIP && PCI
+       select CRC32
        ---help---
          This driver is developed for the SMC EtherPower series Ethernet
          cards and also works with cards based on the DECchip 
@@ -69,6 +71,7 @@ config TULIP_MMIO
 config DE4X5
        tristate "Generic DECchip & DIGITAL EtherWORKS PCI/EISA"
        depends on NET_TULIP && (PCI || EISA)
+       select CRC32
        ---help---
          This is support for the DIGITAL series of PCI/EISA Ethernet cards.
          These include the DE425, DE434, DE435, DE450 and DE500 models.  If
@@ -85,6 +88,7 @@ config DE4X5
 config WINBOND_840
        tristate "Winbond W89c840 Ethernet support"
        depends on NET_TULIP && PCI
+       select CRC32
        help
          This driver is for the Winbond W89c840 chip.  It also works with 
          the TX9882 chip on the Compex RL100-ATX board.
@@ -94,6 +98,7 @@ config WINBOND_840
 config DM9102
        tristate "Davicom DM910x/DM980x support"
        depends on NET_TULIP && PCI
+       select CRC32
        ---help---
          This driver is for DM9102(A)/DM9132/DM9801 compatible PCI cards from
          Davicom (<http://www.davicom.com.tw/>).  If you have such a network
@@ -120,6 +125,7 @@ config PCMCIA_XIRCOM
 config PCMCIA_XIRTULIP
        tristate "Xircom Tulip-like CardBus support (old driver)"
        depends on NET_TULIP && CARDBUS && BROKEN_ON_SMP
+       select CRC32
        ---help---
          This driver is for the Digital "Tulip" Ethernet CardBus adapters.
          It should work with most DEC 21*4*-based chips/ethercards, as well
diff --git a/drivers/usb/Makefile.lib b/drivers/usb/Makefile.lib
deleted file mode 100644 (file)
index 78bfdd1..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-obj-$(CONFIG_USB_CATC)         += crc32.o
-obj-$(CONFIG_USB_SPEEDTOUCH)   += crc32.o
-obj-$(CONFIG_USB_USBNET)       += crc32.o
index c2cd1249c267ad6fe2112e5c3cd65e6545f1c420..639069f08847ea1e252be9d70397b5da3b99b4a4 100644 (file)
@@ -84,6 +84,7 @@ config USB_LCD
 config USB_SPEEDTOUCH
        tristate "Alcatel Speedtouch USB support"
        depends on USB && ATM
+       select CRC32
        help
          Say Y here if you have an Alcatel SpeedTouch USB or SpeedTouch 330
          modem.  In order to use your modem you will need to install some user
index 16dcb976d38e62e03d6d5ab4a588852713d5b44f..fced240e514d7219e798ee72963c7deb500b4467 100644 (file)
@@ -10,6 +10,7 @@ comment "Networking support is needed for USB Networking device support"
 config USB_CATC
        tristate "USB CATC NetMate-based Ethernet device support (EXPERIMENTAL)"
        depends on USB && NET && EXPERIMENTAL
+       select CRC32
        ---help---
          Say Y if you want to use one of the following 10Mbps USB Ethernet
          device based on the EL1210A chip. Supported devices are:
@@ -94,6 +95,7 @@ config USB_RTL8150
 config USB_USBNET
        tristate "Multi-purpose USB Networking Framework"
        depends on USB && NET
+       select CRC32
        ---help---
          This driver supports several kinds of network links over USB,
          with "minidrivers" built around a common network driver core
index 5ed55df5c1c53758d715a03c17a5039a6cf513e4..9efa0cd3cf44744dba232c9fbe3678ba450587b7 100644 (file)
@@ -1046,6 +1046,7 @@ config JFFS_PROC_FS
 config JFFS2_FS
        tristate "Journalling Flash File System v2 (JFFS2) support"
        depends on MTD
+       select CRC32
        help
          JFFS2 is the second generation of the Journalling Flash File System
          for use on diskless embedded devices. It provides improved wear
diff --git a/fs/Makefile.lib b/fs/Makefile.lib
deleted file mode 100644 (file)
index bbdcfa5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-obj-$(CONFIG_JFFS2_FS)         += crc32.o
-obj-$(CONFIG_EFI_PARTITION)    += crc32.o
index 34e7225c303fb4b16239c3f9fc10d0ade98c9464..cf379e6f0229673456f1a9da996777728cad7d82 100644 (file)
@@ -227,6 +227,7 @@ config SUN_PARTITION
 config EFI_PARTITION
        bool "EFI GUID Partition support"
        depends on PARTITION_ADVANCED
+       select CRC32
        help
          Say Y here if you would like to use hard disks under Linux which
          were partitioned using EFI GPT.  Presently only useful on the
index 91e7b30d3ca0f9a45091e3eec5fc37fcbb592f22..b26666dfb173368b0cabed14afa906f08a5a1846 100644 (file)
@@ -20,12 +20,6 @@ obj-$(CONFIG_CRC32)  += crc32.o
 obj-$(CONFIG_ZLIB_INFLATE) += zlib_inflate/
 obj-$(CONFIG_ZLIB_DEFLATE) += zlib_deflate/
 
-include drivers/net/Makefile.lib
-include drivers/usb/Makefile.lib
-include fs/Makefile.lib
-include net/bluetooth/bnep/Makefile.lib
-include drivers/media/dvb/dvb-core/Makefile.lib
-
 host-progs     := gen_crc32table
 clean-files    := crc32table.h
 
index 324ffb4191332208bbea2a8b560f97e223e280b4..5c2a1480832106e0adb687b5841a04868072cc0c 100644 (file)
@@ -1,6 +1,7 @@
 config BT_BNEP
        tristate "BNEP protocol support"
        depends on BT && BT_L2CAP
+       select CRC32
        help
          BNEP (Bluetooth Network Encapsulation Protocol) is Ethernet
          emulation layer on top of Bluetooth. BNEP is required for Bluetooth
diff --git a/net/bluetooth/bnep/Makefile.lib b/net/bluetooth/bnep/Makefile.lib
deleted file mode 100644 (file)
index e184a57..0000000
+++ /dev/null
@@ -1 +0,0 @@
-obj-$(CONFIG_BT_BNEP) += crc32.o