android_kernel_xiaomi_sm8350/drivers/net/tulip
Michael Tokarev 07563c711f [PATCH] EISA bus MODALIAS attributes support
Add modalias attribute support for the almost forgotten now EISA bus and
(at least some) EISA-aware modules.

The modalias entry looks like (for an 3c509 NIC):

 eisa:sTCM5093

and the in-module alias like:

 eisa:sTCM5093*

The patch moves struct eisa_device_id declaration from include/linux/eisa.h
to include/linux/mod_devicetable.h (so that the former now #includes the
latter), adds proper MODULE_DEVICE_TABLE(eisa, ...) statements for all
drivers with EISA IDs I found (some drivers already have that DEVICE_TABLE
declared), and adds recognision of __mod_eisa_device_table to
scripts/mod/file2alias.c so that proper modules.alias will be generated.

There's no support for /lib/modules/$kver/modules.eisamap, as it's not used
by any existing tools, and because with in-kernel modalias mechanism those
maps are obsolete anyway.

The rationale for this patch is:

 a) to make EISA bus to act as other busses with modalias
    support, to unify driver loading

 b) to foget about EISA finally - with this patch, kernel
    (who still supports EISA) will be the only one who knows
    how to choose the necessary drivers for this bus ;)

[akpm@osdl.org: fix the kbuild bit]
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Acked-the-net-bits-by: Jeff Garzik <jeff@garzik.org>
Acked-the-tulip-bit-by: Valerie Henson <val_henson@linux.intel.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-27 08:26:19 -07:00
..
21142.c [PATCH] Defer tulip_select_media() to process context 2006-09-11 09:05:37 -04:00
de4x5.c [PATCH] EISA bus MODALIAS attributes support 2006-09-27 08:26:19 -07:00
de4x5.h [netdrvr] trim trailing whitespace: 8139*.c, epic100, forcedeth, tulip/* 2006-05-26 21:39:03 -04:00
de2104x.c drivers/net: const-ify ethtool_ops declarations 2006-09-13 14:30:00 -04:00
dmfe.c drivers/net: const-ify ethtool_ops declarations 2006-09-13 14:30:00 -04:00
eeprom.c [PATCH] Change tulip maintainer 2006-09-11 09:05:37 -04:00
interrupt.c [PATCH] Change tulip maintainer 2006-09-11 09:05:37 -04:00
Kconfig
Makefile
media.c [PATCH] Change tulip maintainer 2006-09-11 09:05:37 -04:00
pnic2.c [PATCH] Change tulip maintainer 2006-09-11 09:05:37 -04:00
pnic.c [PATCH] Change tulip maintainer 2006-09-11 09:05:37 -04:00
timer.c [PATCH] Defer tulip_select_media() to process context 2006-09-11 09:05:37 -04:00
tulip_core.c drivers/net: const-ify ethtool_ops declarations 2006-09-13 14:30:00 -04:00
tulip.h [PATCH] Clean up tulip.h 2006-09-11 09:05:37 -04:00
uli526x.c drivers/net: const-ify ethtool_ops declarations 2006-09-13 14:30:00 -04:00
winbond-840.c drivers/net: const-ify ethtool_ops declarations 2006-09-13 14:30:00 -04:00
xircom_cb.c drivers/net: const-ify ethtool_ops declarations 2006-09-13 14:30:00 -04:00
xircom_tulip_cb.c drivers/net: const-ify ethtool_ops declarations 2006-09-13 14:30:00 -04:00