diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-09-29 04:39:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-30 23:03:05 -0400 |
commit | fbcbe56cf4c6e880c1902cc066168f79ec5c2b27 (patch) | |
tree | d779ffd9187289383871a65f577314879c1ab1ca /drivers/net/qlge/qlge.h | |
parent | 6ad3810b0ec9e00eb00500ec4f7a554aa8f5a577 (diff) |
qlge: Fix bad bit definitions.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r-- | drivers/net/qlge/qlge.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index a9845a2f243f..30d5585beeee 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -1381,15 +1381,15 @@ struct intr_context { | |||
1381 | 1381 | ||
1382 | /* adapter flags definitions. */ | 1382 | /* adapter flags definitions. */ |
1383 | enum { | 1383 | enum { |
1384 | QL_ADAPTER_UP = (1 << 0), /* Adapter has been brought up. */ | 1384 | QL_ADAPTER_UP = 0, /* Adapter has been brought up. */ |
1385 | QL_LEGACY_ENABLED = (1 << 3), | 1385 | QL_LEGACY_ENABLED = 1, |
1386 | QL_MSI_ENABLED = (1 << 3), | 1386 | QL_MSI_ENABLED = 2, |
1387 | QL_MSIX_ENABLED = (1 << 4), | 1387 | QL_MSIX_ENABLED = 3, |
1388 | QL_DMA64 = (1 << 5), | 1388 | QL_DMA64 = 4, |
1389 | QL_PROMISCUOUS = (1 << 6), | 1389 | QL_PROMISCUOUS = 5, |
1390 | QL_ALLMULTI = (1 << 7), | 1390 | QL_ALLMULTI = 6, |
1391 | QL_PORT_CFG = (1 << 8), | 1391 | QL_PORT_CFG = 7, |
1392 | QL_CAM_RT_SET = (1 << 9), | 1392 | QL_CAM_RT_SET = 8, |
1393 | }; | 1393 | }; |
1394 | 1394 | ||
1395 | /* link_status bit definitions */ | 1395 | /* link_status bit definitions */ |