diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2009-04-28 14:14:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-06 15:14:55 -0400 |
commit | 15e469284d5e89c9113379b68566b0e059a97704 (patch) | |
tree | 9900894c6620016c7ae5dff5a89af1f906bdc72a /drivers/net/wireless/rt2x00/rt2800usb.h | |
parent | e430d6074dede3b4d7d87e30296fe3894cb4709c (diff) |
rt2x00: Synchronize initialization with rt2870 driver
Ralink released a new rt2870 driver, these are the obvious
differences I could find. It doesn't same to make my device
work better, but neither does it seem to regress...
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800usb.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.h b/drivers/net/wireless/rt2x00/rt2800usb.h index 8e4291d280b3..61a8be61d3f5 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.h +++ b/drivers/net/wireless/rt2x00/rt2800usb.h | |||
@@ -1375,6 +1375,10 @@ struct mac_iveiv_entry { | |||
1375 | * H2M_MAILBOX_CID: | 1375 | * H2M_MAILBOX_CID: |
1376 | */ | 1376 | */ |
1377 | #define H2M_MAILBOX_CID 0x7014 | 1377 | #define H2M_MAILBOX_CID 0x7014 |
1378 | #define H2M_MAILBOX_CID_CMD0 FIELD32(0x000000ff) | ||
1379 | #define H2M_MAILBOX_CID_CMD1 FIELD32(0x0000ff00) | ||
1380 | #define H2M_MAILBOX_CID_CMD2 FIELD32(0x00ff0000) | ||
1381 | #define H2M_MAILBOX_CID_CMD3 FIELD32(0xff000000) | ||
1378 | 1382 | ||
1379 | /* | 1383 | /* |
1380 | * H2M_MAILBOX_STATUS: | 1384 | * H2M_MAILBOX_STATUS: |
@@ -1715,6 +1719,7 @@ struct mac_iveiv_entry { | |||
1715 | #define MCU_SLEEP 0x30 | 1719 | #define MCU_SLEEP 0x30 |
1716 | #define MCU_WAKEUP 0x31 | 1720 | #define MCU_WAKEUP 0x31 |
1717 | #define MCU_RADIO_OFF 0x35 | 1721 | #define MCU_RADIO_OFF 0x35 |
1722 | #define MCU_CURRENT 0x36 | ||
1718 | #define MCU_LED 0x50 | 1723 | #define MCU_LED 0x50 |
1719 | #define MCU_LED_STRENGTH 0x51 | 1724 | #define MCU_LED_STRENGTH 0x51 |
1720 | #define MCU_LED_1 0x52 | 1725 | #define MCU_LED_1 0x52 |
@@ -1723,6 +1728,12 @@ struct mac_iveiv_entry { | |||
1723 | #define MCU_RADAR 0x60 | 1728 | #define MCU_RADAR 0x60 |
1724 | #define MCU_BOOT_SIGNAL 0x72 | 1729 | #define MCU_BOOT_SIGNAL 0x72 |
1725 | #define MCU_BBP_SIGNAL 0x80 | 1730 | #define MCU_BBP_SIGNAL 0x80 |
1731 | #define MCU_POWER_SAVE 0x83 | ||
1732 | |||
1733 | /* | ||
1734 | * MCU mailbox tokens | ||
1735 | */ | ||
1736 | #define TOKEN_WAKUP 3 | ||
1726 | 1737 | ||
1727 | /* | 1738 | /* |
1728 | * DMA descriptor defines. | 1739 | * DMA descriptor defines. |