firmware: convert acenic driver to request_firmware()
We store the firmware in its native big-endian form now, so the loop in ace_copy() is modified to use be32_to_cpup() when writing it out. We can forget the BSS,SBSS sections of the firmware, since we were clearing all the device's RAM anyway. And the text,rodata,data sections can all be loaded as a single chunk since they're contiguous (give or take a few dozen bytes in between). Signed-off-by:Jaswinder Singh <jaswinder@infradead.org> Signed-off-by:
David Woodhouse <dwmw2@infradead.org> Acked-by:
Jes Sorensen <jes@sgi.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/acenic.c 71 additions, 46 deletionsdrivers/net/acenic.c
- drivers/net/acenic.h 4 additions, 0 deletionsdrivers/net/acenic.h
- firmware/Makefile 7 additions, 0 deletionsfirmware/Makefile
- firmware/WHENCE 11 additions, 0 deletionsfirmware/WHENCE
- firmware/acenic/tg1.bin.ihex 4573 additions, 0 deletionsfirmware/acenic/tg1.bin.ihex
- firmware/acenic/tg2.bin.ihex 4844 additions, 0 deletionsfirmware/acenic/tg2.bin.ihex
Loading
Please register or sign in to comment