Gabor Juhos
4c29a2c263
ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
...
Cc: backfire@openwrt.org
SVN-Revision: 20751
2010-04-09 08:40:06 +00:00
Gabor Juhos
4a28844d80
ar71xx: ag71xx: call the phy driver's netif_receive_skb()
...
Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers
to mangle rx packets. This patch fixes it.
This fixes the header mangling of the AR8216 driver.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc:backfire@openwrt.org
SVN-Revision: 20750
2010-04-09 08:38:46 +00:00
Gabor Juhos
c874513cfa
ar71xx: fix broken LAN ports on the boards with AR8216 switch ( closes #7024 )
...
* cc: backfire@openwrt.org
SVN-Revision: 20673
2010-04-03 13:59:08 +00:00
Gabor Juhos
f9acf8ada1
ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper
...
SVN-Revision: 20505
2010-03-27 13:05:24 +00:00
Gabor Juhos
9a1031ce6d
ar71xx: change PHY select logic, and update phy_masks
...
SVN-Revision: 20358
2010-03-21 18:16:07 +00:00
Gabor Juhos
2a818f388a
ar71xx: ag71xx: fix MAC address setup
...
SVN-Revision: 20092
2010-03-09 18:05:36 +00:00
Gabor Juhos
a4bccded57
ar71xx: ag71xx: move link update function
...
SVN-Revision: 20003
2010-03-05 20:29:18 +00:00
Gabor Juhos
eacf9a7614
ar71xx: ag71xx: don't use dev->trans_start
...
SVN-Revision: 20002
2010-03-05 20:29:14 +00:00
Gabor Juhos
ba288eeb84
ar71xx: ag71xx: use dma_unmap_single to unmap frames
...
SVN-Revision: 20001
2010-03-05 20:29:10 +00:00
Gabor Juhos
0e4eaea770
ar71xx: ag71xx: use correct device pointer for dma_map_single
...
SVN-Revision: 19951
2010-03-02 13:36:18 +00:00
Gabor Juhos
84823e1477
ar71xx: ag71xx: don't use virt_to_phys
...
SVN-Revision: 19950
2010-03-02 13:36:15 +00:00
Gabor Juhos
4a987d6008
ar71xx: ag71xx: simplify register access functions
...
SVN-Revision: 19949
2010-03-02 13:36:12 +00:00
Gabor Juhos
e157281c5d
ar71xx: ag71xx: use NETDEV_TX_OK
...
SVN-Revision: 19948
2010-03-02 13:36:09 +00:00
Gabor Juhos
d8ace8978a
ar71xx: add NAPI statistics to the ag71xx driver
...
SVN-Revision: 19079
2010-01-08 20:22:55 +00:00
Jo-Philipp Wich
d8bd549d71
fix typo after r19054
...
SVN-Revision: 19059
2010-01-06 20:16:07 +00:00
Gabor Juhos
51c76750fc
ar71xx: add detailed interrupt statistics for the ag71xx driver
...
SVN-Revision: 19054
2010-01-06 15:24:01 +00:00
Gabor Juhos
63a320c8f7
ar71xx: add dummy debugfs support for the ag71xx driver
...
SVN-Revision: 19031
2010-01-04 14:28:25 +00:00
Gabor Juhos
18867965f7
ar71xx: add support for external mii_bus
...
SVN-Revision: 18692
2009-12-08 10:29:27 +00:00
Gabor Juhos
21fc9ffe63
ar71xx: use soc specific divider for mdio clock
...
SVN-Revision: 18225
2009-10-30 12:26:22 +00:00
Gabor Juhos
8458d7c73b
ar71xx: flush mii register writes
...
SVN-Revision: 17695
2009-09-23 17:44:08 +00:00
Gabor Juhos
0eba7ba4ff
ar71xx: don't use mac_base2 in the ag71xx driver
...
SVN-Revision: 17693
2009-09-23 17:44:02 +00:00
Gabor Juhos
6ed55b43d7
ar71xx: remove some extern directives in the ag71xx driver
...
SVN-Revision: 17692
2009-09-23 17:43:57 +00:00
Gabor Juhos
d99dcbca9f
ag71xx driver: fix a typo
...
SVN-Revision: 16827
2009-07-13 12:20:02 +00:00
Gabor Juhos
a579511dbf
ag71xx driver: align descriptors on cache_line boundary
...
SVN-Revision: 16825
2009-07-13 11:40:10 +00:00
Gabor Juhos
82a084680a
ag71xx driver: store descriptor pointers in ag71xx_buf
...
SVN-Revision: 16824
2009-07-13 11:38:37 +00:00
Gabor Juhos
b1f5f1d3b0
ag71xx driver: descriptors always aligned on 4 byte boundary
...
SVN-Revision: 16818
2009-07-12 16:04:28 +00:00
Gabor Juhos
a6e3c605bc
add AR7240 specific fixes for the ag71xx driver
...
SVN-Revision: 16737
2009-07-07 18:06:02 +00:00
Gabor Juhos
0fd8d0fad8
fix a bitmask in the ag71xx driver
...
SVN-Revision: 16658
2009-07-02 17:23:11 +00:00
Gabor Juhos
0e8a23d053
ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable switch driver
...
SVN-Revision: 14655
2009-02-25 16:47:11 +00:00
Gabor Juhos
df267a8e2e
ag71xx driver: add Kconfig option for enabling debug messages
...
SVN-Revision: 14517
2009-02-15 13:12:43 +00:00
Gabor Juhos
bc8dc1cdba
ag71xx driver: apply 2.6.28 specific patches
...
SVN-Revision: 14515
2009-02-15 07:57:29 +00:00
Gabor Juhos
e697d8c27f
ag71xx driver: fix a kernel crash caused by r14496
...
SVN-Revision: 14504
2009-02-13 20:36:39 +00:00
Gabor Juhos
39628cdd5f
ag71xx driver: fix return code of the napi poll routine, was broken since [13545] (patch by Ubiquiti Networks)
...
SVN-Revision: 14496
2009-02-13 11:16:57 +00:00
Gabor Juhos
4bcc027e97
ag71xx driver: update phy connecting code
...
SVN-Revision: 14495
2009-02-13 10:43:40 +00:00
Gabor Juhos
6bea544949
move random MAC address generation into the platform initialization code
...
SVN-Revision: 14204
2009-01-26 14:55:09 +00:00
Gabor Juhos
5ea042a30d
ag71xx driver: increase size of dma descriptors
...
SVN-Revision: 13561
2008-12-09 10:16:49 +00:00
Gabor Juhos
4b6e4d88a9
ag71xx driver: use same FIFO configuration for all SOC
...
SVN-Revision: 13560
2008-12-09 09:42:57 +00:00
Gabor Juhos
206ccdf4ae
ag71xx driver: add OOM handler
...
SVN-Revision: 13545
2008-12-08 13:15:12 +00:00
Gabor Juhos
c33682316e
ag71xx driver: NAPI poll cleanup
...
SVN-Revision: 13538
2008-12-07 09:46:41 +00:00
Gabor Juhos
398ff859da
ag71xx driver: handle TX timout
...
SVN-Revision: 13537
2008-12-07 06:43:02 +00:00
Gabor Juhos
d6382555f4
ag71xx driver: always use NAPI to transmit packets
...
SVN-Revision: 13529
2008-12-06 10:03:36 +00:00
Gabor Juhos
fcbd66fef1
ag71xx driver: improve poll routine
...
SVN-Revision: 13525
2008-12-05 20:08:00 +00:00
Gabor Juhos
a6be4564b7
ag71xx driver: always flush register writes
...
SVN-Revision: 13524
2008-12-05 19:42:02 +00:00
Gabor Juhos
9afbc8dd61
ag71xx driver: don't use dma_cache_wback_inv
...
SVN-Revision: 13523
2008-12-05 10:39:46 +00:00
Gabor Juhos
17cc4d671c
ag71xx driver: don't use CHECKSUM_UNNECCESARY ( closes #4161 )
...
SVN-Revision: 13522
2008-12-05 07:15:45 +00:00
Gabor Juhos
19a57a7794
ag71xx driver: fix RX_STATUS_OF bitmask, and add DMA status register bit descriptions
...
SVN-Revision: 13463
2008-12-02 08:49:22 +00:00
Gabor Juhos
6d0181c4fb
ag71xx driver: reset DMA registers in hardware initialization
...
SVN-Revision: 13459
2008-12-01 21:21:36 +00:00
Gabor Juhos
4e61cbbf5e
ag71xx driver: fix a typo
...
SVN-Revision: 13445
2008-11-30 13:20:12 +00:00
Gabor Juhos
cbc625ee70
ag71xx driver: clean up hardware initialization
...
SVN-Revision: 13395
2008-11-28 14:08:53 +00:00
Gabor Juhos
f506e75eb0
ag71xx driver: add more register bit definitions
...
SVN-Revision: 13387
2008-11-27 22:40:34 +00:00