HWW-1U-1A: e1000 driver cleanups and new features
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | e1000: Clean up handling of dual-port NICs and support 82571 | +0 | 0 replies | |
| 2/5 | e1000: Restructure and streamline PCI device probing | +0 | 0 replies | |
| 3/5 | e1000: Rewrite EEPROM checksum error to give more information | +0 | 0 replies | |
| 4/5 | e1000: Export core EEPROM access functions for SPI support | +0 | 0 replies | |
| 5/5 | e1000: Allow direct access to the E1000 SPI EEPROM device | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/5] HWW-1U-1A: e1000 driver cleanups and new features
Dear Kyle Moffett,
Quoted 9 lines · In message <[email protected]> you…
This is a reposted patch series from several months that enhances the e1000 driver in U-Boot to support the Intel 82571EB and provides several new features for the board manufacturing process.
Based on prior review, the EEPROM programming and SPI code has been moved into a separate file, "
e1000_spi.c", and it calls a few exported functions in the maine1000.cfile to coordinate EEPROM access.Comments, critiques, and compliments are highly appreciated.
Critique: I wonder how you tested your patches, if at all :-(
They generate a ton of warnings:
e1000.c: In function 'e1000_raise_ee_clk':
e1000.c:155: warning: unused variable 'x'e1000.c: In function 'e1000_lower_ee_clk':
e1000.c:172: warning: unused variable 'x'e1000.c: In function 'e1000_shift_out_ee_bits':
e1000.c:208: warning: unused variable 'x'e1000.c: In function 'e1000_standby_eeprom':
e1000.c:279: warning: unused variable 'x'
e1000.c:285: warning: unused variable 'x'
e1000.c:291: warning: unused variable 'x'
e1000.c:297: warning: unused variable 'x'
e1000.c:303: warning: unused variable 'x'
e1000.c:307: warning: unused variable 'x'e1000.c: In function 'e1000_release_eeprom':
e1000.c:689: warning: unused variable 'x'
e1000.c:695: warning: unused variable 'x'e1000.c: In function 'e1000_reset_hw':
e1000.c:1401: warning: unused variable 'x'
e1000.c:1428: warning: unused variable 'x'e1000.c: In function 'e1000_init_hw':
e1000.c:1635: warning: unused variable 'x'
e1000.c:1647: warning: unused variable 'x'
e1000.c:1661: warning: unused variable 'x'e1000.c: In function 'e1000_setup_fiber_link':
e1000.c:2029: warning: unused variable 'x'e1000.c: In function 'e1000_config_collision_dist':
e1000.c:3235: warning: unused variable 'x'e1000.c: In function 'e1000_raise_mdi_clk':
e1000.c:3960: warning: unused variable 'x'e1000.c: In function 'e1000_lower_mdi_clk':
e1000.c:3977: warning: unused variable 'x'e1000.c: In function 'e1000_shift_out_mdi_bits':
e1000.c:4020: warning: unused variable 'x'e1000.c: In function 'e1000_shift_in_mdi_bits':
e1000.c:4059: warning: unused variable 'x'e1000.c: In function 'e1000_phy_hw_reset':
e1000.c:4341: warning: unused variable 'x'
e1000.c:4349: warning: unused variable 'x'
e1000.c:4362: warning: unused variable 'x'
e1000.c:4366: warning: unused variable 'x'e1000.c: In function 'e1000_configure_rx':
e1000.c:4991: warning: unused variable 'x'e1000.c: In function 'e1000_transmit':
e1000.c:5049: warning: unused variable 'x'e1000.c: In function 'e1000_initialize':
e1000.c:869: warning: 'checksum' may be used uninitialized in this function e1000.c:869: note: 'checksum' was declared here
Please fix!!!
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I am a computer. I am dumber than any human and smarter than any ad- ministrator.