freebsd-dev/sys/dev/mxge
Andrew Gallatin dedbe8362f Several cleanups and fixes to mxge:
- Remove vestigial null pointer tests after malloc(..., M_WAITOK).

- Remove vestigal qualhack union

- Use strlcpy() instead of the error-prone strncpy() when parsing
  EEPROM and copying strings

- Check the MAC address in the EEPROM strings more strictly.

- Expand the macro MXGE_NEXT_STRING() at its only user. Due to a typo,
  the macro was very confusing.

- Remove unnecessary buffer limit check.  The buffer is double-NUL
  terminated per construction.

PR:		kern/176369
Submitted by:	Christoph Mallon <christoph.mallon gmx.de>
2013-02-25 16:22:40 +00:00
..
eth_z8e.h
ethp_z8e.h
if_mxge_var.h Bump mxge copyright. 2013-02-22 19:23:33 +00:00
if_mxge.c Several cleanups and fixes to mxge: 2013-02-25 16:22:40 +00:00
mcp_gen_header.h
mxge_eth_z8e.c Revert previous commit... 2012-10-10 08:36:38 +00:00
mxge_ethp_z8e.c Revert previous commit... 2012-10-10 08:36:38 +00:00
mxge_mcp.h
mxge_rss_eth_z8e.c Revert previous commit... 2012-10-10 08:36:38 +00:00
mxge_rss_ethp_z8e.c Revert previous commit... 2012-10-10 08:36:38 +00:00
rss_eth_z8e.h
rss_ethp_z8e.h