Skip to contentSkip to conversation

Simplify Intel Wired LAN driver init/exit routine

PATCH In review Jean Sacren 2 participants 2 messages Sep 2, 2014 – Sep 3, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Simplify Intel Wired LAN driver init/exit routine

This series uses module_pci_driver() to simplify the init/exit routine of some Intel Wired LAN drivers.

Jean Sacren (6):
ixgb: remove the boilerplate of ixgb module for init/exit
ixgbevf: remove the boilerplate of ixgbevf module for init/exit
e100: remove the boilerplate of e100 module for init/exit
igbvf: remove the boilerplate of igbvf module for init/exit
e1000e: remove the boilerplate of e1000e module for init/exit
i40evf: remove the boilerplate of i40evf module for init/exit

 drivers/net/ethernet/intel/e100.c                 | 22 ++++---------
 drivers/net/ethernet/intel/e1000e/netdev.c        | 35 +++-----------------
 drivers/net/ethernet/intel/i40evf/i40evf_main.c   | 37 +++------------------
 drivers/net/ethernet/intel/igbvf/netdev.c         | 35 +++-----------------
 drivers/net/ethernet/intel/ixgb/ixgb_main.c       | 39 +++--------------------
 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 38 ++++------------------
 6 files changed, 32 insertions(+), 174 deletions(-)

------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired

#1 lore raw
Quoted 11 lines · Jean Sacren

This series uses module_pci_driver() to simplify the init/exit routine of some Intel Wired LAN drivers.

Jean Sacren (6):
ixgb: remove the boilerplate of ixgb module for init/exit
ixgbevf: remove the boilerplate of ixgbevf module for init/exit
e100: remove the boilerplate of e100 module for init/exit
igbvf: remove the boilerplate of igbvf module for init/exit
e1000e: remove the boilerplate of e1000e module for init/exit
i40evf: remove the boilerplate of i40evf module for init/exit

Quoted 8 lines
 drivers/net/ethernet/intel/e100.c                 | 22 ++++---------
 drivers/net/ethernet/intel/e1000e/netdev.c        | 35 +++-----------------
 drivers/net/ethernet/intel/i40evf/i40evf_main.c   | 37 +++------------------
 drivers/net/ethernet/intel/igbvf/netdev.c         | 35 +++-----------------
 drivers/net/ethernet/intel/ixgb/ixgb_main.c       | 39 +++--------------------
 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 38 ++++------------------
 6 files changed, 32 insertions(+), 174 deletions(-)

I have gone ahead and added this series to my queue. We have some concerns that these changes will make it more difficult to debug the drivers, so I will have these go through our validation as well.