Commit graph

116 commits

Author SHA1 Message Date
Gabor Juhos
2702ae4e8f ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlock
SVN-Revision: 20004
2010-03-05 20:29:22 +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
1612fd447d ar71xx: enable TX/RX flow control on the AR7240
SVN-Revision: 19832
2010-02-24 13:38:41 +00:00
Gabor Juhos
49c4df5487 rtl8366: make it available on all platforms
SVN-Revision: 19329
2010-01-25 15:13:38 +00:00
Gabor Juhos
97b983c8b9 rtl8366s: simplify mib counters handling
SVN-Revision: 19326
2010-01-25 14:24:53 +00:00
Gabor Juhos
2b5ba9073f rtl8366_smi: move RTL8366S driver into a separate file
SVN-Revision: 19279
2010-01-22 17:38:07 +00:00
Gabor Juhos
46b0e6643a rtl8366_smi: rename rtl8366s specific functions and definitions
SVN-Revision: 19278
2010-01-22 17:37:58 +00:00
Gabor Juhos
08055fd6d1 rtl8366_smi: move chip specific stuff into its own struct
SVN-Revision: 19277
2010-01-22 17:37:53 +00:00
Gabor Juhos
de751af190 rtl8366_smi: separate gpio initialization
SVN-Revision: 19276
2010-01-22 17:37:50 +00:00
Gabor Juhos
a1247d2f83 rtl8366_smi: store GPIO numbers directly in the rtl8366_smi struct
SVN-Revision: 19275
2010-01-22 17:37:47 +00:00
Gabor Juhos
ab278275ee rtl8366_smi: store device pointer instead of plaform_device
SVN-Revision: 19274
2010-01-22 17:37:41 +00:00
Gabor Juhos
edfa82ab60 rtl8366_smi: rename switch attribute handlers
SVN-Revision: 19254
2010-01-21 12:13:43 +00:00
Gabor Juhos
7aefde9f66 rtl8366_smi: simplify rtl8366_attr_get_port_link function
SVN-Revision: 19250
2010-01-20 20:36:30 +00:00
Gabor Juhos
83fb9f73e1 rtl8366_smi: make rtl8366_phy_config_{aneg,init} static
SVN-Revision: 19249
2010-01-20 20:36:27 +00:00
Gabor Juhos
cad07a09c1 rtl8366_smi: simplify rtl8366_{get,set}_port_vlan_index functions
SVN-Revision: 19248
2010-01-20 20:36:24 +00:00
Gabor Juhos
50849c6cff rtl8366_smi: minor code optimalizations
SVN-Revision: 19247
2010-01-20 20:36:21 +00:00
Gabor Juhos
3e6b3ea088 rtl8366_smi: coding style cleanup
SVN-Revision: 19246
2010-01-20 17:40:39 +00:00
Gabor Juhos
5e5451a54d rtl8366_smi: add Kconfig option for the debugfs stuff
SVN-Revision: 19243
2010-01-20 09:30:36 +00:00
Gabor Juhos
0d48b043b1 rtl8366_smi: fix error checking in rtl8366s_set_vlan_4k_entry
SVN-Revision: 19242
2010-01-20 09:30:32 +00:00
Gabor Juhos
0296b24f80 rtl8366_smi: fix parameter checking in rtl8366_attr_get_vlan_info
SVN-Revision: 19241
2010-01-20 09:30:25 +00:00
Gabor Juhos
743e7617b0 rtl8366_smi: fix return codes in rtl8366s_reset_vlan
SVN-Revision: 19240
2010-01-20 07:06:18 +00:00
Gabor Juhos
43815d730b rtl8366_smi: move variable initialization out from the loop
SVN-Revision: 19239
2010-01-20 07:06:15 +00:00
Gabor Juhos
fbc389ae9d rtl8366_smi: fix port->flags calculation in rtl8366_get_ports
SVN-Revision: 19237
2010-01-20 07:06:10 +00:00
Gabor Juhos
c4838a0f9e rtl8366_smi: use inline function instead of a macro on top of container_of
SVN-Revision: 19215
2010-01-18 09:01:40 +00:00
Felix Fietkau
88ddc59655 rtl8366_smi: reset the vlan table when resetting the switch and use vlan get/set ports for vlan member lists
SVN-Revision: 19206
2010-01-18 00:12:12 +00:00
Felix Fietkau
b228fd428a rtl8366_smi: fix excessive stack usage and buffer handling bugs
SVN-Revision: 19205
2010-01-18 00:12:07 +00:00
Felix Fietkau
8394a32815 ar71xx: fix return statement in the rtl8366 driver
SVN-Revision: 19204
2010-01-17 22:57:08 +00:00
Gabor Juhos
d2229cb1cc rtl8366_smi: register the switch directly from the probe routine
SVN-Revision: 19202
2010-01-17 21:37:09 +00:00
Gabor Juhos
088ba7e1db rtl8366_smi: use vlanmc name for all vlanconfig variables
SVN-Revision: 19201
2010-01-17 21:17:59 +00:00
Gabor Juhos
639212697d rtl8366_smi: use vlan4k name for all vlan4kentry variables
SVN-Revision: 19200
2010-01-17 21:17:57 +00:00
Gabor Juhos
9cb11e2eef rtl8366_smi: move memset into the rtl8366s_get_member_config function
SVN-Revision: 19199
2010-01-17 21:17:53 +00:00
Gabor Juhos
f55beb9e9b rtl8366_smi: move memset into the rtl8366s_get_vlan_4k_entry function
SVN-Revision: 19198
2010-01-17 21:17:49 +00:00
Gabor Juhos
7f9b0eca90 rtl8366_smi: add vid parameter to the rtl8366s_get_vlan_4k_entry function
SVN-Revision: 19197
2010-01-17 21:17:46 +00:00
Gabor Juhos
a90792056c ar71xx: upgrade rtl8366_smi driver
Thanks to Antti Seppälä.
Patch from https://forum.openwrt.org/viewtopic.php?pid=100150#p100150

SVN-Revision: 19196
2010-01-17 21:17:42 +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
46b572636b ar71xx: update Kconfig of the ag71xx driver
SVN-Revision: 19032
2010-01-04 14:28:28 +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
Felix Fietkau
6a90a35f2b Revert "ar71xx: move phy_connect call to ag71xx_open" (r18691) It's causing issues with switch drivers that register with swconfig and makes fixing those unnecessarily complicated. Fixes rtl8306 switch support on the WRT160NL.
SVN-Revision: 18789
2009-12-15 22:37:54 +00:00
Gabor Juhos
8956009fa6 ar71xx: fix NULL pointer dereference in the ethernet driver
SVN-Revision: 18755
2009-12-11 19:32:58 +00:00
Gabor Juhos
18885b425c ar71xx: merge ag71xx specific patches
SVN-Revision: 18751
2009-12-11 16:41:40 +00:00
Gabor Juhos
d38fd20cb7 ar71xx: move mdio_bus reset code
SVN-Revision: 18749
2009-12-11 12:21:15 +00:00
Gabor Juhos
cc1b9a6046 ar71xx: add mdio bus driver for the rtl8366 switch
SVN-Revision: 18694
2009-12-08 10:29:35 +00:00