Commit Graph

4989 Commits

Author SHA1 Message Date
Gabor Juhos
2a818f388a ar71xx: ag71xx: fix MAC address setup
SVN-Revision: 20092
2010-03-09 18:05:36 +00:00
Gabor Juhos
4d5a9fe402 ar71xx: add missing protocol definitions to default network configurations
SVN-Revision: 20091
2010-03-09 18:05:31 +00:00
Florian Fainelli
26e745e736 switch to 2.6.32
SVN-Revision: 20087
2010-03-09 16:59:14 +00:00
Florian Fainelli
74d40a45b4 fix missing bits in ar7.h after r20037
SVN-Revision: 20086
2010-03-09 16:59:08 +00:00
Jo-Philipp Wich
cfaeab171a remove dependency on CONFIG_ALL
SVN-Revision: 20084
2010-03-09 14:49:53 +00:00
Felix Fietkau
513e8c583f Several small fixes for ar8216 driver (patch by Jonas Gorski)
* Create defines for some magic values/masks.

 * Change vlan_id to u16, to allow VIDs > 255.

 * Add a range check to set_pvid as it isn't a VID, but the index
   in the vlan table.

 * Set the max VID to 4094, since 4095 is a reserved value and
   should not be used.

 * In mangle_rx replace the provided VID with the VID of the table
   entry of the port, not the index of the table.

 * In hw_apply, remove a redundant emptyness check (was already
   checked several lines above).

 * In no vlan mode do not set the ingress mode to secure, as there
   are no vlan table entries, but to use the port's destination
   masks. Otherwise the switch won't forward anything.

 * In read_status tell that the phy is up (taken from the rtl8306
   driver).

SVN-Revision: 20083
2010-03-09 14:35:41 +00:00
Lars-Peter Clausen
a5441beb82 jz4740: Properly setup intc irq handler.
SVN-Revision: 20082
2010-03-09 12:03:48 +00:00
Lars-Peter Clausen
f05bb5f275 n516-lpc: Ack wakeup events and some minor cleanups
SVN-Revision: 20075
2010-03-09 00:03:40 +00:00
Hauke Mehrtens
3f0dc5c30f brcm47xx: fix commit r18413 "128MB ram problem"
The patch commited in r18413 was wrong.
This patch prevents prom_init_mem from scanning over 128MB ram.
This is from #6765 and #3177

Refresh all patches

