]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Enable static building of mxge(4) and its firmware.
authorAndrew Gallatin <gallatin@FreeBSD.org>
Thu, 19 Jul 2007 16:16:00 +0000 (16:16 +0000)
committerAndrew Gallatin <gallatin@FreeBSD.org>
Thu, 19 Jul 2007 16:16:00 +0000 (16:16 +0000)
commitf9ae02802f8ad9c6cc0ac7ecb6a92a53200bbe2b
tree561ff88641fa7c5f079548d8847609a88202dc8d
parentb68038fa8c8aba9f88015df5d49100475b5b97aa
- Enable static building of mxge(4) and its firmware.

- Add custom .c wrappers for the firmware, rather than the standard
  firmware(9) generated firmware objects to work around toolchain
  problems on ia64 involving linking objects produced by
  ld -b -binary into the kernel.

- Move from using Myricom's ".dat" firmware blobs to using Myricom's
  zlib compressed ".h" firmware header files.  This is done to
  facilitate the custom wrappers, and saves a fair amount of wired
  memory in the case where the firmware is built in, or preloaded.

- Fix two compile issues in mxge which only appear on non-i386/amd64.

Reviewed by: mlaier, mav (earlier version with just zlib support)
Glanced at by: sam
Approved by: re (kensmith)
12 files changed:
sys/conf/NOTES
sys/conf/files
sys/dev/mxge/eth_z8e.dat.gz.uu [deleted file]
sys/dev/mxge/eth_z8e.h [new file with mode: 0644]
sys/dev/mxge/ethp_z8e.dat.gz.uu [deleted file]
sys/dev/mxge/ethp_z8e.h [new file with mode: 0644]
sys/dev/mxge/if_mxge.c
sys/dev/mxge/mxge_eth_z8e.c [new file with mode: 0644]
sys/dev/mxge/mxge_ethp_z8e.c [new file with mode: 0644]
sys/modules/Makefile
sys/modules/mxge/mxge_eth_z8e/Makefile
sys/modules/mxge/mxge_ethp_z8e/Makefile