1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-06 08:41:53 +02:00
Commit Graph

1135 Commits

Author SHA1 Message Date
juhosg
0b58bc0576 generic: rtl8366: introduce rtl8366_smi_rmwr function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:34 +00:00
juhosg
f816719c99 generic: rtl8366s: get some MIB counters from another offset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:30 +00:00
juhosg
22a6beb304 generic: rtl8366: cleanup MIB counter printing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:27 +00:00
juhosg
d91142375a generic: rtl8366: use struct rtl8366_smi instead of struct rtl8366{s,rb}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:24 +00:00
juhosg
22e4a8566f generic: rtl8366: add common vlan_4k structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:20 +00:00
juhosg
53bb5d147a generic: rtl8366: add common vlan_mc structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:16 +00:00
juhosg
70e2bfc79b generic: rtl8366: rename vlanmc and vlan4k related structures an functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:12 +00:00
juhosg
5e0f4e5bfc generic: rtl8366: use struct rtl8366_smi for phy_reg_{read,write} calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:06 +00:00
juhosg
5e66606678 generic: rtl8366: move mii bus handling to the rtl8366_smi code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:01 +00:00
juhosg
d2c03b9bff generic: rtl8366: introduce rtl8366_smi_ops
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:57 +00:00
juhosg
36c0080775 generic: rtl8366: change format string for debugfs error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:52 +00:00
juhosg
062819b9cb generic: rtl8366: don't show link parameters if the link is down
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:48 +00:00
juhosg
d9272169b8 generic: rtl8366: fix register offset and size of MIB counters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:43 +00:00
juhosg
b710df9d9a generic: rtl8366: prevent modifications of VLAN 0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:38 +00:00
florian
c162408f58 [kernel] add missing CONFIG_PCMCIA_XIRCOM spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 12:17:46 +00:00
jow
86b9c1df64 [netfilter] package TPROXY target and module infrastructure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 22:39:22 +00:00
claudio
0345992639 [kernel] another #ifdef around pci_set_mwi call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 14:04:45 +00:00
claudio
d8e37c68cc [kernel] pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 12:41:22 +00:00
florian
c69b252f1c [kernel] reinstate netdev LED trigger dependency against CONFIG_NET
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 19:39:04 +00:00
claudio
f3b6a5b9b9 [kernel] Add the generic PWM api from Bill Gatliff (experimental). Ignore the leds trigger part at the moment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 18:01:11 +00:00
nbd
9e5e503702 backport the ssb dma device change to 2.6.30 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 15:47:06 +00:00
jow
ca9480b150 [generic-2.6] add b43 dma_dev fix to 2.6.32 and 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 18:35:23 +00:00
claudio
4f0d403f05 [kernel] Extend the gpio device driver (#5671)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 13:27:06 +00:00
florian
e4eedbb946 [kernel] refresh 2.6.33 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:48 +00:00
florian
62f026d7b7 [kernel] refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:42 +00:00
juhosg
f03c775c62 swconfig: fix lock imbalance in unregister_switch()
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 11:37:35 +00:00
juhosg
b4566a37d1 swconfig: release switch in error path of swconfig_get_attr
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 11:37:32 +00:00
florian
3ed70144c0 [kernel] rename 014-samsung_flash -> 014-samsung_flash.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:01 +00:00
florian
cd5addd4e0 [kernel] fix samsung flash patch after r21408, thanks to Matthias Buecher (#7348)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:53:55 +00:00
florian
dc1a5ccf8e [package] add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:22 +00:00
florian
f6f5bd1866 [kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:09 +00:00
acoul
7fd0d84f87 generic-2.6/patches-2.6.35: fix ocf missing parts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-11 13:49:39 +00:00
juhosg
12827f9964 generic: move more common options to generic configuration
* CONFIG_ABX500_CORE
 * CONFIG_ATOMIC64_SELFTEST
 * CONFIG_BRIDGE_IGMP_SNOOPING
 * CONFIG_CAIF
 * CONFIG_CEPH_FS
 * CONFIG_CRYSTALHD
 * CONFIG_DEFAULT_SECURITY_SELINUX
 * CONFIG_DEFAULT_SECURITY_SMACK
 * CONFIG_DEFAULT_SECURITY_TOMOYO
 * CONFIG_DT3155
 * CONFIG_IP_MROUTE_MULTIPLE_TABLES
 * CONFIG_L2TP
 * CONFIG_LOGFS
 * CONFIG_LPC_SCH
 * CONFIG_MFD_JANZ_CMODIO
 * CONFIG_MFD_RDC321X
 * CONFIG_N_GSM
 * CONFIG_RAMOOPS
 * CONFIG_SERIAL_ALTERA_JTAGUART
 * CONFIG_SERIAL_ALTERA_UART
 * CONFIG_SERIAL_TIMBERDALE
 * CONFIG_SM_FTL
 * CONFIG_SQUASHFS_XATTRS


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 10:45:51 +00:00
juhosg
c9051b2469 generic: move some common symbols to generic configuration
* CONFIG_MUTEX_SPIN_ON_OWNER
 * CONFIG_DEFAULT_HYDLA
 * CONFIG_DEFAULT_VENO


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:14 +00:00
juhosg
c833c06e55 generic: remove trailing whitespaces from kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:09 +00:00
juhosg
85f5665b15 generic: standardize CONFIG_INLINE_* symbols usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:41 +00:00
juhosg
e8c7c67e98 generic: update xt_layer7 module fix for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 17:56:42 +00:00
acoul
4593e3555f generic-2.6: layer7: convert xt_match_param to xt_action_param
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 17:29:25 +00:00
juhosg
7bc14b151f generic: more missing symbols for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:43 +00:00
juhosg
bdddd58889 generic: add missing layer7 patches for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:39 +00:00
acoul
7a2322730e generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:14:12 +00:00
acoul
631e642ab6 generic-2.6: add (some) missing config symbols for kernel 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 10:43:59 +00:00
juhosg
b2e86cfb76 generic: rename ip175c driver to ip17xx on 2.6.35 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 07:52:48 +00:00
juhosg
3106e73c42 ip17xx: fix autonegotioation issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:14 +00:00
juhosg
4fd38b6534 generic: add aneg_done and update_link functions for the phy_device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:11 +00:00
juhosg
595d2512d1 ip17xx: Update the copyright message
Update the copyright message to reflect my changes.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:08 +00:00
juhosg
c3b78ad426 ip17xx: Rename the driver to ip17xx.c
Following the big internal rename, this is the external rename.
Rename the source file to ip17xx.c and adjust Makefile and Kconfig.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:05 +00:00
juhosg
3360def59f ip17xx: The big rename
Recognize that the driver supports many more devices than the ip175c.

The driver itself is now called ip17xx, all generic functions have been
renamed to ip17xx_*. The model-dependent functions have prefixes ip175c_
and ip175d_.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:58 +00:00
juhosg
08171f79fc ip17xx: Keep all state locally
Instead of reading the hardware state every time we want to inspect it or
to modify it, maintain it in struct ip175c_state.

This simplifies the code significantly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:55 +00:00
juhosg
b105730015 ip17xx: Add support for IP175D
Add support for the IP175D chip. Since the register set is vastly different
from the previous models, we cannot not use the register number tables in struct
register_mappings (except for VLAN_DEFAULT_TAG_REG), so we supply a different
set of low-level functions.

Unlike with the previous models, we keep the VLAN setup in our state structure
instead of querying the hardware (it would be much harder in case of IP175D,
because the mapping between hardware and software state is not 1:1). Therefore,
get_flags() and get_state() are no-ops.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:51 +00:00