cxgb4: minor cleanup
authorDimitris Michailidis <dm@chelsio.com>
Fri, 18 Jun 2010 10:05:35 +0000 (10:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jun 2010 05:08:39 +0000 (22:08 -0700)
Remove an unused flag and replace couple constants with enums.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4.h
drivers/net/cxgb4/cxgb4_main.c

index 5e37c1e67fe98ea5eeca48b53fd716761b26f4b5..62804bb4022dcfd850cf8e1acdb83f5a1ca4ada8 100644 (file)
@@ -309,7 +309,6 @@ enum {                                 /* adapter flags */
        FULL_INIT_DONE     = (1 << 0),
        USING_MSI          = (1 << 1),
        USING_MSIX         = (1 << 2),
-       QUEUES_BOUND       = (1 << 3),
        FW_OK              = (1 << 4),
 };
 
index 352c770901235a7249d47f4ad278f5bab4f294ce..27f65b501a0a8cb4731ab527cd5260c3a78935f0 100644 (file)
@@ -2758,8 +2758,8 @@ static int adap_init1(struct adapter *adap, struct fw_caps_config_cmd *c)
        if (ret < 0)
                return ret;
 
-       ret = t4_cfg_pfvf(adap, 0, 0, 0, 64, 64, 64, 0, 0, 4, 0xf, 0xf, 16,
-                         FW_CMD_CAP_PF, FW_CMD_CAP_PF);
+       ret = t4_cfg_pfvf(adap, 0, 0, 0, MAX_EGRQ, 64, MAX_INGQ, 0, 0, 4,
+                         0xf, 0xf, 16, FW_CMD_CAP_PF, FW_CMD_CAP_PF);
        if (ret < 0)
                return ret;