[PATCH 00/21] e1000 code cleanup and iNVM support
Andrey Smirnov
andrew.smirnov at gmail.com
Tue May 31 10:09:19 PDT 2016
Hi everyone,
First part of this patchset is code cleanups and bug fixes that I made when
adding support for iNVM and NOR flash (latter is not included in the
patchset) read/write functionality.
Second part (namely the last patch in the series) add support for
accessig on-chip OTP on i210 network card (called iNVM by the vendor)
via character device.
Any comments/feedback is wellcome!
Thank you,
Andrey Smirnov
Andrey Smirnov (21):
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
drivers/net/Makefile | 2 +-
drivers/net/e1000.c | 4455 --------------------------------------------
drivers/net/e1000.h | 2093 ---------------------
drivers/net/e1000/e1000.h | 2182 ++++++++++++++++++++++
drivers/net/e1000/eeprom.c | 1087 +++++++++++
drivers/net/e1000/main.c | 3696 ++++++++++++++++++++++++++++++++++++
drivers/net/e1000/regio.c | 71 +
7 files changed, 7037 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