1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 04:29:22 +02:00
Commit Graph

178 Commits

Author SHA1 Message Date
florian
963a5b3820 Add dg834 leds support from #2817
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-04 02:59:10 +00:00
florian
6bb22baab6 Resync ar7 kernel config (#2966)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-03 21:58:49 +00:00
nbd
6a049752cc fix initramfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-01 21:38:06 +00:00
matteo
aea7a72fb9 AR7 2.6.24, removed duplicate patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 15:24:15 +00:00
matteo
a16ea0db8f AR7 2.6.24 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-30 15:17:10 +00:00
florian
283ce9ea8b Add LEDs definitions for the D-Link DSL-502T (#2746)
Signed-off-by: Oliver <oliver@opencloud.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-16 13:21:31 +00:00
florian
90b21a434e Disable CONFIG_NETDEVICES_MULTIQUEUE for ar7 until we fix the race condition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-10 09:56:44 +00:00
nbd
e869e415b7 Minor patch to the AR7 diag.sh to make the status LED a bit more useful. From the patch:
This setup gives us 3.5 distinguishable states:

- Solid OFF:  Bootloader running, or kernel hung (timer task stalled)
- Solid ON:   Kernel hung (timer task stalled)
- 5Hz blink:  preinit
- Heartbeat:  normal operation

Signed-off-by: oliver@opencloud.com


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-07 00:03:14 +00:00
nbd
2cfedd2a67 [PATCH 2/2] Reimplement rx ring with EOQ markers to avoid reset storms
Signed-off-by: oliver@opencloud.com


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-07 00:03:10 +00:00
nbd
032de762b4 [PATCH 1/2] Fix race between device reset and start_xmit
Signed-off-by: oliver@opencloud.com


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-07 00:03:06 +00:00
nbd
863d4e55d3 Fix VLYNQ device enable for DG834Gv1
This patch allows VLYNQ devices on the DG834Gv1 to be successfully
enabled.

Currently the "__vlynq_enable_device" function attempts to set the VLYNQ
device clock divisor to values from 1 through 8 until a link is
successfully established. On the DG834Gv1 (but not the DG834Gv2),
setting the VLYNQ device clock divisor to 1 (full rate) results in all
further VLYNQ operations failing (including software reset), so the
device is never enabled. This patches changes the function to only
attempt divisors 2 through 8, and hence the device is successfully
enabled.

Signed-off-by: Nick Forbes <nick.forbes@huntsworth.com>

---------


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-04 12:49:54 +00:00
nbd
f56b55940b make the image filenames a bit shorter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-10 23:08:11 +00:00
matteo
2dbeb30374 ar7_gpio: remove unneeded checks and volatile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 15:45:54 +00:00
ejka
72551879bd ar7: fix eva image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 12:02:46 +00:00
florian
cec0e612ad We are now at .23.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 08:13:12 +00:00
ejka
ccbffd6c6e ar7: add eva image generation (thanks Axel Gembe)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-22 14:20:02 +00:00
ejka
461b71b547 fritzbox leds detection (thanks Axel Gembe)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-19 03:02:49 +00:00
ejka
c5f3f8343e Fix tx error handling (#2552). Make rx ring size actually configurable through
ethtool


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-16 12:53:22 +00:00
ejka
4af1f601b6 enable NETDEVICES_MULTIQUEUE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-13 02:27:46 +00:00
ejka
309e8eb475 fix the case when NETDEVICES_MULTIQUEUE is not enabled (#2506)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-13 02:27:19 +00:00
ejka
ecb4c97c20 use acx-mac80211 in profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 02:38:23 +00:00
ejka
1aaf14ee09 remove version checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 01:44:00 +00:00
ejka
84eb9e7193 we are using leds-gpio now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 01:39:24 +00:00
ejka
af7b1083d0 locking rework, drop non-napi rx, multiqueue tx, misc cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 01:21:32 +00:00
ejka
afd00b4e04 switch ar7 to 2.6.23
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-10 06:23:39 +00:00
matteo
9ddfc39e20 backport ar7_wdt from linux-2.6-watchdog-mm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-08 01:44:39 +00:00
ejka
c3585201fb cleanup vlynq. drop vlynq-pci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-05 17:54:36 +00:00
ejka
c9dad6250d add ar7 2.6.23 patches and config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-04 02:27:37 +00:00
ejka
d5a64cf57a more cpmac cleanups (#2452):
* don't use net_device::mem*
 * use net_device::stats
 * use per-device rx ring size configurable through ethtool
 * use more ethernet generics (get_stats, set_mac_address, change_mtu)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 14:53:05 +00:00
ejka
b5018a4078 add usb controller definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-01 12:35:35 +00:00
nico
82cb0084ab revert to vlynq bus clock divisor guessing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-01 10:16:14 +00:00
ejka
81a9a045de don't enable rts/cts by default (thanks nabcore, #2400)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-30 03:15:24 +00:00
juhosg
7aa11efc17 get rid of per-profile base-files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 14:27:54 +00:00
ejka
63c42902d7 add necessary includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 08:13:08 +00:00
ejka
1346f7147a add initial generic gpio-leds support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 14:04:29 +00:00
ejka
35a0fb9185 make gpio conformant to generic gpio spec.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 12:37:50 +00:00
matteo
41497a5586 fix silliness in [8886]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 19:46:58 +00:00
matteo
81df3b167a replace deprecated u_char with u8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 19:33:00 +00:00
matteo
b377dac440 Make ar7_part more readable and endianness safe
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 19:25:38 +00:00
matteo
b37fa14eed small cpmac fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 16:31:23 +00:00
matteo
ddfe3fac99 remove useless dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 16:20:40 +00:00
ejka
ba7d1c517e use set_irq_chip_and_handler (#2408)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 02:22:03 +00:00
matteo
945335ea40 style cleanups (make checkpatch.pl happy)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 23:27:34 +00:00
nbd
de5584e77a clean up jffs2 config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 20:58:16 +00:00
ejka
a0e3d6be3e cleanup (use dma API, use accessors, debugging/printk cleanup)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 12:58:12 +00:00
ejka
5d895bb0b3 We have generic irqs now.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 00:52:40 +00:00
matteo
351a3d1a64 detect ar7 at runtime in set_except_vector and remove useless volatile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-17 12:45:38 +00:00
matteo
207b52f838 don't broke other archs, we're close to mainstream (i hope)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-14 20:26:54 +00:00
ejka
27ab715e19 fix previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-14 05:30:11 +00:00
ejka
7c21609c5c add *dma_mask's to cpmacs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-14 04:49:47 +00:00
ejka
2c3ecd000e fix watchdog seek test (#2383)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-14 04:46:34 +00:00
ejka
723f41a908 fix CAC_ADDR/UNCAC_ADDR macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-13 07:16:26 +00:00
ejka
09aef5280e mmzone.h is not needed anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-13 07:07:46 +00:00
ejka
0f2cb4d578 128 irqs is not enough...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-13 06:21:27 +00:00
ejka
ecb2219233 copy-paste typo, lost static's
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-13 06:20:29 +00:00
matteo
d127ad9238 use ebase instead of CAC_BASE, some cosmetic fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 17:48:46 +00:00
matteo
82b6ff28f0 Enabled working ar7_wdt, style cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 16:15:12 +00:00
matteo
91d6f27676 added ar7_wdt fix by Alex
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 15:30:00 +00:00
matteo
969318c24f Style fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 13:21:02 +00:00
ejka
1fe90486fd there is no need in two identical actions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 12:27:06 +00:00
ejka
fc58f2fd75 vlynq cleanups:
* drivers can now set a clock divisor
 * irq handling cleanup, drivers now can handle error irqs themselves
 * style cleanup


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 12:23:56 +00:00
matteo
769621dec9 more AR7 cleanups & fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 23:50:02 +00:00
matteo
53c6d224b0 no memset after kzalloc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 22:40:06 +00:00
matteo
6485c8ba0a AR7: Cleanups (closes: #2323)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 21:19:57 +00:00
nico
642f601416 disable dsp freq use for vlynq bus clock init, disable external clocking (it locks up on c54apra2+) and revert to internal clocking trying various clock divisors.
cleanup:
 * remove volative and use readl & writel accessors instead
 * use set_irq_chip & friends for irq setup
 * use kzalloc instead of kmalloc
 * secure VINT_VECTOR macro argument
 * remove unused vlynq_local_id function



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 14:50:43 +00:00
nico
6f9c59a813 fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 13:44:55 +00:00
ejka
75eb95a12c Style cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 13:42:23 +00:00
ejka
6e3ad40d8a Style cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 13:18:51 +00:00
ejka
2850c28229 AR7: IRQ handlng cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 13:07:52 +00:00
florian
35881dd173 AR7 will also be running in big-endian on zyxel devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 06:43:59 +00:00
florian
6cdcb18a05 Remove useless EXTRA_CFLAGS stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 06:43:27 +00:00
florian
64f35b6ef8 Fix comments to the mtd driver (see http://www.linux-mips.org/archives/linux-mips/2007-09/msg00064.html)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 06:32:05 +00:00
nbd
ceee90ffd2 adapt profiles for subtarget changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 20:04:43 +00:00
nbd
6db7ad74f6 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
ejka
9fab1ed49b Use PHYS_OFFSET.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 09:16:30 +00:00
ejka
6eff87f648 Add TNETW1350 to known devices. Style cleanups.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 09:02:44 +00:00
nico
4aac3b42a2 cosmetic fixes for ar7: indent, use lowercase hex notation, format
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 19:35:08 +00:00
nbd
17c7b6c3fd strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00