SVN-Revision: 20072
2010-03-08 22:03:00 +00:00
Lars-Peter Clausen
c0b9c9d4a9 jz4740-gpio: Fix potential race condition
SVN-Revision: 20071
2010-03-08 20:34:40 +00:00
Lars-Peter Clausen
94f764a9d6 Fix gpio and irq wakeup irq handling.
SVN-Revision: 20070
2010-03-08 20:34:01 +00:00
Lars-Peter Clausen
fa445c6a47 Export gpio and irq registers through debugfs
SVN-Revision: 20069
2010-03-08 20:32:08 +00:00
Gabor Juhos
3ba43e6528 imagebuilder: add REVISION variable (closes #6795)
SVN-Revision: 20064
2010-03-08 17:00:46 +00:00
Gabor Juhos
342ab781f5 ar71xx: simplify WP543 image generation, and fix rootfs offset
SVN-Revision: 20063
2010-03-08 15:32:48 +00:00
Gabor Juhos
3c829c412c ar71xx: sync .33 config
SVN-Revision: 20060
2010-03-08 14:38:46 +00:00
Gabor Juhos
8eac86e535 ar71xx: enable AR7240 DSA driver on 2.6.33 as well
SVN-Revision: 20059
2010-03-08 14:38:43 +00:00
Gabor Juhos
d48992b62b ar71xx: refresh patches
SVN-Revision: 20055
2010-03-08 13:00:23 +00:00
Gabor Juhos
d58a367083 ar71xx: add NAND driver for the RB750
SVN-Revision: 20054
2010-03-08 12:10:23 +00:00
Gabor Juhos
6c1be20c2a ar71xx: add ar71xx_gpio_function_setup
SVN-Revision: 20053
2010-03-08 12:10:14 +00:00
Gabor Juhos
6600fab893 ar71xx: add LED driver for the RB750
SVN-Revision: 20051
2010-03-08 12:10:01 +00:00
Gabor Juhos
a1a9727fbf ar71xx: add latch handling code for the RB750
SVN-Revision: 20050
2010-03-08 12:09:49 +00:00
Gabor Juhos
74f9af4c10 ar71xx: increase kernel partition size for the WP543 boards
SVN-Revision: 20049
2010-03-08 12:09:38 +00:00
Lars-Peter Clausen
e5f2994620 Add sound support for the n516.
SVN-Revision: 20044
2010-03-07 23:45:45 +00:00
Lars-Peter Clausen
2be4423361 Add support for enabling/disabling the aic controllers clock.
SVN-Revision: 20043
2010-03-07 23:44:58 +00:00
Florian Fainelli
d238ba2541 correct the MDIO base address and reset sequence for Titan (#6573)
SVN-Revision: 20037
2010-03-07 16:37:01 +00:00
Gabor Juhos
5e8c8818ed ar71xx: add preliminary support for the RouterBOARD 750
SVN-Revision: 20029
2010-03-07 05:41:01 +00:00
Gabor Juhos
11af372116 ar71xx: make the rb4xx nand driver depends on AR71XX_MACH_RB4XX
SVN-Revision: 20028
2010-03-07 05:40:58 +00:00
Gabor Juhos
10ad4ea96c ar71xx: rename mach-rb-4xx.c to mach-rb4xx.c, and change Kconfig symbol
SVN-Revision: 20027
2010-03-07 05:40:56 +00:00
Florian Fainelli
876105bf8b let 802.1q tagged frames go in and out from cpmac (#6730)
SVN-Revision: 20023
2010-03-06 22:33:30 +00:00
Florian Fainelli
ac0b6ee559 fallback to "dumb switch" mode if no PHY was detected
This will enable the second Ethernet MAC in most cases, but will allow
previously non working devices to work.

SVN-Revision: 20022
2010-03-06 22:33:25 +00:00
Florian Fainelli
ffd352b2ba fix cpmac panics with 2.6.32 (#6764)
SVN-Revision: 20021
2010-03-06 22:33:19 +00:00
Travis Kemen
20769a9ade fix missing symbols for kernel 2.6.33, closes #6803 thanks Maddes
SVN-Revision: 20010
2010-03-05 23:10:54 +00:00
Travis Kemen
5a13cba68d fix missing symbols for kernel 2.6.32, closes #6802 thanks Maddes
SVN-Revision: 20009
2010-03-05 22:35:24 +00:00
Travis Kemen
c73d267ccb add missing symbol
SVN-Revision: 20008
2010-03-05 21:58:49 +00:00
Gabor Juhos
97c35a7dde ar71xx: don't init PCI irqs on the AR7240 if the PCIe subsystem are in reset
SVN-Revision: 20007
2010-03-05 20:29:29 +00:00
Gabor Juhos
52f03512dc ar71xx: fix sysupgrade on the WRT400N (thanks to chuljin)
* closes #6782

SVN-Revision: 20006
2010-03-05 20:29:27 +00:00
Gabor Juhos
7bda582cf7 ar71xx: fix status led detection on the RB4xx boards
SVN-Revision: 20005
2010-03-05 20:29:24 +00:00
Gabor Juhos
2702ae4e8f ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlock
SVN-Revision: 20004
2010-03-05 20:29:22 +00:00
Gabor Juhos
a4bccded57 ar71xx: ag71xx: move link update function
SVN-Revision: 20003
2010-03-05 20:29:18 +00:00
Gabor Juhos
eacf9a7614 ar71xx: ag71xx: don't use dev->trans_start
SVN-Revision: 20002
2010-03-05 20:29:14 +00:00
Gabor Juhos
ba288eeb84 ar71xx: ag71xx: use dma_unmap_single to unmap frames
SVN-Revision: 20001
2010-03-05 20:29:10 +00:00
Lars-Peter Clausen
01ed21fc16 Add support for the n516
SVN-Revision: 19987
2010-03-05 04:21:41 +00:00
Lars-Peter Clausen
f1afccc2d9 Add subtarget for each device
SVN-Revision: 19986
2010-03-05 04:15:51 +00:00
Lars-Peter Clausen
185b919e5f jz4740 pm: Fix gpio suspend/resume. Turn pll off while in suspend and gate clocks off which arn't handeld by their subsystems yet.
SVN-Revision: 19984
2010-03-05 02:56:25 +00:00
Lars-Peter Clausen
d9e32f1932 gpio.h: Add proper parenthesis to JZ_GPIO_PORTX macros
SVN-Revision: 19983
2010-03-05 02:53:23 +00:00
Lars-Peter Clausen
020df2b0dc jz4740_fb: Add support for parallel displays, improve power consumption and some minor bugfixes
SVN-Revision: 19982
2010-03-05 02:48:55 +00:00
Florian Fainelli
da72558c32 fix watchdog driver unregistering, patch by Bernhard Loos
SVN-Revision: 19979
2010-03-04 20:48:43 +00:00
Lars-Peter Clausen
7c966b8a32 jz4740_udc: Implement suspend/resume
SVN-Revision: 19978
2010-03-04 20:20:54 +00:00
Florian Fainelli
86494323fe rework reboot mechanism with the new watchdog fixes
The fixing of the watchdog driver makes it generate a NMI so the reboot_fixup
can no longer be called from NMI context, instead, override the machine_retart
callback with our southrbridge reboot mechanism. Patch by Bernhard Loos.

SVN-Revision: 19977
2010-03-04 08:28:20 +00:00
Florian Fainelli
fe348a7039 enable the required packages to use a gpio-based reset button
SVN-Revision: 19976
2010-03-04 08:28:10 +00:00
Florian Fainelli
29e75b52cf remove now unused rdc321x_gpio.h file
SVN-Revision: 19975
2010-03-04 08:28:05 +00:00
Florian Fainelli
b3f11c8414 improve sitecom device support
Add support for the 3 GPIO LEDs, reset button and switch to the gpio-buttons
driver. Patch by Bernhard Loos.

SVN-Revision: 19974
2010-03-04 08:27:59 +00:00
Florian Fainelli
7ea3654537 select ARCH_REQUIRE_GPIOLIB which is required for our gpiolib driver
SVN-Revision: 19973
2010-03-04 08:27:51 +00:00
Florian Fainelli
c126808243 add a new southbridge driver which registers the gpio and watchdog platform devices
This also fixes the watchdog logic and abstracts the access to the RDC321x
southbridge PCI configuration register space. Based on a patch by Bernhard Loos.

SVN-Revision: 19972
2010-03-04 07:54:25 +00:00
Florian Fainelli
c6c8012c60 merge the two patches applying to the same file in a single patch
SVN-Revision: 19971
2010-03-04 07:54:20 +00:00
Hauke Mehrtens
d29c671202 brcm47xx: add CONFIG_CMDLINE again
Fix for r19955
this patch was suggested by tripolar

SVN-Revision: 19967
2010-03-03 20:32:41 +00:00
Gabor Juhos
c38f612532 ar71xx: restore command line on 2.6.33
SVN-Revision: 19966
2010-03-03 20:04:12 +00:00
Gabor Juhos
eaa44c61ba ar71xx: sync 2.6.33 config
SVN-Revision: 19965
2010-03-03 20:04:08 +00:00
Matteo Croce
3ccd1aeab7 2.6.33 fixes for atheros and madwifi
SVN-Revision: 19963
2010-03-03 13:52:28 +00:00
Gabor Juhos
a41a501858 kernel: fix m25p80 patches for 2.6.33
SVN-Revision: 19961
2010-03-03 09:40:20 +00:00
Gabor Juhos
58ec1289d9 ar71xx: refresh 2.6.33 patches
SVN-Revision: 19960
2010-03-03 09:40:17 +00:00
Gabor Juhos
111ae3e04b kernel: refresh 2.6.33 patches
SVN-Revision: 19959
2010-03-03 09:40:12 +00:00
Florian Fainelli
2c13d45b29 do not register devices in device_initcall level, this breaks the SSB SPROM registration
SVN-Revision: 19957
2010-03-02 21:49:37 +00:00
Hauke Mehrtens
f88371a696 kernel: add some missing config files and make compat-wireless build with kernel 2.6.33
Thanks tripolar for the missing config symbols

SVN-Revision: 19956
2010-03-02 21:26:36 +00:00
Hauke Mehrtens
141d53ad07 brcm47xx: add support for kernel 2.6.33
Thanks to acoul and tripolar

SVN-Revision: 19955
2010-03-02 21:16:18 +00:00
Gabor Juhos
0e4eaea770 ar71xx: ag71xx: use correct device pointer for dma_map_single
SVN-Revision: 19951
2010-03-02 13:36:18 +00:00
Gabor Juhos
84823e1477 ar71xx: ag71xx: don't use virt_to_phys
SVN-Revision: 19950
2010-03-02 13:36:15 +00:00
Gabor Juhos
4a987d6008 ar71xx: ag71xx: simplify register access functions
SVN-Revision: 19949
2010-03-02 13:36:12 +00:00
Gabor Juhos
e157281c5d ar71xx: ag71xx: use NETDEV_TX_OK
SVN-Revision: 19948
2010-03-02 13:36:09 +00:00
Gabor Juhos
347c5bc7fc ar71xx: use COMMAND_LINE_SIZE
SVN-Revision: 19947
2010-03-02 13:36:04 +00:00
Florian Fainelli
0cd5b9983f remove mail headers from patches
SVN-Revision: 19935
2010-03-01 14:55:34 +00:00
Florian Fainelli
ba3f8604da prevent UML build failure against decompress_lzo.c
SVN-Revision: 19934
2010-03-01 14:55:15 +00:00
Imre Kaloz
cf57e90014 drop support for the old style magicbox-cf driver
SVN-Revision: 19932
2010-03-01 08:04:14 +00:00
Gabor Juhos
e1bb4af48b ar71xx: add default network configuration file for the TL-WR741ND board
SVN-Revision: 19930
2010-03-01 07:34:48 +00:00
Gabor Juhos
3f7d3dc939 ar71xx: add default network configuration file for the DIR-600 rev. A1 board
SVN-Revision: 19929
2010-03-01 07:34:46 +00:00
Gabor Juhos
b41c276df4 ar71xx: register DSA switch for the AP91 based boards
SVN-Revision: 19928
2010-03-01 07:34:43 +00:00
Gabor Juhos
6a702d127b ar71xx: add DSA driver for the AR7240 built-in ethernet switch
SVN-Revision: 19927
2010-03-01 07:34:41 +00:00
Gabor Juhos
8e22134773 ar71xx: add QinQ tagging format for the DSA driver
SVN-Revision: 19926
2010-03-01 07:34:37 +00:00
Nicolas Thill
127b8ea8f9 kernel: add 2 config symbols preventing ppc40x & ppc44X from being configured with all modules enabled
SVN-Revision: 19924
2010-03-01 06:22:42 +00:00
Florian Fainelli
4f4066d3e0 add support for 2.6.33
SVN-Revision: 19921
2010-02-28 21:24:34 +00:00
Florian Fainelli
9fc22cd032 misc 2.6.33 compilation and config symbols fixes
SVN-Revision: 19920
2010-02-28 20:50:57 +00:00
Florian Fainelli
984ac762e4 add support for 2.6.32, dropped the SPI patch for now
SVN-Revision: 19919
2010-02-28 20:50:51 +00:00
Jo-Philipp Wich
eeb982177d remove asterisk from default vlan ports in netconfig
SVN-Revision: 19910
2010-02-28 16:44:40 +00:00
Jo-Philipp Wich
96e4312e7e switch: eliminate the asterisk from the switch port configuration and set it automatically on the first vlan, this aligns the broadcom vlan config with the swconfig format
SVN-Revision: 19909
2010-02-28 16:40:06 +00:00
Matteo Croce
a15d58f605 ar71xx: 2.6.33 patches
SVN-Revision: 19908
2010-02-28 16:33:15 +00:00
Matteo Croce
2cb1d98fc2 atheros: 2.6.33 patches
SVN-Revision: 19906
2010-02-28 15:30:07 +00:00
Matteo Croce
5ddd984cff kernel: add 2.6.33 patches
SVN-Revision: 19905
2010-02-28 15:20:00 +00:00
Florian Fainelli
23b5d2b743 explicitely enable shared interrupt 2 for any core that did not a dedicated IRQ
Explicitely enable shared interrupt 2 for any core that didn't get a dedicated IRQ
anymore (fallthrough case) and for EXTIF cores to make gpio interrupts work.
Also remove a bogus comment.

Signed-off-by: Jochen Friedrich <jochen@scram.de>

SVN-Revision: 19895
2010-02-28 11:09:44 +00:00
Florian Fainelli
ada5848ba6 build images for RG100A (bcm6358-based boards) (#6755)
SVN-Revision: 19894
2010-02-28 11:09:39 +00:00
Florian Fainelli
29011fe516 add a MIPS Malta target to be used with qemu
SVN-Revision: 19893
2010-02-28 11:09:34 +00:00
Florian Fainelli
e34293297c add missing libertas symbols
SVN-Revision: 19892
2010-02-28 11:09:28 +00:00
Hauke Mehrtens
d503a25c83 remove unneeded patch
SVN-Revision: 19891
2010-02-28 10:21:04 +00:00
Hauke Mehrtens
0c7b285613 kernel: update to kernel 2.6.32.9
SVN-Revision: 19890
2010-02-28 10:16:47 +00:00
Gabor Juhos
85119a7cff adm5120: remove 2.6.31 related stuff
SVN-Revision: 19889
2010-02-28 09:41:02 +00:00
Gabor Juhos
f310851e7e adm5120: switch to 2.6.32
SVN-Revision: 19888
2010-02-28 09:41:00 +00:00
Gabor Juhos
ff2e61fed8 kernel: yet another missing symbol for 2.6.32
SVN-Revision: 19883
2010-02-27 16:27:04 +00:00
Gabor Juhos
e96a82e37e adm5120: fix build error in the USB driver on 2.6.32
SVN-Revision: 19882
2010-02-27 16:26:49 +00:00
Lars-Peter Clausen
87298f0de2 jz4740_nand: * Use NAND_ECC_HW_OOB_FIRST mode instead of a patched NAND_ECC_HW * Fix subpage writing * speed up reading
SVN-Revision: 19875
2010-02-26 18:09:12 +00:00
Travis Kemen
21b2e85b3f add missing symbol
SVN-Revision: 19872
2010-02-26 16:38:48 +00:00
Travis Kemen
2eebf6e0bd add support for the MN-700 platform, closes #2575
SVN-Revision: 19863
2010-02-26 01:34:39 +00:00