]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnx2x/bnx2x.c
net/bnx2x: move PCI device ids to the driver
[dpdk.git] / drivers / net / bnx2x / bnx2x.c
index 10859c1373e58b7717c34f7a9396a400e239c99c..95fbad8d1e73c1a15fb2a39e7228947dca9914fe 100644 (file)
@@ -22,7 +22,6 @@
 #include "ecore_init_ops.h"
 
 #include "rte_version.h"
-#include "rte_pci_dev_ids.h"
 
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -9572,7 +9571,7 @@ void bnx2x_load_firmware(struct bnx2x_softc *sc)
        int f;
        struct stat st;
 
-       fwname = sc->devinfo.device_id == BNX2X_DEV_ID_57711
+       fwname = sc->devinfo.device_id == CHIP_NUM_57711
                ? FW_NAME_57711 : FW_NAME_57810;
        f = open(fwname, O_RDONLY);
        if (f < 0) {