Commit Graph

44 Commits (7a17c6be576426779e0034745a307f674a2f775b)

Author SHA1 Message Date
Felix Fietkau 8d7505ad14 atheros: instead of resetting the ethernet core on ifup, only upload the new mac address. fixes a tx regression on various devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-28 01:21:03 +00:00
Felix Fietkau 0dfd02012d atheros: reset ethernet mac when running ifconfig eth0 up, so that changing the mac address works
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-22 17:00:20 +00:00
Felix Fietkau d065711fcc atheros: fix reboot on ar2315 devices which do not implement the atheros reference design workaround for the buggy reset logic (e.g. some senao stuff)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-09 01:53:02 +00:00
Gabor Juhos e75ef3e377 [atheros] enable MyLoader partition parser
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-22 19:43:26 +00:00
Felix Fietkau c2d255feb8 fix accidentally committed typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 01:07:04 +00:00
Felix Fietkau 1a696a41c5 atheros: clean up the board data detection code and attempt to boot the kernel even when the board data was not found (radio data still needs to be present)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18 19:52:59 +00:00
Gabor Juhos f82b9c2d6f [atheros] fix 2.6.26.x boot failure on ar2313 (closes #4082)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-08 20:16:51 +00:00
Felix Fietkau 1417291bae don't register GPIO 0 as LED. it drives the chip select line of the SPI flash on most AR2317 boards. fixes strange jffs2 errors on bootup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-07 00:15:07 +00:00
Felix Fietkau 85f7e435a7 fix ar2315 watchdog restart (patch from #3953)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-28 20:23:44 +00:00
Felix Fietkau 8ca556b737 atheros: don't try to enable pci on AR2317 (fixes #3533)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-19 14:19:59 +00:00
Gabor Juhos 8b0e8fb532 [atheros] use generic cansleep wrappers for GPIO
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-11 06:17:05 +00:00
John Crispin a8cd957586 clean up atheros pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-18 11:49:05 +00:00
John Crispin a61e780690 adds watchdog driver to ar5315
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-14 16:08:46 +00:00
John Crispin 9d28effef8 fixes kernel oops when reset button was pressed too often on atheros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-08 14:12:04 +00:00
John Crispin b82dd11b1d add proper uci/hotplug based button handling on atheros and work around boards, where the gpio release irq does not fire correctly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 22:17:16 +00:00
John Crispin 566e79fea0 fixes reset button on atheros platform, ar5312 gpio_irqs will be added later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 20:57:38 +00:00
Felix Fietkau 1a10fbd870 atheros: fix setting the gpio interrupt level when registering a gpio interrupt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 16:42:43 +00:00
John Crispin 8e8b935963 - bump atheros to .26
- adds leds-gpio to default selection on atheros
- extend led platform setup on atheros



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 21:22:00 +00:00
John Crispin 1cf401fc7a add missing \n to ath pci code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-09 10:09:20 +00:00
Matteo Croce 2c8465c3ba atheros: USB support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-11 19:43:00 +00:00
Felix Fietkau b25f25f063 remove the NETIF_F_HW_CSUM flag from the ar2313 ethernet driver as it seems to be causing problems for various devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-07 07:33:48 +00:00
Gabor Juhos 484e99cd78 [atheros] override CPU features to save ~125KB of kernel memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-05 18:53:27 +00:00
Gabor Juhos 2d697dad7b [atheros] fix size calculation of the radio_config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-05 17:31:36 +00:00
Gabor Juhos 2d93f878d2 [atheros] remove the clz function, use fls instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 09:10:50 +00:00
Gabor Juhos 88dbe9e906 [atheros] remove strange direct usage of dev->priv as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 07:14:45 +00:00
Gabor Juhos 32fe4ae45f [atheros] use the netdev_priv() macro instead of directly accessing dev->priv
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 06:49:42 +00:00
Gabor Juhos c96d5f922b [atheros] use stats from net_device structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 06:47:02 +00:00
Gabor Juhos 0c29aee60a [atheros] nuke trailing whitespaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 06:40:36 +00:00
Gabor Juhos 1519a7d78b [atheros] add missing CONFIG_GPIO_LEDS related ifdefs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-14 17:23:07 +00:00
Gabor Juhos 96348cd4e6 [atheros] fix GPIO direction setup on ar5312, and fix compiler warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-13 10:47:13 +00:00
John Crispin 9693c70502 fix reboot on ar5315
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 21:40:40 +00:00
John Crispin ee8cfeca57 add generic led support to atheros target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 21:09:41 +00:00
John Crispin 6766d68c85 add gpio support to atheros, fixes #1861, thanks Othello
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 20:28:10 +00:00
Felix Fietkau d7f9402a06 increase the flash window size for ar5312 - there are apparently 5312 devices out there with 8M flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-07 18:31:36 +00:00
Felix Fietkau f895991b65 implement ar2313_adjust_link
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 18:00:46 +00:00
Felix Fietkau d696820682 port atheros to 2.6.24 (untested), but do not use the new kernel by default yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-31 04:44:35 +00:00
Felix Fietkau 0f80201533 add atheros ar2313 vlan fix (thx, SeG)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-24 20:04:24 +00:00
Felix Fietkau 279ee0b049 add atheros reset button fixes from #2774
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 05:14:47 +00:00
Felix Fietkau 3defafaf6e don't dispatch spurious irq0 events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 18:27:33 +00:00
John Crispin 5042f33084 [9298] was b0rked
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 00:19:33 +00:00
John Crispin 53230edadb converted atheros ethernet driver to phy layer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-14 00:07:43 +00:00
John Crispin b26611d3ad move atheros to 2.6.23
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 23:16:52 +00:00
John Crispin 9da5eb2da7 added option to atheros kernel to be able to disable reset button from inside the fon mp3 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 00:32:31 +00:00
Felix Fietkau 92558d67a4 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