6–Linux Driver Software
Patching PCI Files (Optional)
35
83840-546-00 N
To unload the driver, use ifconfig to bring down all eth# interfaces opened by the
driver, and then issue the following command:
rmmod bnx2x
If the driver was installed using RPM, issue the following command to remove it:
rpm -e netxtreme2
Uninstalling QCC GUI
For information about removing QCC GUI, see the
Installation Guide:
QConvergeConsole GUI
(part number SN0051105-00).
Patching PCI Files (Optional)
For hardware detection utilities such as Red Hat kudzu, you may need to update
several files containing PCI vendor and device information to properly identify
bnx2x supported devices.
Apply the updates by running the scripts provided in the supplemental
.tar
file.
For example, on Red Hat Enterprise Linux, apply the updates by issuing the
following commands:
./patch_pcitbl.sh /usr/share/hwdata/pcitable pci.updates
/usr/share/hwdata/pcitable.new bnx
2
./patch_pciids.sh /usr/share/hwdata/pci.ids pci.updates
/usr/share/hwdata/pci.ids.new
Next, back up the old files and rename the new files for use by issuing the
following commands:
cp /usr/share/hwdata/pci.ids /usr/share/hwdata/old.pci.ids
cp /usr/share/hwdata/pci.ids.new /usr/share/hwdata/pci.ids
cp /usr/share/hwdata/pcitable /usr/share/hwdata/old.pcitable
cp /usr/share/hwdata/pcitable.new /usr/share/hwdata/pcitable
NOTE
The
rmmod bnx2x
command will not remove the cnic module or the
offload protocol driver modules. These modules must be removed using
“Installing the KMP/KMOD Package” on page 32
NOTE
The examples used in this procedure refer to the bnx2x driver, but also apply
to the bnx2fc and bnx2i drivers.