diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-02-16 18:16:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 18:16:45 -0500 |
commit | 496c185c9495629ef1c65387cb2594578393cfe0 (patch) | |
tree | 4bf3e64ffd535328d9b5f05740d411298982cc37 /drivers/net/atl1c/atl1c.h | |
parent | d5aa407f59f5b83d2c50ec88f5bf56d40f1f8978 (diff) |
atl1c: Add support for Atheros AR8152 and AR8152
AR8151 is a Gigabit Ethernet device. AR8152 devices are
Fast Ethernet devices, there are two revisions, a 1.0
and a 2.0 revision.
This has been tested against these devices:
Driver Model-name vendor:device Type
atl1c AR8131 1969:1063 Gigabit Ethernet
atl1c AR8132 1969:1062 Fast Ethernet
atl1c AR8151(v1.0) 1969:1073 Gigabit Ethernet
atl1c AR8152(v1.1) 1969:2060 Fast Ethernet
This device has no hardware available yet so it goes untested,
but it should work:
atl1c AR8152(v2.0) 1969:2062 Fast Ethernet
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atl1c/atl1c.h')
-rw-r--r-- | drivers/net/atl1c/atl1c.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/net/atl1c/atl1c.h b/drivers/net/atl1c/atl1c.h index efe5435bc3d3..84ae905bf732 100644 --- a/drivers/net/atl1c/atl1c.h +++ b/drivers/net/atl1c/atl1c.h | |||
@@ -313,6 +313,9 @@ enum atl1c_rss_type { | |||
313 | enum atl1c_nic_type { | 313 | enum atl1c_nic_type { |
314 | athr_l1c = 0, | 314 | athr_l1c = 0, |
315 | athr_l2c = 1, | 315 | athr_l2c = 1, |
316 | athr_l2c_b, | ||
317 | athr_l2c_b2, | ||
318 | athr_l1d, | ||
316 | }; | 319 | }; |
317 | 320 | ||
318 | enum atl1c_trans_queue { | 321 | enum atl1c_trans_queue { |
@@ -426,8 +429,12 @@ struct atl1c_hw { | |||
426 | #define ATL1C_ASPM_L1_SUPPORT 0x0100 | 429 | #define ATL1C_ASPM_L1_SUPPORT 0x0100 |
427 | #define ATL1C_ASPM_CTRL_MON 0x0200 | 430 | #define ATL1C_ASPM_CTRL_MON 0x0200 |
428 | #define ATL1C_HIB_DISABLE 0x0400 | 431 | #define ATL1C_HIB_DISABLE 0x0400 |
429 | #define ATL1C_LINK_CAP_1000M 0x0800 | 432 | #define ATL1C_APS_MODE_ENABLE 0x0800 |
430 | #define ATL1C_FPGA_VERSION 0x8000 | 433 | #define ATL1C_LINK_EXT_SYNC 0x1000 |
434 | #define ATL1C_CLK_GATING_EN 0x2000 | ||
435 | #define ATL1C_FPGA_VERSION 0x8000 | ||
436 | u16 link_cap_flags; | ||
437 | #define ATL1C_LINK_CAP_1000M 0x0001 | ||
431 | u16 cmb_tpd; | 438 | u16 cmb_tpd; |
432 | u16 cmb_rrd; | 439 | u16 cmb_rrd; |
433 | u16 cmb_rx_timer; /* 2us resolution */ | 440 | u16 cmb_rx_timer; /* 2us resolution */ |