#
2c6f31f9 |
|
15-Dec-2012 |
Jonas Gorski <jogo@openwrt.org> |
linux: generic: rtl836*: fix compilation with !CONFIG_OF fixes the following errors caused by r34682: CC [M] drivers/net/phy/rtl8366_smi.o In file included from drivers/net/phy/rtl8366_smi.c:26:0: drivers/net/phy/rtl8366_smi.h:149:46: warning: 'struct platform_device' declared inside parameter list [enabled by default] drivers/net/phy/rtl8366_smi.h:149:46: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] drivers/net/phy/rtl8366_smi.c:1398:65: warning: 'struct platform_device' declared inside parameter list [enabled by default] drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_smi_probe_plat': drivers/net/phy/rtl8366_smi.c:1400:44: error: dereferencing pointer to incomplete type drivers/net/phy/rtl8366_smi.c:1402:11: error: dereferencing pointer to incomplete type drivers/net/phy/rtl8366_smi.c:1403:16: error: dereferencing pointer to incomplete type drivers/net/phy/rtl8366_smi.c: At top level: drivers/net/phy/rtl8366_smi.c:1415:46: warning: 'struct platform_device' declared inside parameter list [enabled by default] drivers/net/phy/rtl8366_smi.c:1415:21: error: conflicting types for 'rtl8366_smi_probe' drivers/net/phy/rtl8366_smi.h:149:21: note: previous declaration of 'rtl8366_smi_probe' was here drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_smi_probe': drivers/net/phy/rtl8366_smi.c:1420:31: error: dereferencing pointer to incomplete type drivers/net/phy/rtl8366_smi.c:1424:10: error: dereferencing pointer to incomplete type drivers/net/phy/rtl8366_smi.c:1425:3: warning: passing argument 1 of 'rtl8366_smi_probe_of' from incompatible pointer type [enabled by default] drivers/net/phy/rtl8366_smi.c:1392:19: note: expected 'struct device_node *' but argument is of type 'struct platform_device *' drivers/net/phy/rtl8366_smi.c:1427:3: warning: passing argument 1 of 'rtl8366_smi_probe_plat' from incompatible pointer type [enabled by default] drivers/net/phy/rtl8366_smi.c:1398:5: note: expected 'struct platform_device *' but argument is of type 'struct platform_device *' drivers/net/phy/rtl8366_smi.c: At top level: drivers/net/phy/rtl8366_smi.c:1438:1: error: conflicting types for 'rtl8366_smi_probe' drivers/net/phy/rtl8366_smi.h:149:21: note: previous declaration of 'rtl8366_smi_probe' was here make[7]: *** [drivers/net/phy/rtl8366_smi.o] Error 1 make[6]: *** [drivers/net/phy] Error 2 make[5]: *** [drivers/net] Error 2 make[4]: *** [drivers] Error 2 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34703 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
7d0cb0b8 |
|
14-Dec-2012 |
John Crispin <blogic@openwrt.org> |
[kernel] make rtl8366 driver OF capable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34682 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
fcbe8ef2 |
|
02-Aug-2012 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl836x: add hw_reset field to struct rtl8366_smi It will be used to start/stop the switch if that is supported by the given board. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32943 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
d89221e9 |
|
27-May-2012 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366_smi: rename debugfs Kconfig symbol git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31915 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
2341f744 |
|
29-Apr-2012 |
Gabor Juhos <juhosg@openwrt.org> |
linux: rtl836x: add a generic reset_switch function git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31536 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
b29026e3 |
|
29-Apr-2012 |
Gabor Juhos <juhosg@openwrt.org> |
linux: rtl836x: add a reset_chip callback to rtl8366_smi_ops git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31534 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
31a1cdad |
|
21-Jan-2012 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add rtl8366_smi_write_reg_noack helper After issuing a soft reset on the RT8366{S,RB} switch, waiting for the last acknowlegement fails in rtl8366_smi_write_reg. Add a _noack version of the function and use that for issuing a soft reset. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29844 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
7005c737 |
|
07-Jan-2012 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: preparing for RTL8367 support * make clock delay configurable * make read,write commands configurable * use u16 for member and untag fields git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29677 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
83ed5e6a |
|
08-Jan-2011 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: enable vlans before enabling the ports git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24939 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
38528d47 |
|
08-Jan-2011 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: enable ports only after VLAN configuration is done git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24938 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
b16b9eda |
|
08-Jan-2011 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add enable_port helper git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24937 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
103c1475 |
|
08-Jan-2011 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add debugfs file for VLAN4K table git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24933 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
8120006c |
|
24-Nov-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: add rtl8366rb switch vlan fid support Allows to use fids 0 to 7. Default is 0. Those who will use this don't forget to `set vlan fid` every time after `set vlan ports` if you want non default behavior. Minor changes. Version bump. Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24125 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
743e9ac1 |
|
18-Aug-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add generic code to enable VLANs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22703 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
9b845181 |
|
18-Aug-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add enable_vlan{,4k} to smi_ops git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22702 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
60553e9f |
|
15-Jul-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: make rtl8366_set_vlan static git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22205 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
2693b15c |
|
15-Jul-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22204 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
7b6b73dc |
|
15-Jul-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add common rtl8366_sw_get_vlan_info git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22203 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
d2d1fc5e |
|
15-Jul-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add is_vlan_valid function to smi_ops git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22201 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
cf551c62 |
|
15-Jul-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add common rtl8366_sw_get_port_mib function git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22200 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
94193893 |
|
15-Jul-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: make rtl8366_{g,s}et_pvid static git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22198 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
66dcd51b |
|
15-Jul-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22197 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
23ba874c |
|
15-Jul-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add setup to rtl8366_smi_ops struct git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22196 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
6ccacc5e |
|
15-Jul-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: introduce rtl8366_smi_alloc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22195 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
107c3569 |
|
15-Jul-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: move switch device to the rtl8366_smi struct git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22193 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
dfb54625 |
|
28-Jun-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: standardize read_debugfs_mibs functions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21983 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
93625832 |
|
28-Jun-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: use common rtl8366_mib_counter structure git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21982 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
940796c8 |
|
28-Jun-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: move common debugfs code to rtl8366_smi.c git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21981 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
7ddede48 |
|
28-Jun-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: move buf to struct rtl8366_smi git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21980 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
7639f284 |
|
28-Jun-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21979 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
652ecc78 |
|
28-Jun-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21978 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
256d0de5 |
|
28-Jun-2010 |
Gabor Juhos <juhosg@openwrt.org> |
generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21977 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
a082943b |
|
26-Jun-2010 |
Felix Fietkau <nbd@openwrt.org> |
rename target/linux/generic-2.6 to generic git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73
|