Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | generic: ar8216: add missing locking calls | Gabor Juhos | 2012-11-20 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following lockdep warning: [ 19.160000] ------------[ cut here ]------------ [ 19.160000] WARNING: at drivers/net/phy/ar8216.c:322 ar8216_rmw+0x54/0xa4() [ 19.170000] Modules linked in: nf_defrag_ipv4 nf_conntrack ehci_hcd sd_mod pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multip ort xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) at h9k_hw(O) ath(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc7 crc_itu_t crc_ccitt cfg80211(O) compat(O) arc4 aes_generic cry pto_blkcipher cryptomgr aead crypto_hash crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O) [ 19.210000] Call Trace: [ 19.220000] [<8028dc38>] dump_stack+0x8/0x34 [ 19.220000] [<80072da0>] warn_slowpath_common+0x78/0xa4 [ 19.230000] [<80072de4>] warn_slowpath_null+0x18/0x24 [ 19.230000] [<801de820>] ar8216_rmw+0x54/0xa4 [ 19.240000] [<801df460>] ar8216_mib_capture+0x70/0xd0 [ 19.240000] [<801df944>] ar8xxx_mib_work_func+0x34/0x98 [ 19.250000] [<80089a7c>] process_one_work+0x28c/0x460 [ 19.250000] [<8008a630>] worker_thread+0x22c/0x334 [ 19.260000] [<8008e544>] kthread+0x88/0x90 [ 19.260000] [<80065020>] kernel_thread_helper+0x10/0x18 [ 19.270000] [ 19.270000] ---[ end trace 22e9d696adfa6a08 ]--- Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34281 | |||||
* | generic: ar8216: add MIB counter support for the AR8216 switch as well | Gabor Juhos | 2012-11-18 | 2 | -1/+89 | |
| | | | | | | | | Thanks to Jonas Gorski for the reference URL. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34245 | |||||
* | generic: ar8216: rename AR8216_*_STATS_* defines | Gabor Juhos | 2012-11-18 | 2 | -82/+82 | |
| | | | | | | | | | | | The names are misleading, those are only valid from AR8236. The AR8216 chip uses different offsets. Thanks to Jonas Gorski for the report. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34244 | |||||
* | generic ar8216: allow to read/reset MIB counters via swconfig | Gabor Juhos | 2012-11-18 | 2 | -7/+492 | |
| | | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34243 | |||||
* | generic: ar8216: use dynamically allocated private data in ar8216_probe | Gabor Juhos | 2012-11-18 | 1 | -3/+12 | |
| | | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34242 | |||||
* | generic: use mtd_read in myloader parser | Gabor Juhos | 2012-10-27 | 1 | -2/+2 | |
| | | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33952 | |||||
* | generic: swconfig: use led_set_brightness in LED control code | Gabor Juhos | 2012-10-26 | 1 | -2/+2 | |
| | | | | | | | | | | | The 'led_brightness_set' function has been renamed to 'led_set_brightness' in recent ernels. Use the new name and add a compatibility patch for 3.3. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33946 | |||||
* | swconfig: get rid of the NLA_PUT_* macros | Florian Fainelli | 2012-10-24 | 1 | -17/+33 | |
| | | | | | | | Upstream kernel 3.6 has removed this usage, use the plain functions directly as intended. SVN-Revision: 33906 | |||||
* | generic: add driver for the the RTL8367R{B,-VB} switches | Gabor Juhos | 2012-10-18 | 1 | -0/+1546 | |
| | | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33839 | |||||
* | gpiodev/gpioctl RIP | John Crispin | 2012-10-11 | 1 | -181/+0 | |
| | | | | SVN-Revision: 33725 | |||||
* | fixes gpio_dev un/reload balancing | John Crispin | 2012-08-14 | 1 | -0/+2 | |
| | | | | | | Signed-off-by: SHI Bin <shibin@ctsing.com> SVN-Revision: 33183 | |||||
* | generic: rtl8366_smi: increase delay after switch hw reset | Gabor Juhos | 2012-08-10 | 1 | -3/+6 | |
| | | | | SVN-Revision: 33077 | |||||
* | generic: rtl836x: add hw_reset field to struct rtl8366_smi | Gabor Juhos | 2012-08-02 | 5 | -2/+32 | |
| | | | | | | | It will be used to start/stop the switch if that is supported by the given board. SVN-Revision: 32943 | |||||
* | generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls | Gabor Juhos | 2012-08-02 | 1 | -2/+1 | |
| | | | | SVN-Revision: 32942 | |||||
* | clean up pwm patches and drivers | John Crispin | 2012-07-28 | 3 | -604/+0 | |
| | | | | SVN-Revision: 32901 | |||||
* | generic: ar8216: start aneg on each PHY of the AR8327 | Gabor Juhos | 2012-07-05 | 1 | -1/+13 | |
| | | | | SVN-Revision: 32604 | |||||
* | generic: ar8216: allow to configure AR8327 LEDs via platform data | Gabor Juhos | 2012-06-19 | 2 | -1/+24 | |
| | | | | SVN-Revision: 32456 | |||||
* | generic: ar8216: add revision specific PHY fixups for AR8327 | Gabor Juhos | 2012-05-29 | 2 | -8/+41 | |
| | | | | SVN-Revision: 32000 | |||||
* | generic: ar8216: replace chip_type field with chip_{ver,rev} in ar8216_priv | Gabor Juhos | 2012-05-29 | 2 | -31/+25 | |
| | | | | SVN-Revision: 31999 | |||||
* | generic: ar8216: add chip_is_ar8{216,236,316,327} helpers | Gabor Juhos | 2012-05-29 | 1 | -8/+28 | |
| | | | | SVN-Revision: 31998 | |||||
* | generic: rtl8367: rename a misnamed variable | Gabor Juhos | 2012-05-27 | 1 | -2/+2 | |
| | | | | SVN-Revision: 31917 | |||||
* | generic: rtl8366_smi: remove duplicated spinlock initialization | Gabor Juhos | 2012-05-27 | 1 | -2/+0 | |
| | | | | SVN-Revision: 31916 | |||||
* | generic: rtl8366_smi: rename debugfs Kconfig symbol | Gabor Juhos | 2012-05-27 | 2 | -5/+5 | |
| | | | | SVN-Revision: 31915 | |||||
* | generic: rtl8367: allow to use VLANs > 31 | Gabor Juhos | 2012-05-27 | 1 | -0/+3 | |
| | | | | SVN-Revision: 31914 | |||||
* | kernel: rewrite the phy packet hook, put it in the network stack to avoid ↵ | Felix Fietkau | 2012-05-06 | 2 | -103/+37 | |
| | | | | | | having to keep non-upstream ethernet driver changes SVN-Revision: 31637 | |||||
* | atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for ↵ | Felix Fietkau | 2012-05-06 | 1 | -15/+3 | |
| | | | | | | newer kernels SVN-Revision: 31625 | |||||
* | linux: rtl836x: add a generic reset_switch function | Gabor Juhos | 2012-04-29 | 5 | -76/+29 | |
| | | | | SVN-Revision: 31536 | |||||
* | linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup | Gabor Juhos | 2012-04-29 | 3 | -21/+6 | |
| | | | | SVN-Revision: 31535 | |||||
* | linux: rtl836x: add a reset_chip callback to rtl8366_smi_ops | Gabor Juhos | 2012-04-29 | 5 | -24/+11 | |
| | | | | SVN-Revision: 31534 | |||||
* | ar8216: enable forwarding of multicast frames to the cpu port on ar8327 ↵ | Felix Fietkau | 2012-04-22 | 1 | -0/+1 | |
| | | | | | | (thx, SeG) SVN-Revision: 31441 | |||||
* | fixes breakage introduced in 776722ce36ac95877efb7fd771dde2f6ffc96433 | John Crispin | 2012-03-22 | 1 | -2/+2 | |
| | | | | SVN-Revision: 31054 | |||||
* | generic: ar8216: add support for the AR8327 chip | Gabor Juhos | 2012-03-18 | 2 | -2/+464 | |
| | | | | SVN-Revision: 31011 | |||||
* | generic: ar8216: allow to use more ports | Gabor Juhos | 2012-03-18 | 1 | -2/+3 | |
| | | | | SVN-Revision: 31010 | |||||
* | generic: ar8216: reorder chip specific functions | Gabor Juhos | 2012-03-18 | 1 | -72/+72 | |
| | | | | SVN-Revision: 31009 | |||||
* | generic: ar8216: reorder switch_dev specific functions | Gabor Juhos | 2012-03-18 | 1 | -218/+216 | |
| | | | | SVN-Revision: 31008 | |||||
* | generic: ar8216: use ar8216_sw_ prefix for switchdev related functions | Gabor Juhos | 2012-03-18 | 1 | -29/+29 | |
| | | | | SVN-Revision: 31007 | |||||
* | generic: ar8216: use switch_dev->ports in for loops | Gabor Juhos | 2012-03-18 | 1 | -6/+6 | |
| | | | | SVN-Revision: 31006 | |||||
* | generic: ar8216: add read_port_status field to ar8xxx_chip | Gabor Juhos | 2012-03-18 | 1 | -1/+11 | |
| | | | | SVN-Revision: 31005 | |||||
* | generic: ar8216: add init_globals field to ar8xxx_chip | Gabor Juhos | 2012-03-18 | 1 | -21/+30 | |
| | | | | SVN-Revision: 31004 | |||||
* | generic: ar8216: add caps field to ar8xxx_chip | Gabor Juhos | 2012-03-18 | 1 | -5/+19 | |
| | | | | SVN-Revision: 31003 | |||||
* | generic: ar8216: add vtu_load_vlan field to ar8xxx_chip | Gabor Juhos | 2012-03-18 | 1 | -4/+15 | |
| | | | | SVN-Revision: 31002 | |||||
* | generic: ar8216: add vtu_flush field to ar8xxx_chip | Gabor Juhos | 2012-03-18 | 1 | -1/+11 | |
| | | | | SVN-Revision: 31001 | |||||
* | generic: ar8216: add init_port field to ar8xxx_chip | Gabor Juhos | 2012-03-18 | 1 | -4/+22 | |
| | | | | SVN-Revision: 31000 | |||||
* | generic: ar8216: add setup_port field to ar8xxx_chip | Gabor Juhos | 2012-03-18 | 1 | -6/+7 | |
| | | | | SVN-Revision: 30999 | |||||
* | generic: ar8216: add hw_init field to ar8xxx_chip | Gabor Juhos | 2012-03-18 | 1 | -8/+7 | |
| | | | | SVN-Revision: 30998 | |||||
* | generic: ar8216: add a separate structure for chip specific stuff | Gabor Juhos | 2012-03-18 | 1 | -0/+16 | |
| | | | | | | Also add a hw_init function into that. SVN-Revision: 30997 | |||||
* | generic: ar8216: rename chip field of struct ar8216 | Gabor Juhos | 2012-03-18 | 1 | -20/+20 | |
| | | | | SVN-Revision: 30996 | |||||
* | generic: ar8216: move ar8216_id_chip function | Gabor Juhos | 2012-03-18 | 1 | -52/+51 | |
| | | | | | | Also remove the inline annotation. SVN-Revision: 30995 | |||||
* | generic: ar8216: rename ar8216_ops to ar8216_sw_ops | Gabor Juhos | 2012-03-18 | 1 | -2/+2 | |
| | | | | SVN-Revision: 30994 | |||||
* | swconfig: use a mutex instead of a spinlock, many swconfig calls sleep | Felix Fietkau | 2012-03-15 | 1 | -5/+5 | |
| | | | | SVN-Revision: 30952 |