RT3070 driver update
authorMatt Sealey <matt@genesi-usa.com>
Tue, 24 Aug 2010 18:14:49 +0000 (13:14 -0500)
committerMatt Sealey <matt@genesi-usa.com>
Tue, 24 Aug 2010 18:14:49 +0000 (13:14 -0500)
commitac1b2eb6ffb111e5bdfd8e2e5f843a66d7718043
treeac54531dc8e97445514066fca44aa218e117e0c6
parenta055a4143ea6f1249b417e75ef6a5ce44e63c9d1
RT3070 driver update

1) remove mainline (net/wireless/usb versions) from config since they don't do anything but associate
2) port drivers/staging/ ralink drivers from Linus' tree to here
   includes update to hexdump.c and kernel.h for hex_to_bin (replaces nibble, ABI change)
   includes update to ralink driver source to modify usb_alloc/free_coherent to old usb_buffer_alloc/free
   add it to the defconfig

You will need to grab the "Firmware RT28XX/RT30XX USB series" firmware (v 22 or above) from

http://www.ralink.com.tw/support.php?s=2

Unzip the zip file, inside is a license and rt2870.bin (an 8192 byte file). Copy this to
/lib/firmware/rt3070.bin (note the name change!) and the driver should load and work. Tested
with multiple pings, traceroutes, file copies (SCP and CIFS), YouTube..
200 files changed:
arch/arm/configs/mx51_efikamx_defconfig
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/rt2860/2860_main_dev.c [deleted file]
drivers/staging/rt2860/Kconfig
drivers/staging/rt2860/Makefile
drivers/staging/rt2860/TODO
drivers/staging/rt2860/aironet.h [deleted file]
drivers/staging/rt2860/ap.h
drivers/staging/rt2860/chip/mac_pci.h [new file with mode: 0644]
drivers/staging/rt2860/chip/mac_usb.h [new file with mode: 0644]
drivers/staging/rt2860/chip/rt2860.h [new file with mode: 0644]
drivers/staging/rt2860/chip/rt2870.h [new file with mode: 0644]
drivers/staging/rt2860/chip/rt3070.h [new file with mode: 0644]
drivers/staging/rt2860/chip/rt3090.h [new file with mode: 0644]
drivers/staging/rt2860/chip/rt30xx.h [new file with mode: 0644]
drivers/staging/rt2860/chip/rtmp_mac.h [new file with mode: 0644]
drivers/staging/rt2860/chip/rtmp_phy.h [new file with mode: 0644]
drivers/staging/rt2860/chips/rt3070.c [new file with mode: 0644]
drivers/staging/rt2860/chips/rt3090.c [new file with mode: 0644]
drivers/staging/rt2860/chips/rt30xx.c [new file with mode: 0644]
drivers/staging/rt2860/chlist.h
drivers/staging/rt2860/common/2860_rtmp_init.c [deleted file]
drivers/staging/rt2860/common/action.c
drivers/staging/rt2860/common/action.h
drivers/staging/rt2860/common/ba_action.c
drivers/staging/rt2860/common/cmm_aes.c [new file with mode: 0644]
drivers/staging/rt2860/common/cmm_asic.c [new file with mode: 0644]
drivers/staging/rt2860/common/cmm_cfg.c [new file with mode: 0644]
drivers/staging/rt2860/common/cmm_data.c
drivers/staging/rt2860/common/cmm_data_2860.c [deleted file]
drivers/staging/rt2860/common/cmm_data_pci.c [new file with mode: 0644]
drivers/staging/rt2860/common/cmm_data_usb.c [new file with mode: 0644]
drivers/staging/rt2860/common/cmm_info.c
drivers/staging/rt2860/common/cmm_mac_pci.c [new file with mode: 0644]
drivers/staging/rt2860/common/cmm_mac_usb.c [new file with mode: 0644]
drivers/staging/rt2860/common/cmm_sanity.c
drivers/staging/rt2860/common/cmm_sync.c
drivers/staging/rt2860/common/cmm_tkip.c [new file with mode: 0644]
drivers/staging/rt2860/common/cmm_wep.c [new file with mode: 0644]
drivers/staging/rt2860/common/cmm_wpa.c
drivers/staging/rt2860/common/crypt_hmac.c [new file with mode: 0644]
drivers/staging/rt2860/common/crypt_md5.c [new file with mode: 0644]
drivers/staging/rt2860/common/crypt_sha2.c [new file with mode: 0644]
drivers/staging/rt2860/common/dfs.c
drivers/staging/rt2860/common/ee_efuse.c [new file with mode: 0644]
drivers/staging/rt2860/common/ee_prom.c [new file with mode: 0644]
drivers/staging/rt2860/common/eeprom.c
drivers/staging/rt2860/common/firmware.h [deleted file]
drivers/staging/rt2860/common/md5.c [deleted file]
drivers/staging/rt2860/common/mlme.c
drivers/staging/rt2860/common/rt_channel.c [new file with mode: 0644]
drivers/staging/rt2860/common/rt_rf.c [new file with mode: 0644]
drivers/staging/rt2860/common/rtmp_init.c
drivers/staging/rt2860/common/rtmp_mcu.c [new file with mode: 0644]
drivers/staging/rt2860/common/rtmp_timer.c [new file with mode: 0644]
drivers/staging/rt2860/common/rtmp_tkip.c [deleted file]
drivers/staging/rt2860/common/rtmp_wep.c [deleted file]
drivers/staging/rt2860/common/spectrum.c
drivers/staging/rt2860/config.mk [deleted file]
drivers/staging/rt2860/crypt_hmac.h [new file with mode: 0644]
drivers/staging/rt2860/crypt_md5.h [new file with mode: 0644]
drivers/staging/rt2860/crypt_sha2.h [new file with mode: 0644]
drivers/staging/rt2860/dfs.h
drivers/staging/rt2860/eeprom.h [new file with mode: 0644]
drivers/staging/rt2860/iface/rtmp_pci.h [new file with mode: 0644]
drivers/staging/rt2860/iface/rtmp_usb.h [new file with mode: 0644]
drivers/staging/rt2860/link_list.h [deleted file]
drivers/staging/rt2860/md4.h [deleted file]
drivers/staging/rt2860/md5.h [deleted file]
drivers/staging/rt2860/mlme.h
drivers/staging/rt2860/oid.h
drivers/staging/rt2860/pci_main_dev.c [new file with mode: 0644]
drivers/staging/rt2860/rt2860.h [deleted file]
drivers/staging/rt2860/rt28xx.h [deleted file]
drivers/staging/rt2860/rt_config.h
drivers/staging/rt2860/rt_linux.c
drivers/staging/rt2860/rt_linux.h
drivers/staging/rt2860/rt_main_dev.c
drivers/staging/rt2860/rt_pci_rbus.c [new file with mode: 0644]
drivers/staging/rt2860/rt_profile.c [deleted file]
drivers/staging/rt2860/rt_usb.c [new file with mode: 0644]
drivers/staging/rt2860/rtmp.h
drivers/staging/rt2860/rtmp_chip.h [new file with mode: 0644]
drivers/staging/rt2860/rtmp_ckipmic.h
drivers/staging/rt2860/rtmp_def.h
drivers/staging/rt2860/rtmp_dot11.h [new file with mode: 0644]
drivers/staging/rt2860/rtmp_iface.h [new file with mode: 0644]
drivers/staging/rt2860/rtmp_mcu.h [new file with mode: 0644]
drivers/staging/rt2860/rtmp_os.h [new file with mode: 0644]
drivers/staging/rt2860/rtmp_timer.h [new file with mode: 0644]
drivers/staging/rt2860/rtmp_type.h
drivers/staging/rt2860/rtusb_io.h [new file with mode: 0644]
drivers/staging/rt2860/spectrum.h
drivers/staging/rt2860/spectrum_def.h
drivers/staging/rt2860/sta/aironet.c [deleted file]
drivers/staging/rt2860/sta/assoc.c
drivers/staging/rt2860/sta/auth.c
drivers/staging/rt2860/sta/auth_rsp.c
drivers/staging/rt2860/sta/connect.c
drivers/staging/rt2860/sta/rtmp_data.c
drivers/staging/rt2860/sta/sanity.c
drivers/staging/rt2860/sta/sync.c
drivers/staging/rt2860/sta/wpa.c
drivers/staging/rt2860/sta_ioctl.c
drivers/staging/rt2860/usb_main_dev.c [new file with mode: 0644]
drivers/staging/rt2860/wpa.h
drivers/staging/rt2870/2870_main_dev.c [deleted file]
drivers/staging/rt2870/Kconfig
drivers/staging/rt2870/Makefile
drivers/staging/rt2870/chips/rt3070.c [new file with mode: 0644]
drivers/staging/rt2870/chips/rt30xx.c [new file with mode: 0644]
drivers/staging/rt2870/common/2870_rtmp_init.c [deleted file]
drivers/staging/rt2870/common/acction.c [new file with mode: 0644]
drivers/staging/rt2870/common/cmm_aes.c [new file with mode: 0644]
drivers/staging/rt2870/common/cmm_asic.c [new file with mode: 0644]
drivers/staging/rt2870/common/cmm_cfg.c [new file with mode: 0644]
drivers/staging/rt2870/common/cmm_data_2870.c [deleted file]
drivers/staging/rt2870/common/cmm_data_usb.c [new file with mode: 0644]
drivers/staging/rt2870/common/cmm_mac_usb.c [new file with mode: 0644]
drivers/staging/rt2870/common/cmm_profile.c [new file with mode: 0644]
drivers/staging/rt2870/common/cmm_tkip.c [new file with mode: 0644]
drivers/staging/rt2870/common/cmm_wep.c [new file with mode: 0644]
drivers/staging/rt2870/common/crypt_hmac.c [new file with mode: 0644]
drivers/staging/rt2870/common/crypt_md5.c [new file with mode: 0644]
drivers/staging/rt2870/common/crypt_sha2.c [new file with mode: 0644]
drivers/staging/rt2870/common/ee_efuse.c [new file with mode: 0644]
drivers/staging/rt2870/common/firmware.h [deleted file]
drivers/staging/rt2870/common/rt_channel.c [new file with mode: 0644]
drivers/staging/rt2870/common/rt_rf.c [new file with mode: 0644]
drivers/staging/rt2870/common/rtmp_mcu.c [new file with mode: 0644]
drivers/staging/rt2870/common/rtmp_timer.c [new file with mode: 0644]
drivers/staging/rt2870/common/rtusb_bulk.c
drivers/staging/rt2870/common/rtusb_data.c
drivers/staging/rt2870/common/rtusb_io.c
drivers/staging/rt2870/link_list.h [deleted file]
drivers/staging/rt2870/md4.h [deleted file]
drivers/staging/rt2870/rt2870.h [deleted file]
drivers/staging/rt2870/rt_usb.c [new file with mode: 0644]
drivers/staging/rt2870/usb_main_dev.c [new file with mode: 0644]
drivers/staging/rt3070/2870_main_dev.c [deleted file]
drivers/staging/rt3070/Kconfig [deleted file]
drivers/staging/rt3070/Makefile [deleted file]
drivers/staging/rt3070/action.h [deleted file]
drivers/staging/rt3070/aironet.h [deleted file]
drivers/staging/rt3070/ap.h [deleted file]
drivers/staging/rt3070/chlist.h [deleted file]
drivers/staging/rt3070/common/2870_rtmp_init.c [deleted file]
drivers/staging/rt3070/common/action.c [deleted file]
drivers/staging/rt3070/common/ba_action.c [deleted file]
drivers/staging/rt3070/common/cmm_data.c [deleted file]
drivers/staging/rt3070/common/cmm_data_2870.c [deleted file]
drivers/staging/rt3070/common/cmm_info.c [deleted file]
drivers/staging/rt3070/common/cmm_sanity.c [deleted file]
drivers/staging/rt3070/common/cmm_sync.c [deleted file]
drivers/staging/rt3070/common/cmm_wpa.c [deleted file]
drivers/staging/rt3070/common/dfs.c [deleted file]
drivers/staging/rt3070/common/eeprom.c [deleted file]
drivers/staging/rt3070/common/md5.c [deleted file]
drivers/staging/rt3070/common/mlme.c [deleted file]
drivers/staging/rt3070/common/rtmp_init.c [deleted file]
drivers/staging/rt3070/common/rtmp_tkip.c [deleted file]
drivers/staging/rt3070/common/rtmp_wep.c [deleted file]
drivers/staging/rt3070/common/rtusb_bulk.c [deleted file]
drivers/staging/rt3070/common/rtusb_data.c [deleted file]
drivers/staging/rt3070/common/rtusb_io.c [deleted file]
drivers/staging/rt3070/common/spectrum.c [deleted file]
drivers/staging/rt3070/dfs.h [deleted file]
drivers/staging/rt3070/firmware.h [deleted file]
drivers/staging/rt3070/link_list.h [deleted file]
drivers/staging/rt3070/md4.h [deleted file]
drivers/staging/rt3070/md5.h [deleted file]
drivers/staging/rt3070/mlme.h [deleted file]
drivers/staging/rt3070/oid.h [deleted file]
drivers/staging/rt3070/rt2870.h [deleted file]
drivers/staging/rt3070/rt28xx.h [deleted file]
drivers/staging/rt3070/rt_config.h [deleted file]
drivers/staging/rt3070/rt_linux.c [deleted file]
drivers/staging/rt3070/rt_linux.h [deleted file]
drivers/staging/rt3070/rt_main_dev.c [deleted file]
drivers/staging/rt3070/rt_profile.c [deleted file]
drivers/staging/rt3070/rtmp.h [deleted file]
drivers/staging/rt3070/rtmp_ckipmic.h [deleted file]
drivers/staging/rt3070/rtmp_def.h [deleted file]
drivers/staging/rt3070/rtmp_type.h [deleted file]
drivers/staging/rt3070/spectrum.h [deleted file]
drivers/staging/rt3070/spectrum_def.h [deleted file]
drivers/staging/rt3070/sta/aironet.c [deleted file]
drivers/staging/rt3070/sta/assoc.c [deleted file]
drivers/staging/rt3070/sta/auth.c [deleted file]
drivers/staging/rt3070/sta/auth_rsp.c [deleted file]
drivers/staging/rt3070/sta/connect.c [deleted file]
drivers/staging/rt3070/sta/rtmp_data.c [deleted file]
drivers/staging/rt3070/sta/sanity.c [deleted file]
drivers/staging/rt3070/sta/sync.c [deleted file]
drivers/staging/rt3070/sta/wpa.c [deleted file]
drivers/staging/rt3070/sta_ioctl.c [deleted file]
drivers/staging/rt3070/wpa.h [deleted file]
include/linux/kernel.h
lib/hexdump.c