summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/net/ramips_esw.c
Commit message (Collapse)AuthorAgeFilesLines
* ramips: initial support for Sitecom WL-351 v1 002juhosg2011-12-231-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This add support for the Sitecom WL-351 v1 002. In principle the Engenius ESR9850 should also work with this, but I don't have the hardware to test it. Since an external gigabit switch (RTL8366RB) is used, I had to modify the ramips_esw driver to add a 'bypass' mode, which just configures it to not filter the vlan tags. Also two initialization words (FCT2 and FPA2) are set to different values by u-boot than what the driver is using and it only seems to work correctly when they not overridden by the driver, so I added them to the platform specific data as reg_initval_fct2 and reg_initval_fpa2. With this wired lan works as expected, however I'm still having some trouble with the wireless lan: It only works after I rmmod & re-insmod rt2800pci and then reconfigure it in the webinterface, but not directly after rebooting. The symptom of this is wpad saying: Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1) Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN) Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated But wpa_supplicant on the client saying: Authentication with <wl351mac> timed out. Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for the Senao/EnGenius ESR-9753 boardjuhosg2011-12-231-0/+12
| | | | | | Signed-off-by: Artur Wronowski <arteqw@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: allow to specify port layout for the switch of the RT305x/RT3350juhosg2011-08-151-13/+44
| | | | | | Based on a patch by Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix a section mismatch warningjuhosg2011-07-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27382 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: fix typosjuhosg2011-01-041-2/+2
| | | | | | Patch from #8577. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24898 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add more definitionsjuhosg2010-12-081-3/+49
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add helper function to set pvidjuhosg2010-12-081-1/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24339 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add helper function to set vlan membersjuhosg2010-12-081-1/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add helper function to set VLAN idjuhosg2010-12-081-2/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24337 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} functionjuhosg2010-12-081-0/+23
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: use rt305x_esw prefix in function namesjuhosg2010-12-081-33/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: coding style cleanupjuhosg2010-12-081-24/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: add defines for switch register offsetsjuhosg2010-12-081-24/+52
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24333 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: don't touch GPIO_PURPOSE registerjuhosg2010-12-081-20/+0
| | | | | | It must have been set by the board initialization code. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24332 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: convert it to be a platform driverjuhosg2010-12-081-7/+73
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24331 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: move hardware initialization into a separate functionjuhosg2010-12-081-8/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24330 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: ramips_esw: use a private structure for the functionsjuhosg2010-12-081-36/+43
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] fixes dma hangups in ethblogic2009-10-251-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18139 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] make default llll/w vlan setup in eswblogic2009-10-241-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] adds ethernet driver, esw needs to be moved to swconfig, driver is ↵blogic2009-10-231-0/+119
missing rt288x support, not a platform device yet git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18128 3c298f89-4303-0410-b956-a3cf2f4a3e73