summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers
Commit message (Collapse)AuthorAgeFilesLines
* generic: use mtd_read in myloader parserjuhosg2012-10-271-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: swconfig: use led_set_brightness in LED control codejuhosg2012-10-261-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] swconfig: get rid of the NLA_PUT_* macrosflorian2012-10-241-17/+33
| | | | | | | Upstream kernel 3.6 has removed this usage, use the plain functions directly as intended. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add driver for the the RTL8367R{B,-VB} switchesjuhosg2012-10-181-0/+1546
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] gpiodev/gpioctl RIPblogic2012-10-111-181/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] fixes gpio_dev un/reload balancingblogic2012-08-141-0/+2
| | | | | | Signed-off-by: SHI Bin <shibin@ctsing.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366_smi: increase delay after switch hw resetjuhosg2012-08-101-3/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl836x: add hw_reset field to struct rtl8366_smijuhosg2012-08-025-2/+32
| | | | | | | 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
* generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free callsjuhosg2012-08-021-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] clean up pwm patches and driversblogic2012-07-283-604/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: start aneg on each PHY of the AR8327juhosg2012-07-051-1/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: allow to configure AR8327 LEDs via platform datajuhosg2012-06-192-1/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add revision specific PHY fixups for AR8327juhosg2012-05-292-8/+41
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: replace chip_type field with chip_{ver,rev} in ar8216_privjuhosg2012-05-292-31/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add chip_is_ar8{216,236,316,327} helpersjuhosg2012-05-291-8/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8367: rename a misnamed variablejuhosg2012-05-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366_smi: remove duplicated spinlock initializationjuhosg2012-05-271-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366_smi: rename debugfs Kconfig symboljuhosg2012-05-272-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8367: allow to use VLANs > 31juhosg2012-05-271-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: rewrite the phy packet hook, put it in the network stack to avoid ↵nbd2012-05-062-103/+37
| | | | | | having to keep non-upstream ethernet driver changes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for ↵nbd2012-05-061-15/+3
| | | | | | newer kernels git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: rtl836x: add a generic reset_switch functionjuhosg2012-04-295-76/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31536 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: rtl836x: rename rtl836*_hw_init to rtl836*_setupjuhosg2012-04-293-21/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: rtl836x: add a reset_chip callback to rtl8366_smi_opsjuhosg2012-04-295-24/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31534 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: enable forwarding of multicast frames to the cpu port on ar8327 ↵nbd2012-04-221-0/+1
| | | | | | (thx, SeG) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar8216] fixes breakage introduced in 776722ce36ac95877efb7fd771dde2f6ffc96433blogic2012-03-221-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add support for the AR8327 chipjuhosg2012-03-182-2/+464
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: allow to use more portsjuhosg2012-03-181-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: reorder chip specific functionsjuhosg2012-03-181-72/+72
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31009 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: reorder switch_dev specific functionsjuhosg2012-03-181-218/+216
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use ar8216_sw_ prefix for switchdev related functionsjuhosg2012-03-181-29/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31007 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use switch_dev->ports in for loopsjuhosg2012-03-181-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31006 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add read_port_status field to ar8xxx_chipjuhosg2012-03-181-1/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31005 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add init_globals field to ar8xxx_chipjuhosg2012-03-181-21/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31004 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add caps field to ar8xxx_chipjuhosg2012-03-181-5/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add vtu_load_vlan field to ar8xxx_chipjuhosg2012-03-181-4/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add vtu_flush field to ar8xxx_chipjuhosg2012-03-181-1/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add init_port field to ar8xxx_chipjuhosg2012-03-181-4/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add setup_port field to ar8xxx_chipjuhosg2012-03-181-6/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30999 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add hw_init field to ar8xxx_chipjuhosg2012-03-181-8/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30998 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add a separate structure for chip specific stuffjuhosg2012-03-181-0/+16
| | | | | | Also add a hw_init function into that. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30997 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: rename chip field of struct ar8216juhosg2012-03-181-20/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: move ar8216_id_chip functionjuhosg2012-03-181-52/+51
| | | | | | Also remove the inline annotation. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: rename ar8216_ops to ar8216_sw_opsjuhosg2012-03-181-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: use a mutex instead of a spinlock, many swconfig calls sleepnbd2012-03-151-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: fix a MTU related regressionnbd2012-03-151-19/+29
| | | | | | | | Switch reset on AR8316 appears to clobber the MTU configuration register and possibly other global config registers. Move global configuration register init writes back to the reset callback. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move micrel PHY driver to the generic linux targetjuhosg2012-03-151-0/+83
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: merge multiple if statements in ar8216_hw_applyjuhosg2012-03-131-10/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use usleep_range in ar8216_mii_{read,write}juhosg2012-03-111-2/+2
| | | | | | msleep(1) can sleep for up to 20ms. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add a helper function for writing PHY debug registersjuhosg2012-03-111-6/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30884 3c298f89-4303-0410-b956-a3cf2f4a3e73