1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-20 02:03:43 +02:00
Commit Graph

7251 Commits

Author SHA1 Message Date
juhosg
9e9816322c ramips: ramips_esw: add helper function to set VLAN id
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:22 +00:00
juhosg
293e4ff8cc ramips: ramips_esw: introduce rt305x_esw_rmw{,_raw} function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:16 +00:00
juhosg
8b6afc3a6a ramips: ramips_esw: use rt305x_esw prefix in function names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:14 +00:00
juhosg
808e953c0a ramips: ramips_esw: coding style cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:12 +00:00
juhosg
39deae4b99 ramips: ramips_esw: add defines for switch register offsets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:07 +00:00
juhosg
1600b801ec ramips: ramips_esw: don't touch GPIO_PURPOSE register
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
2010-12-08 10:15:04 +00:00
juhosg
bc4cb1b39f ramips: ramips_esw: convert it to be a platform driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:15:00 +00:00
juhosg
a3373ca948 ramips: ramips_esw: move hardware initialization into a separate function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:14:58 +00:00
juhosg
1fcc0bf36c ramips: ramips_esw: use a private structure for the functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 10:14:54 +00:00
kaloz
fa9c65f417 ethernet driver fixup for ppc4xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 08:59:31 +00:00
cshore
deb8dba13c [brcm63xx] Profiles: GW6X00: Replace ext2 module with ext4 as ext2 and 3 are going away. Remove kmod-loop as the need for it has been superseded by block-extroot, and remove kmod-fs-vfat as it takes space and is rarely needed.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 00:40:31 +00:00
cshore
a2e7591047 [brcm63xx] Profiles: Make buttons and led modules included by default so that failsafe will work in the case of builds for releases.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 00:40:28 +00:00
cshore
860ae4cdbc [brcm63xx] Profiles: Move wpad-mini to the profiles that use it, rather than default for all profiles (because -wpad-mini means it's not selectable, which isn't what we always want for the No WiFi profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 00:40:24 +00:00
cshore
94d30e3699 [generic] flash_chips: Added Macronix MX29LV640T Flash Chip support previously mistakenly added to brcm63xx. Thanks blunoise.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 19:45:08 +00:00
cshore
87b570ee61 [brcm63xx] patches: Renamed 150-led_count to 141-led_count so it comes before the 15-alice_gate2_leds.patch as which led count was mistakenly given the same number.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 17:32:29 +00:00
cshore
c73f40600d Revert "[brcm63xx] patches-2.6.35: Added flash chip definition for Macronix MX29LV640T."
This reverts commit 43511418ae2771a6662a83a254f06e37f4ac19e5.

It belongs in generic not brcm63xx.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 17:02:31 +00:00
cshore
eea5cc41dc [brcm63xx] patches-2.6.35: Added flash chip definition for Macronix MX29LV640T.
Thanks blunoise

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 16:42:23 +00:00
cshore
6e4ddb80d8 [brcm63xx] boards: Added GW6x00 fixups and GPIOs. The GW6200 GPIOs are different than the reference design 96348GW so we use fixup to allow us to define the correct ones, also the GW6000 has no GPIO-controlled leds.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 15:15:54 +00:00
cshore
332453076d [brcm63xx] patches: Refreshed patches after led_count
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 15:15:51 +00:00
cshore
164cf26c5b [brcm63xx] board definitions: Added patch for calculating led count, which was part of the patch removed in the previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 15:15:47 +00:00
cshore
27a7d97c15 [brcm63xx] Remove patch 140-new_bcm96348gw_leds because it is really the GW6200 leds, not the generic 96348GW. Another commit will add the GW6200 specific boardid and leds. This removal reverts the 96348GW leds to the reference design GPIOs.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 15:15:41 +00:00
hauke
a08050a048 kernel: fix cryptodev with kernel >= 2.6.35
The fix is from http://sourceforge.net/mailarchive/forum.php?thread_name=20100906035717.GA7562%40mcafee.com&forum_name=ocf-linux-users

Thank you tripolar for reporting the issue and finding a solution for it.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 17:01:10 +00:00
cshore
91050b8f9f [brcm63xx] base-files: Added the preinit information for reset button and preinit indication led, and preinit interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 06:46:03 +00:00
cshore
d2ca272aee [brcm63xx] board definition: Fixed CPVA642 LED definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 06:45:57 +00:00
cshore
cbe5202762 [brcm63xx] board definitions: Added CPVA642 GPIO leds and buttons and refreshed patches later in series due to fuzz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 04:31:23 +00:00
cshore
87689d1064 [bcm63xx] base-files: Added network defconfig because board only has one ethernet (4-port switch)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 02:01:08 +00:00
juhosg
5d6fe3e144 ramips: add support for 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 20:14:38 +00:00
juhosg
50fe7cc694 ramips: default profile fix
Fix package names in default profiles.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 20:14:35 +00:00
juhosg
8b65736401 ramips: use tabs instead of spaces in mach-f5d8235-v2.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 20:14:30 +00:00
hauke
4b7e8fd5aa brcm47xx: do not read from CFE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 19:20:26 +00:00
hauke
2308d83efb brcm47xx: backport patch from kernel 2.6.37
Backport patches from r24162
  brcm47xx: reorder patches like they were commitet upstream


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 19:19:50 +00:00
hauke
2c5bea6134 brcm47xx: use on common files dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 18:34:58 +00:00
kaloz
e82b1d80fc [target/mpc85xx]: preliminary support for Freescale MPC85xx based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-05 11:38:59 +00:00
nbd
cb875ff79e ar71xx: work around a PCI controller bug which causes reads to the PCI_COMMAND register to return bogus values - properly fixes ath9k module reload issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 01:32:15 +00:00
kaloz
56f5e0b05a [mpc83xx]: remove unused kernel versions, make 2.6.36 the default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-03 09:19:52 +00:00
hauke
08e8737994 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-02 21:27:54 +00:00
jow
db07bdac3e [ar71xx] tune rtl8366s default config, make vlan 1 cpu port tagged and use eth0.1 for the lan interface - this brings the configuration more in line with other switch setups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-02 20:19:55 +00:00
juhosg
09a8407a2d ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 18:40:01 +00:00
juhosg
f21a26a90b generic: yet another missing config symbol for 2.6.37
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 18:39:55 +00:00
jow
848e1c833e [ar71xx] add a new image for the TEW-652BRP which can be used with the bootloader recovery option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-30 02:04:57 +00:00
jow
291a485ace [kernel] backport two changes from kernel.org:
65e9b62d4503849b10bedfc29bff0473760cc597
ipv6: add special mode accept_ra=2 to accept RA while configured as router

c3bccac2fa76f1619dfe4fb7b9bee69de7f066d8
ipv6: add special mode forwarding=2 to send RS while configured as router


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-30 01:52:51 +00:00
cshore
191062a0ed [brcm63xx] image Makefile: Corrected router imagename length limiting. Thanks KanjiMonster for reminding me.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:13:00 +00:00
cshore
f7a2edf410 bcm63xx: Add support for the T-Com Speedport W 500V.
Add support for the T-Com Speedport W 500V using a special tagged image as it
identifies itself as a 96348GW, but has some gpios wired differently, and also
has only one ethernet port without a switch attached to it.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:44 +00:00
cshore
9dd6c43103 bcm63xx: Add board id override fixup.
Add a fixup for the kernel to check the bcm tag of the image for a boardid in
the information1 field, and use that instead of the supplied one by cfe. This
is triggered by a + at the start of the information1 field.

Also modify the image generation to generate apropriately tagged images.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:40 +00:00
cshore
d26482830e bcm63xx: Finalize support for DSL-274xB, rev C2.
The DSL-2740B/DSL-2741B rev C2 support was missing the board definition,
resulting in a kernel panic on boot.
This patch adds it, and also renames the generated image name to properly
reflect that it is for the revision C2, and for both the DSL-2740B and
DSL-2741B.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:36 +00:00
cshore
36faccabad bcm63xx: Allow 'colored' power leds.
Since some devices have more than one power led, they might be separated by
their color in the name. To also allow them to be on after leaving preinit,
set any status led starting with 'power' to on instead of only those with
the exact name of 'power'.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:30 +00:00
cshore
74fd46691e bcm63xx: Don't hardcode the switch ethernet interface in preinit.
Currently eth1 is hardcoded as the expected interface switches in diagmode.
This patch replaces the eth1 with the ifname, and also directly tests if
the interface specified by ifname has a switch attached.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:26 +00:00
cshore
2ce35911df bcm63xx: Add defconfigs.
Port the mechanism for different default configurations from ar71xx and
use the old configuration as the default configuration. This should have
no functional differences to before.
While we are at it, remove the obsolete nat option.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:19 +00:00
florian
f0589f7290 [ar7] refresh patches and remove trailing whitespaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 18:14:34 +00:00
florian
90dd053819 [ar7] refresh and refine 972-cpmac_multi_probe.patch, patch from sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 18:03:56 +00:00