android_kernel_xiaomi_sm8350/drivers/net
Nick Kossifidis c6e387a214 ath5k: HW code cleanup
* No code changes...

 * Split hw.c to multiple files for better maintenance and add some documentation on each file
   code is going to grow soon (eeprom.c for example is going to get much stuff currently developed
   on ath_info) so it's better this way.

 * Rename following functions to maintain naming scheme:

     ah_setup_xtx_desc -> ah_setup_mrr_tx_desc
     (Because xtx doesn't say much, it's actually
     a multi-rate-retry tx descriptor)

     ath5k_hw_put_tx/rx_buf - > ath5k_hw_set_tx/rxdp
     ath5k_hw_get_tx/rx_buf -> ath5k_hw_get_tx/rxdp
     (We don't put any "buf" we set descriptor pointers on hw)

     ath5k_hw_tx_start -> ath5k_hw_start_tx_dma
     ath5k_hw_start_rx -> ath5k_hw_start_rx_dma
     ath5k_hw_stop_pcu_recv -> ath5k_hw_stop_rx_pcu
     (It's easier this way to identify them, we also
     have ath5k_hw_start_rx_pcu which completes the
     set)

     ath5k_hw_set_intr -> ath5k_hw_set_imr
     (As in get_isr we set imr here, not "intr")

  * Move ath5k_hw_setup_rx_desc on ah->ah_setup_rx_desc so we can
    include support for different rx descriptors in the future

  * Further cleanups so that checkpatch doesn't complain
    (only some > 80 col warnings for eeprom.h and reg.h as usual
    due to comments)

  Tested on 5211 and 5213 cards and works ok.

Changes-licensed-under: ISC
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-09-05 16:15:24 -04:00
..
appletalk
arcnet
arm Merge branch 'upstream-davem' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2008-08-14 14:50:46 -07:00
atl1e atl1e: multistatement if missing braces 2008-08-27 05:36:20 -04:00
atlx atl1: disable TSO by default 2008-08-27 05:36:27 -04:00
bonding bonding: change some __constant_htons() to htons() 2008-09-03 10:03:07 -04:00
can
chelsio
cris
cxgb3
e1000
e1000e e1000e: add support for new 82574L part 2008-09-03 10:08:13 -04:00
ehea
fs_enet fs_enet: Fix SCC Ethernet on CPM2, and crash in fs_enet_rx_napi() 2008-08-27 05:16:38 -04:00
hamradio hamradio: add missing sanity check to tty operation 2008-08-07 02:21:08 -04:00
ibm_newemac ibm_newemac: MAL[12]_IER_EVENTS definition: 2x *_OTE -> *_DE 2008-09-03 10:03:08 -04:00
igb igb: clean up a stray fake netdev code left in rx path 2008-09-03 10:08:17 -04:00
irda [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
ixgb
ixgbe ixgbe: change config srrctl to only program one register per VMDq/RSS id 2008-09-03 10:08:22 -04:00
ixp2000 [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mlx4
myri10ge [netdrvr] removed unused #include <version.h> 2008-09-03 10:24:22 -04:00
netxen [netdrvr] removed unused #include <version.h> 2008-09-03 10:24:22 -04:00
pcmcia
phy
sfc sfc: Rework efx_set_multicast_hash() 2008-09-03 09:53:49 -04:00
skfp drivers/net/skfp/ess.c: fix compile warnings 2008-08-27 05:36:09 -04:00
tokenring [netdrvr] removed unused #include <version.h> 2008-09-03 10:24:22 -04:00
tulip
usb net/usb/mcs7830: add set_mac_address 2008-08-27 05:54:57 -04:00
wan wan: Missing capability checks in sbni_ioctl() 2008-08-27 04:50:30 -07:00
wireless ath5k: HW code cleanup 2008-09-05 16:15:24 -04:00
3c59x.c 3c59x: use netdev_alloc_skb 2008-08-07 02:22:15 -04:00
3c501.c
3c501.h
3c503.c
3c503.h
3c505.c
3c505.h
3c507.c
3c509.c
3c515.c
3c523.c [netdrvr] Drivers should not set IFF_* flag themselves 2008-08-07 02:23:19 -04:00
3c523.h
3c527.c [netdrvr] Drivers should not set IFF_* flag themselves 2008-08-07 02:23:19 -04:00
3c527.h
7990.c
7990.h
8139cp.c 8139cp: use netdev_alloc_skb 2008-09-03 10:24:09 -04:00
8139too.c 8139too: use netdev_alloc_skb 2008-09-03 10:24:14 -04:00
8390.c drivers/net: coding styles fixes to drivers/net/8390.c 2008-08-07 02:21:05 -04:00
8390.h
8390p.c drivers/net: coding styles fixes to drivers/net/8390p.c 2008-08-07 02:21:03 -04:00
82596.c
a2065.c
a2065.h
ac3200.c
acenic_firmware.h
acenic.c [netdrvr] remove unnecessary #include 2008-08-14 04:26:38 -04:00
acenic.h
amd8111e.c
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c
atarilance.c
atp.c [netdrvr] Drivers should not set IFF_* flag themselves 2008-08-07 02:23:19 -04:00
atp.h
au1000_eth.c au1000_eth: use 'unsigned long' for irqflags 2008-08-14 04:27:08 -04:00
au1000_eth.h
ax88796.c AX88796: Fix locking in ethtool support 2008-08-14 04:44:21 -04:00
b44.c
b44.h
bfin_mac.c
bfin_mac.h
bmac.c
bmac.h
bnx2_fw2.h
bnx2_fw.h
bnx2.c bnx2: Fix build with VLAN_8021Q disabled. 2008-08-15 19:52:31 -07:00
bnx2.h
bnx2x_fw_defs.h bnx2x: Checkpatch compliance 2008-08-13 16:05:38 -07:00
bnx2x_hsi.h bnx2x: Spelling mistakes 2008-08-13 16:05:37 -07:00
bnx2x_init_values.h bnx2x: FW Internal Memory structure 2008-08-13 16:01:48 -07:00
bnx2x_init.h bnx2x: Checkpatch compliance 2008-08-13 16:05:38 -07:00
bnx2x_link.c [netdrvr] remove unnecessary #include 2008-08-14 04:26:38 -04:00
bnx2x_link.h bnx2x: Spelling mistakes 2008-08-13 16:05:37 -07:00
bnx2x_main.c bnx2x: Version update 2008-08-25 15:30:39 -07:00
bnx2x_reg.h bnx2x: Spelling mistakes 2008-08-13 16:05:37 -07:00
bnx2x.h bnx2x: Rx work check 2008-08-25 15:19:17 -07:00
bsd_comp.c
cassini.c
cassini.h
cpmac.c [netdrvr] remove unnecessary #include 2008-08-14 04:26:38 -04:00
cs89x0.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
cs89x0.h
de600.c
de600.h
de620.c [netdrvr] Drivers should not set IFF_* flag themselves 2008-08-07 02:23:19 -04:00
de620.h
declance.c
defxx.c
defxx.h
depca.c
depca.h
dl2k.c
dl2k.h
dm9000.c dm9000: Support MAC address setting through platform data. 2008-08-07 02:22:54 -04:00
dm9000.h
dummy.c
e100.c e100, fix iomap read 2008-08-27 05:55:35 -04:00
e2100.c
eepro100.c
eepro.c [netdrvr] Drivers should not set IFF_* flag themselves 2008-08-07 02:23:19 -04:00
eexpress.c
eexpress.h
enc28j60_hw.h
enc28j60.c
epic100.c
eql.c
es3210.c
eth16i.c [netdrvr] Drivers should not set IFF_* flag themselves 2008-08-07 02:23:19 -04:00
ewrk3.c
ewrk3.h
fealnx.c
fec_mpc52xx_phy.c
fec_mpc52xx.c
fec_mpc52xx.h
fec.c
fec.h
forcedeth.c forcedeth: fix checksum flag 2008-08-27 05:55:04 -04:00
gianfar_ethtool.c
gianfar_mii.c
gianfar_mii.h
gianfar_sysfs.c [netdrvr] remove unnecessary #include 2008-08-14 04:26:38 -04:00
gianfar.c net: don't grab a mutex within a timer context in gianfar 2008-08-27 05:55:19 -04:00
gianfar.h net: don't grab a mutex within a timer context in gianfar 2008-08-27 05:55:19 -04:00
hamachi.c
hp100.c
hp100.h
hp-plus.c
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c ibmveth: fix bad UDP checksums 2008-08-27 05:36:57 -04:00
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c
ipg.h [netdrvr] remove unnecessary #include 2008-08-14 04:26:38 -04:00
isa-skeleton.c
iseries_veth.c
jazzsonic.c
Kconfig Blackfin EMAC Driver: the BF526 also supports the MAC, 2008-08-27 05:14:14 -04:00
korina.c
lance.c
lasi_82596.c
lib8390.c
lib82596.c
LICENSE.SRC
lne390.c
loopback.c loopback: Drop obsolete ip_summed setting 2008-08-15 19:52:01 -07:00
lp486e.c [netdrvr] Drivers should not set IFF_* flag themselves 2008-08-07 02:23:19 -04:00
mac89x0.c
mac8390.c
macb.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c
Makefile hp-plus: fix link objects 2008-09-03 10:03:07 -04:00
meth.c METH: fix MAC address setup 2008-08-07 02:11:19 -04:00
meth.h
mii.c
mipsnet.c
mv643xx_eth.c mv643xx_eth: bump version to 1.3 2008-08-24 07:36:39 +02:00
mvme147.c
myri_code.h
myri_sbus.c
myri_sbus.h
natsemi.c
ne2.c
ne2k-pci.c
ne3210.c
ne-h8300.c
ne.c [netdrvr] ne: Use CONFIG_MACH_TX49XX 2008-08-14 04:44:11 -04:00
netconsole.c
netx-eth.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
ni52.c [netdrvr] Drivers should not set IFF_* flag themselves 2008-08-07 02:23:19 -04:00
ni52.h
ni65.c
ni65.h
ni5010.c [netdrvr] Drivers should not set IFF_* flag themselves 2008-08-07 02:23:19 -04:00
ni5010.h
niu.c
niu.h
ns83820.c
pasemi_mac_ethtool.c
pasemi_mac.c
pasemi_mac.h
pci-skeleton.c
pcnet32.c
plip.c
ppp_async.c
ppp_deflate.c
ppp_generic.c
ppp_mppe.c [netdrvr] remove unnecessary #include 2008-08-14 04:26:38 -04:00
ppp_mppe.h
ppp_synctty.c
pppoe.c
pppol2tp.c [netdrvr] remove unnecessary #include 2008-08-14 04:26:38 -04:00
pppox.c
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
qla3xxx.c qla3xxx: driver version change. 2008-08-07 02:11:15 -04:00
qla3xxx.h qla3xxx: cleanup: Remove some unused structure definitions and structure elements. 2008-08-07 02:11:14 -04:00
r6040.c [netdrvr] remove unnecessary #include 2008-08-14 04:26:38 -04:00
r8169.c Merge branch 'r8169-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/romieu/netdev-2.6 into upstream-next 2008-09-03 10:21:20 -04:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c s2io: reindented misleading for loop 2008-09-03 10:24:24 -04:00
s2io.h
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c [netdrvr] remove unnecessary #include 2008-08-14 04:26:38 -04:00
sh_eth.h [netdrvr] sh_eth: Add SH7619 support 2008-08-07 02:20:57 -04:00
sis190.c
sis900.c
sis900.h
skge.c
skge.h
sky2.c sky2: display product info on boot. 2008-09-03 10:23:58 -04:00
sky2.h sky2: fix PM related regressions 2008-08-07 01:55:50 -04:00
slhc.c
slip.c
slip.h
smc91x.c [netdrvr] smc91x: fix resource removal (null ptr deref) 2008-08-27 05:54:30 -04:00
smc91x.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
smc911x.c
smc911x.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
smc9194.c
smc9194.h
smc-mca.c
smc-ultra32.c
smc-ultra.c
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c
spider_net.h
starfire_firmware.h
starfire_firmware.pl
starfire.c
stnic.c
sun3_82586.c [netdrvr] Drivers should not set IFF_* flag themselves 2008-08-07 02:23:19 -04:00
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c
sungem_phy.c
sungem_phy.h
sungem.c
sungem.h
sunhme.c
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti_fw.h
tehuti.c
tehuti.h [netdrvr] remove unnecessary #include 2008-08-14 04:26:38 -04:00
tg3.c tg3: Update version to 3.94 2008-08-15 14:11:19 -07:00
tg3.h tg3: Fix firmware event timeouts 2008-08-15 14:10:04 -07:00
tlan.c tlan: Fix two regressions introduced by 64bit conversion. 2008-08-14 04:28:12 -04:00
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c tun: fallback if skb_alloc() fails on big packets 2008-08-15 19:52:31 -07:00
typhoon-firmware.h
typhoon.c [netdrvr] remove unnecessary #include 2008-08-14 04:26:38 -04:00
typhoon.h
ucc_geth_ethtool.c
ucc_geth_mii.c
ucc_geth_mii.h
ucc_geth.c
ucc_geth.h
veth.c
via-rhine.c via-rhine: changed to use netdev_alloc_skb() from dev_alloc_skb 2008-09-03 10:24:04 -04:00
via-velocity.c
via-velocity.h
virtio_net.c
wd.c [netdrvr] fix build issue: undefined reference to `NS8390p_init' 2008-08-27 05:17:46 -04:00
xen-netfront.c xen-netfront: use netif_start_queue() on xennet_open() 2008-08-07 02:11:17 -04:00
yellowfin.c
znet.c
zorro8390.c