__devinitdata for net-subsys (1/2)
Subsystems (5)
PATCH 1/1 __devinitdata for net-subsys (1/2)
From: Henrik Kretzschmar <[email protected]>
Marking the pci_device_id tables of net-subsys as __devinitdata (1/2).
Signed-off-by Henrik Kretzschmar <[email protected]>
---
drivers/net/arcnet/com20020-pci.c +1 -1
@@ -141,7 +141,7 @@free_netdev (dev); } -static struct pci_device_id com20020pci_id_table[] = { +static struct pci_device_id com20020pci_id_table[]__devinitdata = { {0x1571 ,0xa001 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0x1571 ,0xa002 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {0x1571 ,0xa003 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 },
drivers/net/e1000/e1000_main.c +1 -1
@@ -85,7 +85,7 @@* Macro expands to... * {PCI_DEVICE(PCI_VENDOR_ID_INTEL, device_id)} */ -static struct pci_device_id e1000_pci_tbl[] = { +static struct pci_device_id e1000_pci_tbl[]__devinitdata = {INTEL_E1000_ETHERNET_DEVICE (0x1000 ),INTEL_E1000_ETHERNET_DEVICE (0x1001 ),INTEL_E1000_ETHERNET_DEVICE (0x1004 ),
drivers/net/irda/donauboe.c +1 -1
@@ -188,7 +188,7 @@#define CONFIG0H_DMA_ON_NORX CONFIG0H_DMA_OFF| OBOE_CONFIG0H_ENDMAC#define CONFIG0H_DMA_ON CONFIG0H_DMA_ON_NORX | OBOE_CONFIG0H_ENRX -static struct pci_device_id toshoboe_pci_tbl[] = { +static struct pci_device_id toshoboe_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_TOSHIBA ,PCI_DEVICE_ID_FIR701 ,PCI_ANY_ID ,PCI_ANY_ID , }, {PCI_VENDOR_ID_TOSHIBA ,PCI_DEVICE_ID_FIRD01 ,PCI_ANY_ID ,PCI_ANY_ID , }, { }/* Terminating entry */
drivers/net/irda/via-ircc.c +1 -1
@@ -124,7 +124,7 @@ } } -static struct pci_device_id via_pci_tbl[] = { +static struct pci_device_id via_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_VIA ,0x8231 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {PCI_VENDOR_ID_VIA ,0x3109 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,1 }, {PCI_VENDOR_ID_VIA ,0x3074 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,2 },
drivers/net/irda/vlsi_ir.c +1 -1
@@ -60,7 +60,7 @@static /* const */ char drivername[] =DRIVER_NAME ; -static struct pci_device_id vlsi_irda_table [] = { +static struct pci_device_id vlsi_irda_table[]__devinitdata = { { .class =PCI_CLASS_WIRELESS_IRDA <<8 , .class_mask =PCI_CLASS_SUBCLASS_MASK <<8 ,
drivers/net/ixgb/ixgb_main.c +1 -1
@@ -64,7 +64,7 @@* { Vendor ID, Device ID, SubVendor ID, SubDevice ID, * Class, Class Mask, private data (not used) } */ -static struct pci_device_id ixgb_pci_tbl[] = { +static struct pci_device_id ixgb_pci_tbl[]__devinitdata = { {INTEL_VENDOR_ID ,IXGB_DEVICE_ID_82597EX ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {INTEL_VENDOR_ID ,IXGB_DEVICE_ID_82597EX_SR ,
drivers/net/sk98lin/skge.c +1 -1
@@ -5104,7 +5104,7 @@#define skge_resume NULL#endif -static struct pci_device_id skge_pci_tbl[] = { +static struct pci_device_id skge_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_3COM ,0x1700 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {PCI_VENDOR_ID_3COM ,0x80eb ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {PCI_VENDOR_ID_SYSKONNECT ,0x4300 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 },
drivers/net/skfp/skfddi.c +1 -1
@@ -150,7 +150,7 @@extern void mac_drv_clear_rx_queue (struct s_smc *smc);extern void enable_tx_irq (struct s_smc *smc,u_short queue); -static struct pci_device_id skfddi_pci_tbl[] = { +static struct pci_device_id skfddi_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_SK ,PCI_DEVICE_ID_SK_FP ,PCI_ANY_ID ,PCI_ANY_ID , }, { }/* Terminating entry */ };
drivers/net/tokenring/3c359.c +0 -1
@@ -116,7 +116,7 @@#include "3c359_microcode.h" -static struct pci_device_id xl_pci_tbl[] +static struct pci_device_id xl_pci_tbl[] __devinitdata { {PCI_VENDOR_ID_3COM,PCI_DEVICE_ID_3COM_3C359, PCI_ANY_ID, PCI_ANY_ID, }, { } /* terminate list */
drivers/net/tokenring/abyss.c +1 -1
@@ -45,7 +45,7 @@#define ABYSS_IO_EXTENT 64 -static struct pci_device_id abyss_pci_tbl[] = { +static struct pci_device_id abyss_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_MADGE ,PCI_DEVICE_ID_MADGE_MK2 ,PCI_ANY_ID ,PCI_ANY_ID ,PCI_CLASS_NETWORK_TOKEN_RING <<8 ,0x00ffffff , }, { }/* Terminating entry */
drivers/net/tokenring/lanstreamer.c +1 -1
@@ -147,7 +147,7 @@static char version[] ="LanStreamer.c v0.4.0 03/08/01 - Mike Sullivan\n" " v0.5.3 11/13/02 - Kent Yoder" ; -static struct pci_device_id streamer_pci_tbl[] = { +static struct pci_device_id streamer_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_IBM ,PCI_DEVICE_ID_IBM_TR ,PCI_ANY_ID ,PCI_ANY_ID ,}, {}/* terminating entry */ };
drivers/net/tokenring/olympic.c +1 -1
@@ -172,7 +172,7 @@static int network_monitor[OLYMPIC_MAX_ADAPTERS ] = {0 ,};module_param_array (network_monitor, int,NULL ,0 ); -static struct pci_device_id olympic_pci_tbl[] = { +static struct pci_device_id olympic_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_IBM ,PCI_DEVICE_ID_IBM_TR_WAKE ,PCI_ANY_ID ,PCI_ANY_ID ,}, { }/* Terminating Entry */ };
drivers/net/tokenring/tmspci.c +1 -1
@@ -57,7 +57,7 @@ { {0x03, 0x01}, "3Com Token Link Velocity"}, }; -static struct pci_device_id tmspci_pci_tbl[] = { +static struct pci_device_id tmspci_pci_tbl[] __devinitdata = { { PCI_VENDOR_ID_COMPAQ, PCI_DEVICE_ID_COMPAQ_TOKENRING, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VENDOR_ID_SYSKONNECT, PCI_DEVICE_ID_SYSKONNECT_TR, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1 }, { PCI_VENDOR_ID_TCONRAD, PCI_DEVICE_ID_TCONRAD_TOKENRING, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 2 },
drivers/net/tulip/de2104x.c +1 -1
@@ -329,7 +329,7 @@static unsigned int de_ok_to_advertise (struct de_private *de,u32 new_media); -static struct pci_device_id de_pci_tbl[] = { +static struct pci_device_id de_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_DEC ,PCI_DEVICE_ID_DEC_TULIP ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {PCI_VENDOR_ID_DEC ,PCI_DEVICE_ID_DEC_TULIP_PLUS ,
drivers/net/tulip/de4x5.c +1 -1
@@ -2352,7 +2352,7 @@pci_disable_device (pdev); } -static struct pci_device_id de4x5_pci_tbl[] = { +static struct pci_device_id de4x5_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_DEC ,PCI_DEVICE_ID_DEC_TULIP ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 }, {PCI_VENDOR_ID_DEC ,PCI_DEVICE_ID_DEC_TULIP_PLUS ,
drivers/net/tulip/dmfe.c +1 -1
@@ -1964,7 +1964,7 @@ -static struct pci_device_id dmfe_pci_tbl[] = { +static struct pci_device_id dmfe_pci_tbl[]__devinitdata = { {0x1282 ,0x9132 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,PCI_DM9132_ID }, {0x1282 ,0x9102 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,PCI_DM9102_ID }, {0x1282 ,0x9100 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,PCI_DM9100_ID },
drivers/net/tulip/tulip_core.c +1 -1
@@ -202,7 +202,7 @@ }; -static struct pci_device_id tulip_pci_tbl[] = { +static struct pci_device_id tulip_pci_tbl[]__devinitdata = { {0x1011 ,0x0009 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,DC21140 }, {0x1011 ,0x0019 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,DC21143 }, {0x11AD ,0x0002 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,LC82C168 },
drivers/net/tulip/uli526x.c +1 -1
@@ -1670,7 +1670,7 @@ } -static struct pci_device_id uli526x_pci_tbl[] = { +static struct pci_device_id uli526x_pci_tbl[]__devinitdata = { {0x10B9 ,0x5261 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,PCI_ULI5261_ID }, {0x10B9 ,0x5263 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,PCI_ULI5263_ID }, {0 , }
drivers/net/tulip/winbond-840.c +1 -1
@@ -227,7 +227,7 @@#define W840_FLAGS (PCI_USES_MEM | PCI_ADDR1 | PCI_USES_MASTER)#endif -static struct pci_device_id w840_pci_tbl[] = { +static struct pci_device_id w840_pci_tbl[]__devinitdata = { {0x1050 ,0x0840 ,PCI_ANY_ID ,0x8153 ,0 ,0 ,0 }, {0x1050 ,0x0840 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,1 }, {0x11f6 ,0x2011 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,2 },
drivers/net/tulip/xircom_cb.c +1 -1
@@ -146,7 +146,7 @@ -static struct pci_device_id xircom_pci_table[] = { +static struct pci_device_id xircom_pci_table[]__devinitdata = { {0x115D ,0x0003 ,PCI_ANY_ID ,PCI_ANY_ID ,}, {0 ,}, };
drivers/net/tulip/xircom_tulip_cb.c +1 -1
@@ -1647,7 +1647,7 @@ } -static struct pci_device_id xircom_pci_table[] = { +static struct pci_device_id xircom_pci_table[]__devinitdata = { {0x115D ,0x0003 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,X3201_3 }, {0 }, };
drivers/net/wan/dscc4.c +1 -1
@@ -2046,7 +2046,7 @@__setup ("dscc4.setup=" , dscc4_setup);#endif -static struct pci_device_id dscc4_pci_tbl[] = { +static struct pci_device_id dscc4_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_SIEMENS ,PCI_DEVICE_ID_SIEMENS_DSCC4 ,PCI_ANY_ID ,PCI_ANY_ID , }, {0 ,}
drivers/net/wan/lmc/lmc_main.c +1 -1
@@ -82,7 +82,7 @@static int LMC_PKT_BUF_SZ =1542 ; -static struct pci_device_id lmc_pci_tbl[] = { +static struct pci_device_id lmc_pci_tbl[]__devinitdata = { {PCI_VENDOR_ID_DEC ,PCI_DEVICE_ID_DEC_TULIP_FAST ,PCI_VENDOR_ID_LMC ,PCI_ANY_ID }, {PCI_VENDOR_ID_DEC ,PCI_DEVICE_ID_DEC_TULIP_FAST ,
drivers/net/wireless/airo.c +1 -1
@@ -51,7 +51,7 @@#include "airo.h" #ifdef CONFIG_PCI -static struct pci_device_id card_ids[] = { +static struct pci_device_id card_ids[]__devinitdata = { {0x14b9 ,1 ,PCI_ANY_ID ,PCI_ANY_ID , }, {0x14b9 ,0x4500 ,PCI_ANY_ID ,PCI_ANY_ID }, { 0x14b9, 0x4800, PCI_ANY_ID, PCI_ANY_ID, },
drivers/net/wireless/atmel_pci.c +1 -1
@@ -32,7 +32,7 @@MODULE_LICENSE ("GPL" );MODULE_SUPPORTED_DEVICE ("Atmel at76c506 PCI wireless cards" ); -static struct pci_device_id card_ids[] = { +static struct pci_device_id card_ids[]__devinitdata = { {0x1114 ,0x0506 ,PCI_ANY_ID ,PCI_ANY_ID }, {0 , } };
drivers/net/wireless/bcm43xx/bcm43xx_main.c +1 -1
@@ -124,7 +124,7 @@/* Detailed list maintained at: * http://openfacts.berlios.de/index-en.phtml?title¼m43xxDevices */ -static struct pci_device_id bcm43xx_pci_tbl[] = { +static struct pci_device_id bcm43xx_pci_tbl[]__devinitdata = {/* Broadcom 4303 802.11b */ {PCI_VENDOR_ID_BROADCOM ,0x4301 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,0 },/* Broadcom 4307 802.11b */
drivers/net/wireless/ipw2200.c +1 -1
@@ -10810,7 +10810,7 @@ }/* PCI driver stuff */ -static struct pci_device_id card_ids[] = { +static struct pci_device_id card_ids[]__devinitdata = { {PCI_VENDOR_ID_INTEL ,0x1043 ,0x8086 ,0x2701 ,0 ,0 ,0 }, {PCI_VENDOR_ID_INTEL ,0x1043 ,0x8086 ,0x2702 ,0 ,0 ,0 }, {PCI_VENDOR_ID_INTEL ,0x1043 ,0x8086 ,0x2711 ,0 ,0 ,0 },
drivers/net/wireless/orinoco_nortel.c +1 -1
@@ -264,7 +264,7 @@ } -static struct pci_device_id nortel_pci_id_table[] = { +static struct pci_device_id nortel_pci_id_table[]__devinitdata = {/* Nortel emobility PCI */ {0x126c ,0x8030 ,PCI_ANY_ID ,PCI_ANY_ID ,},/* Symbol LA-4123 PCI */
drivers/net/wireless/orinoco_pci.c +1 -1
@@ -347,7 +347,7 @@return 0 ; } -static struct pci_device_id orinoco_pci_pci_id_table[] = { +static struct pci_device_id orinoco_pci_pci_id_table[]__devinitdata = {/* Intersil Prism 3 */ {0x1260 ,0x3872 ,PCI_ANY_ID ,PCI_ANY_ID ,},/* Intersil Prism 2.5 */
drivers/net/wireless/orinoco_plx.c +1 -1
@@ -344,7 +344,7 @@ } -static struct pci_device_id orinoco_plx_pci_id_table[] = { +static struct pci_device_id orinoco_plx_pci_id_table[]__devinitdata = { {0x111a ,0x1023 ,PCI_ANY_ID ,PCI_ANY_ID ,},/* Siemens SpeedStream SS1023 */ {0x1385 ,0x4100 ,PCI_ANY_ID ,PCI_ANY_ID ,},/* Netgear MA301 */ {0x15e8 ,0x0130 ,PCI_ANY_ID ,PCI_ANY_ID ,},/* Correga - does this work? */
drivers/net/wireless/orinoco_tmd.c +1 -1
@@ -216,7 +216,7 @@ } -static struct pci_device_id orinoco_tmd_pci_id_table[] = { +static struct pci_device_id orinoco_tmd_pci_id_table[]__devinitdata = { {0x15e8 ,0x0131 ,PCI_ANY_ID ,PCI_ANY_ID ,},/* NDC and OEMs, e.g. pheecom */ {0 ,}, };
drivers/net/wireless/prism54/islpci_hotplug.c +1 -1
@@ -43,7 +43,7 @@* driver_data * If you have an update for this please contact [email protected] * The latest list can be found at http://prism54.org/supported_cards.php */ -static const struct pci_device_id prism54_id_tbl[] = { +static const struct pci_device_id prism54_id_tbl[]__devinitdata = {/* Intersil PRISM Duette/Prism GT Wireless LAN adapter */ {0x1260 ,0x3890 ,
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors