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

5950 Commits

Author SHA1 Message Date
nbd
455e74f063 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).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 14:35:41 +00:00
lars
95a4336b23 [xburst] jz4740: Properly setup intc irq handler.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 12:03:48 +00:00
lars
3a2459c94c [xburst] n516-lpc: Ack wakeup events and some minor cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 00:03:40 +00:00
hauke
2c2e1ade7c 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 22:03:00 +00:00
lars
c60251a7a0 [xburst] jz4740-gpio: Fix potential race condition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 20:34:40 +00:00
lars
114dc323ef [xbrust] Fix gpio and irq wakeup irq handling.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 20:34:01 +00:00
lars
66703ccb32 [xburst] Export gpio and irq registers through debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 20:32:08 +00:00
juhosg
770be264bf imagebuilder: add REVISION variable (closes #6795)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 17:00:46 +00:00
juhosg
d6a5fc493b ar71xx: simplify WP543 image generation, and fix rootfs offset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 15:32:48 +00:00
juhosg
affcf3e8d8 ar71xx: sync .33 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 14:38:46 +00:00
juhosg
04ebf72ec7 ar71xx: enable AR7240 DSA driver on 2.6.33 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 14:38:43 +00:00
juhosg
c61ed8d072 ar71xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 13:00:23 +00:00
juhosg
e9152bd9e4 ar71xx: add NAND driver for the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:23 +00:00
juhosg
fae32e3e86 ar71xx: add ar71xx_gpio_function_setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:14 +00:00
juhosg
7ee68b0bf3 ar71xx: add LED driver for the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:01 +00:00
juhosg
bdf568ed13 ar71xx: add latch handling code for the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:09:49 +00:00
juhosg
2b3fad7526 ar71xx: increase kernel partition size for the WP543 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:09:38 +00:00
lars
38f5248e7c [xburst] Add sound support for the n516.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 23:45:45 +00:00
lars
06c8bec13f [xburst] Add support for enabling/disabling the aic controllers clock.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 23:44:58 +00:00
florian
d19c65588b [ar7] correct the MDIO base address and reset sequence for Titan (#6573)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 16:37:01 +00:00
juhosg
8221ebb020 ar71xx: add preliminary support for the RouterBOARD 750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 05:41:01 +00:00
juhosg
8d39aaa9fd ar71xx: make the rb4xx nand driver depends on AR71XX_MACH_RB4XX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 05:40:58 +00:00
juhosg
1ce5f3c0cf ar71xx: rename mach-rb-4xx.c to mach-rb4xx.c, and change Kconfig symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 05:40:56 +00:00
florian
2d17b93d56 [ar7] let 802.1q tagged frames go in and out from cpmac (#6730)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-06 22:33:30 +00:00
florian
d66d9ebb2e [ar7] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-06 22:33:25 +00:00
florian
b2a574ea27 [ar7] fix cpmac panics with 2.6.32 (#6764)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-06 22:33:19 +00:00
thepeople
960b5ab667 fix missing symbols for kernel 2.6.33, closes #6803 thanks Maddes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 23:10:54 +00:00
thepeople
0a6ed453c3 fix missing symbols for kernel 2.6.32, closes #6802 thanks Maddes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 22:35:24 +00:00
thepeople
8c78d96c44 add missing symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 21:58:49 +00:00
juhosg
da900edca4 ar71xx: don't init PCI irqs on the AR7240 if the PCIe subsystem are in reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:29 +00:00
juhosg
903cab07f2 ar71xx: fix sysupgrade on the WRT400N (thanks to chuljin)
* closes #6782


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:27 +00:00
juhosg
3481530afd ar71xx: fix status led detection on the RB4xx boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:24 +00:00
juhosg
0955ccfcf3 ar71xx: ag71xx: move calling ag71xx_phy_stop out from spinlock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:22 +00:00
juhosg
5b74d557fa ar71xx: ag71xx: move link update function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:18 +00:00
juhosg
99dab77b59 ar71xx: ag71xx: don't use dev->trans_start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:14 +00:00
juhosg
54b41868d6 ar71xx: ag71xx: use dma_unmap_single to unmap frames
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:10 +00:00
lars
cde7986406 [xburst] Add support for the n516
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 04:21:41 +00:00
lars
de2c2b0b71 [xburst] Add subtarget for each device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 04:15:51 +00:00
lars
474eca73a8 [xburst] jz4740 pm: Fix gpio suspend/resume. Turn pll off while in suspend and gate
clocks off which arn't handeld by their subsystems yet.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 02:56:25 +00:00
lars
03d2078bc2 [xburst] gpio.h: Add proper parenthesis to JZ_GPIO_PORTX macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 02:53:23 +00:00
lars
38b776b710 [xburst] jz4740_fb: Add support for parallel displays, improve power consumption
and some minor bugfixes


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 02:48:55 +00:00
florian
51b563fb2a [rdc] fix watchdog driver unregistering, patch by Bernhard Loos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-04 20:48:43 +00:00
lars
37f69cee3c [xburst] jz4740_udc: Implement suspend/resume
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-04 20:20:54 +00:00
florian
d34517dacf [rdc] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-04 08:28:20 +00:00
florian
e1e080bae6 [rdc] enable the required packages to use a gpio-based reset button
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-04 08:28:10 +00:00
florian
baa06e35a6 [rdc] remove now unused rdc321x_gpio.h file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-04 08:28:05 +00:00
florian
23e003c5bf [rdc] improve sitecom device support
Add support for the 3 GPIO LEDs, reset button and switch to the gpio-buttons
driver. Patch by Bernhard Loos.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-04 08:27:59 +00:00
florian
5571a3d454 [rdc] select ARCH_REQUIRE_GPIOLIB which is required for our gpiolib driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-04 08:27:51 +00:00
florian
a0438292e5 [rdc] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-04 07:54:25 +00:00
florian
0ecd32cf42 [au1000] merge the two patches applying to the same file in a single patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-04 07:54:20 +00:00