Get the driver from here, look for Linux version.Once downloaded, extract the file and look for the following file: netxtreme2-7.8.56.tar.gz. (Your version might be different).It seems like there is some activity between Broadcom and Qlogic and now the nextreme2 drivers are housed on Qlogic website. The link should be this, if it is not accessible, you have to search within Qlogic site (look for the Downloads page).- Copy this file to the machine where BCM 57810 in installed. Once copy, extract this using tar xvfz netxtreme2-7.8.56.tar.gz
- Go into this extracted directory and execute make l2build. If you see the following error, you need to edit a file in step 4, else just jump to step 5.
- Open this file - netxtreme2-7.8.56/bnx2x-1.78.58/src/Makefile and search for Werror. Comment away this line as shown below and save the file.
- Execute sudo make l2build install. Installation is successful if there is no error reported.
- Execute sudo modprobe bnx2x. If no error reported, you should be able to see this module when executing lsmod. Execute ifconfig should also show new interface.
cc1: all warnings being treated as errors make[3]: *** [/home/ceph-2/Downloads/netxtreme2-7.8.56/bnx2x-1.78.58/src/bnx2x_main.o] Error 1 make[2]: *** [_module_/home/ceph-2/Downloads/netxtreme2-7.8.56/bnx2x-1.78.58/src] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.34.11' make[1]: *** [bnx2x.o] Error 2 make[1]: Leaving directory `/home/ceph-2/Downloads/netxtreme2-7.8.56/bnx2x-1.78.58/src' make: *** [l2build] Error 2
ifeq ($(DISABLE_WERROR),) #override EXTRA_CFLAGS += -Werror endif