diff options
author | David S. Miller <davem@davemloft.net> | 2008-07-14 23:23:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-14 23:23:54 -0400 |
commit | 2aec609fb45e84d65bc8eabc7b650bbecb1cc179 (patch) | |
tree | eb3e8a79604113392d0ee74b19dbc1dfce579c11 /drivers/net/wireless/rt2x00 | |
parent | 4c8894980010536915c4f5513ee180e3614aeca9 (diff) | |
parent | 9076689ab07974a6f5d230fc241448f7a77e9078 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
net/netfilter/nf_conntrack_proto_tcp.c
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 11 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500pci.c | 11 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 7 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 9 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 9 |
5 files changed, 47 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index ee953ca0c6a3..91cbd9e560bd 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -733,6 +733,17 @@ static int rt2400pci_init_registers(struct rt2x00_dev *rt2x00dev) | |||
733 | (rt2x00dev->rx->data_size / 128)); | 733 | (rt2x00dev->rx->data_size / 128)); |
734 | rt2x00pci_register_write(rt2x00dev, CSR9, reg); | 734 | rt2x00pci_register_write(rt2x00dev, CSR9, reg); |
735 | 735 | ||
736 | rt2x00pci_register_read(rt2x00dev, CSR14, ®); | ||
737 | rt2x00_set_field32(®, CSR14_TSF_COUNT, 0); | ||
738 | rt2x00_set_field32(®, CSR14_TSF_SYNC, 0); | ||
739 | rt2x00_set_field32(®, CSR14_TBCN, 0); | ||
740 | rt2x00_set_field32(®, CSR14_TCFP, 0); | ||
741 | rt2x00_set_field32(®, CSR14_TATIMW, 0); | ||
742 | rt2x00_set_field32(®, CSR14_BEACON_GEN, 0); | ||
743 | rt2x00_set_field32(®, CSR14_CFP_COUNT_PRELOAD, 0); | ||
744 | rt2x00_set_field32(®, CSR14_TBCM_PRELOAD, 0); | ||
745 | rt2x00pci_register_write(rt2x00dev, CSR14, reg); | ||
746 | |||
736 | rt2x00pci_register_write(rt2x00dev, CNT3, 0x3f080000); | 747 | rt2x00pci_register_write(rt2x00dev, CNT3, 0x3f080000); |
737 | 748 | ||
738 | rt2x00pci_register_read(rt2x00dev, ARCSR0, ®); | 749 | rt2x00pci_register_read(rt2x00dev, ARCSR0, ®); |
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c index 0423c251c78e..0f2a0e22fd71 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/rt2x00/rt2500pci.c | |||
@@ -831,6 +831,17 @@ static int rt2500pci_init_registers(struct rt2x00_dev *rt2x00dev) | |||
831 | rt2x00_set_field32(®, CSR11_CW_SELECT, 0); | 831 | rt2x00_set_field32(®, CSR11_CW_SELECT, 0); |
832 | rt2x00pci_register_write(rt2x00dev, CSR11, reg); | 832 | rt2x00pci_register_write(rt2x00dev, CSR11, reg); |
833 | 833 | ||
834 | rt2x00pci_register_read(rt2x00dev, CSR14, ®); | ||
835 | rt2x00_set_field32(®, CSR14_TSF_COUNT, 0); | ||
836 | rt2x00_set_field32(®, CSR14_TSF_SYNC, 0); | ||
837 | rt2x00_set_field32(®, CSR14_TBCN, 0); | ||
838 | rt2x00_set_field32(®, CSR14_TCFP, 0); | ||
839 | rt2x00_set_field32(®, CSR14_TATIMW, 0); | ||
840 | rt2x00_set_field32(®, CSR14_BEACON_GEN, 0); | ||
841 | rt2x00_set_field32(®, CSR14_CFP_COUNT_PRELOAD, 0); | ||
842 | rt2x00_set_field32(®, CSR14_TBCM_PRELOAD, 0); | ||
843 | rt2x00pci_register_write(rt2x00dev, CSR14, reg); | ||
844 | |||
834 | rt2x00pci_register_write(rt2x00dev, CNT3, 0); | 845 | rt2x00pci_register_write(rt2x00dev, CNT3, 0); |
835 | 846 | ||
836 | rt2x00pci_register_read(rt2x00dev, TXCSR8, ®); | 847 | rt2x00pci_register_read(rt2x00dev, TXCSR8, ®); |
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index 0dd1cb537b92..367db10b96d9 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c | |||
@@ -812,6 +812,13 @@ static int rt2500usb_init_registers(struct rt2x00_dev *rt2x00dev) | |||
812 | rt2x00_set_field16(®, TXRX_CSR8_BBP_ID1_VALID, 0); | 812 | rt2x00_set_field16(®, TXRX_CSR8_BBP_ID1_VALID, 0); |
813 | rt2500usb_register_write(rt2x00dev, TXRX_CSR8, reg); | 813 | rt2500usb_register_write(rt2x00dev, TXRX_CSR8, reg); |
814 | 814 | ||
815 | rt2500usb_register_read(rt2x00dev, TXRX_CSR19, ®); | ||
816 | rt2x00_set_field16(®, TXRX_CSR19_TSF_COUNT, 0); | ||
817 | rt2x00_set_field16(®, TXRX_CSR19_TSF_SYNC, 0); | ||
818 | rt2x00_set_field16(®, TXRX_CSR19_TBCN, 0); | ||
819 | rt2x00_set_field16(®, TXRX_CSR19_BEACON_GEN, 0); | ||
820 | rt2500usb_register_write(rt2x00dev, TXRX_CSR19, reg); | ||
821 | |||
815 | rt2500usb_register_write(rt2x00dev, TXRX_CSR21, 0xe78f); | 822 | rt2500usb_register_write(rt2x00dev, TXRX_CSR21, 0xe78f); |
816 | rt2500usb_register_write(rt2x00dev, MAC_CSR9, 0xff1d); | 823 | rt2500usb_register_write(rt2x00dev, MAC_CSR9, 0xff1d); |
817 | 824 | ||
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index bbf1048f6400..5a1330c5de71 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -1198,6 +1198,15 @@ static int rt61pci_init_registers(struct rt2x00_dev *rt2x00dev) | |||
1198 | rt2x00_set_field32(®, TXRX_CSR8_ACK_CTS_54MBS, 42); | 1198 | rt2x00_set_field32(®, TXRX_CSR8_ACK_CTS_54MBS, 42); |
1199 | rt2x00pci_register_write(rt2x00dev, TXRX_CSR8, reg); | 1199 | rt2x00pci_register_write(rt2x00dev, TXRX_CSR8, reg); |
1200 | 1200 | ||
1201 | rt2x00pci_register_read(rt2x00dev, TXRX_CSR9, ®); | ||
1202 | rt2x00_set_field32(®, TXRX_CSR9_BEACON_INTERVAL, 0); | ||
1203 | rt2x00_set_field32(®, TXRX_CSR9_TSF_TICKING, 0); | ||
1204 | rt2x00_set_field32(®, TXRX_CSR9_TSF_SYNC, 0); | ||
1205 | rt2x00_set_field32(®, TXRX_CSR9_TBTT_ENABLE, 0); | ||
1206 | rt2x00_set_field32(®, TXRX_CSR9_BEACON_GEN, 0); | ||
1207 | rt2x00_set_field32(®, TXRX_CSR9_TIMESTAMP_COMPENSATE, 0); | ||
1208 | rt2x00pci_register_write(rt2x00dev, TXRX_CSR9, reg); | ||
1209 | |||
1201 | rt2x00pci_register_write(rt2x00dev, TXRX_CSR15, 0x0000000f); | 1210 | rt2x00pci_register_write(rt2x00dev, TXRX_CSR15, 0x0000000f); |
1202 | 1211 | ||
1203 | rt2x00pci_register_write(rt2x00dev, MAC_CSR6, 0x00000fff); | 1212 | rt2x00pci_register_write(rt2x00dev, MAC_CSR6, 0x00000fff); |
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index 3ef318e098e7..25d8b660051f 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -1016,6 +1016,15 @@ static int rt73usb_init_registers(struct rt2x00_dev *rt2x00dev) | |||
1016 | rt2x00_set_field32(®, TXRX_CSR8_ACK_CTS_54MBS, 42); | 1016 | rt2x00_set_field32(®, TXRX_CSR8_ACK_CTS_54MBS, 42); |
1017 | rt73usb_register_write(rt2x00dev, TXRX_CSR8, reg); | 1017 | rt73usb_register_write(rt2x00dev, TXRX_CSR8, reg); |
1018 | 1018 | ||
1019 | rt73usb_register_read(rt2x00dev, TXRX_CSR9, ®); | ||
1020 | rt2x00_set_field32(®, TXRX_CSR9_BEACON_INTERVAL, 0); | ||
1021 | rt2x00_set_field32(®, TXRX_CSR9_TSF_TICKING, 0); | ||
1022 | rt2x00_set_field32(®, TXRX_CSR9_TSF_SYNC, 0); | ||
1023 | rt2x00_set_field32(®, TXRX_CSR9_TBTT_ENABLE, 0); | ||
1024 | rt2x00_set_field32(®, TXRX_CSR9_BEACON_GEN, 0); | ||
1025 | rt2x00_set_field32(®, TXRX_CSR9_TIMESTAMP_COMPENSATE, 0); | ||
1026 | rt73usb_register_write(rt2x00dev, TXRX_CSR9, reg); | ||
1027 | |||
1019 | rt73usb_register_write(rt2x00dev, TXRX_CSR15, 0x0000000f); | 1028 | rt73usb_register_write(rt2x00dev, TXRX_CSR15, 0x0000000f); |
1020 | 1029 | ||
1021 | rt73usb_register_read(rt2x00dev, MAC_CSR6, ®); | 1030 | rt73usb_register_read(rt2x00dev, MAC_CSR6, ®); |