[PATCH v2 00/22] e1000 code cleanup and iNVM support

Andrey Smirnov andrew.smirnov at gmail.com
Wed Jun 1 21:58:29 PDT 2016


Hi everyone,

Here's the second version of the patchset, changes since v1:

 - Reworked register offset remapping as per Trent's suggestion


Andrey Smirnov (22):
  e1000: Split driver into multiple files
  e1000: Include <net.h> in e1000.h
  e1000: Convert E1000_*_REG macros to functions
  e1000: Fix a bug in e1000_detect_gig_phy
  e1000: Remove unnecessary variable
  e1000: Do not read same register twice
  e1000: Remove unneeded i210 specific register code
  e1000: Consolidate register offset fixups
  e1000: Remove 'use_eewr' parameter
  e1000: Remove 'page_size'
  e1000: Simplify EEPROM init for e1000_80003es2lan
  e1000: Simplify EEPROM init for e1000_igb
  e1000: Consolidate SPI EEPROM init code
  e1000: Consolidate Microwire EEPROM init code
  e1000: Fix a bug in e1000_probe()
  e1000: Remove unnecessary intialization
  e1000: Refactor Flash/EEPROM reading code
  e1000: Properly release SW_FW_SYNC semaphore bits
  e1000: Add EEPROM access locking for i210
  e1000: Add a "poll register" function
  e1000: Expose i210's iNVM as a cdev
  e1000: Expose i210's external flash as MTD

 drivers/net/Makefile       |    2 +-
 drivers/net/e1000.c        | 4455 --------------------------------------------
 drivers/net/e1000.h        | 2093 ---------------------
 drivers/net/e1000/e1000.h  | 2217 ++++++++++++++++++++++
 drivers/net/e1000/eeprom.c | 1471 +++++++++++++++
 drivers/net/e1000/main.c   | 3702 ++++++++++++++++++++++++++++++++++++
 drivers/net/e1000/regio.c  |   70 +
 7 files changed, 7461 insertions(+), 6549 deletions(-)
 delete mode 100644 drivers/net/e1000.c
 delete mode 100644 drivers/net/e1000.h
 create mode 100644 drivers/net/e1000/e1000.h
 create mode 100644 drivers/net/e1000/eeprom.c
 create mode 100644 drivers/net/e1000/main.c
 create mode 100644 drivers/net/e1000/regio.c

-- 
2.5.5




More information about the barebox mailing list