From cd63438f4bfc5c400aeed74ea29010dbc0c0ef4e Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 22 Nov 2009 14:21:49 +0000 Subject: auto_add_modules: Copy all modules from net, excluding some subdirectories This removes the need to maintain an explicit list, which always has some drivers missing. fixes #553024 partly. Signed-off-by: Ben Hutchings Signed-off-by: maximilian attems --- hook-functions | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'hook-functions') diff --git a/hook-functions b/hook-functions index c40b3a4..98597db 100644 --- a/hook-functions +++ b/hook-functions @@ -398,19 +398,9 @@ auto_add_modules() done ;; net) - for x in 3c59x 8139cp 8139too 8390 atl1 atl1e b44 bmac \ - bnx2 cxgb cxgb3 de2104x de4x5 defxx dl2k dmfe \ - e100 e1000 e1000e ehea epic100 \ - ep93xx_eth eql fealnx famachi forcedeth gelic_net \ - hp100 igb ipg ixgb ixgbe mace mlx4_core mv643xx_eth myri10ge \ - natsemi ne2k-pci netconsole netxen_nic niu ns83820 \ - pcnet32 qla3xxx \ - r8169 s2io sfc sis900 skge sky2 slhc smc91x starfire \ - sundance sungem sungem_phy sunhme sunvnet tehuti tg3 tlan \ - tulip typhoon via-rhine via-velocity virtio_net winbond-840 \ - xircom_cb xircom_tulip_cb yellowfin; do - manual_add_modules "${x}" - done + copy_modules_dir kernel/drivers/net \ + appletalk arcnet bonding can hamradio irda pcmcia \ + tokenring usb wan wimax wireless ;; ide) copy_modules_dir kernel/drivers/ide -- cgit v1.2.3