Commit Graph

235 Commits (e01649c7cce35cc4cf9f576a5a174a3ca069734a)

Author SHA1 Message Date
Felix Fietkau 0f47e1a0f4 atheros: make use of netdev_alloc_skb
SVN-Revision: 15176
2009-04-09 19:43:13 +00:00
Felix Fietkau c42422fb53 remove debugging code
SVN-Revision: 15127
2009-04-07 01:37:43 +00:00
Felix Fietkau 28b9fea4e7 atheros: fix a spiflash write performance regression
SVN-Revision: 15027
2009-03-24 23:41:29 +00:00
Hauke Mehrtens f5dc2ce0aa refresh patches
SVN-Revision: 15018
2009-03-24 15:09:20 +00:00
Hauke Mehrtens 62595883fb update to kernel version 2.6.28.9
SVN-Revision: 15017
2009-03-24 15:06:53 +00:00
Felix Fietkau 9e5fecf984 atheros: fix radio mask check on ar5312
SVN-Revision: 14986
2009-03-23 00:05:52 +00:00
Felix Fietkau 56ddbfff1e atheros: upgrade to 2.6.28 by default
SVN-Revision: 14985
2009-03-22 22:10:59 +00:00
Felix Fietkau 8d217b7162 atheros: fix mdio bus registration for multiple ethernet interfaces
SVN-Revision: 14984
2009-03-22 22:10:54 +00:00
Felix Fietkau fd11bfec64 atheros: fix ar5312 support
SVN-Revision: 14983
2009-03-22 22:10:47 +00:00
Felix Fietkau 107f6ea323 atheros: do not attempt to start pci on ar2317
SVN-Revision: 14982
2009-03-22 20:51:23 +00:00
Felix Fietkau bfa8064ccd atheros: in later kernels, vlan 0 no longer works as expected, switch to (1,2) instead of (0,1) for lan/wan
SVN-Revision: 14981
2009-03-22 20:19:23 +00:00
Felix Fietkau 86883cc2e0 atheros: fix path in marvell switch phy id detection
SVN-Revision: 14980
2009-03-22 20:18:58 +00:00
Felix Fietkau 7325f7cfbb atheros: enable adm6996 and mvswitch support
SVN-Revision: 14976
2009-03-22 20:18:31 +00:00
Felix Fietkau 3387cbae63 atheros: fix gpio interrupt handling on 2315
SVN-Revision: 14973
2009-03-22 18:33:08 +00:00
Felix Fietkau 6295d1932f atheros: add back reset button support
SVN-Revision: 14970
2009-03-22 17:59:03 +00:00
Felix Fietkau 675f7bfdd8 atheros: split out the pci support patch
SVN-Revision: 14969
2009-03-22 17:58:48 +00:00
Felix Fietkau 60d4e6e747 atheros: clean up the 2.6.28 port in preparation for pushing it upstream
SVN-Revision: 14967
2009-03-22 14:46:58 +00:00
Felix Fietkau 11014b5cea disable all kernel config options that are set to =m
SVN-Revision: 14611
2009-02-22 04:44:24 +00:00
Hauke Mehrtens 668860c98f Add initial kernel 2.6.28 support for atheros target. The include files moved from /include/asm-mips/mach-atheros/ to /arch/mips/include/asm/mach-atheros/ This patch is based on the old kernel 2.6.27 patches.
SVN-Revision: 14584
2009-02-20 16:27:42 +00:00
Hauke Mehrtens cde75fb5af move files for kernel 2.6.26 to a special directory. In kernel 2.6.28 the directory structure has chanced, so for kernel 2.6.26 a own files directory is needed.
SVN-Revision: 14583
2009-02-20 16:19:46 +00:00
Hauke Mehrtens fef5a07219 remove atheros target for kernel 2.6.27. When support for kernel 2.6.28 is added this is not needed any more.
SVN-Revision: 14582
2009-02-20 16:14:01 +00:00
Florian Fainelli 8599641c8f include revision number in Ubiquity images
SVN-Revision: 14574
2009-02-20 10:19:24 +00:00
Andy Boyett 9f8c82da09 Add hostapd-mini to default images where applicable
SVN-Revision: 13819
2009-01-02 05:12:46 +00:00
Felix Fietkau 8e5dfe75c3 atheros: instead of resetting the ethernet core on ifup, only upload the new mac address. fixes a tx regression on various devices
SVN-Revision: 13753
2008-12-28 01:21:03 +00:00
Felix Fietkau fcce322e49 atheros: reset ethernet mac when running ifconfig eth0 up, so that changing the mac address works
SVN-Revision: 13720
2008-12-22 17:00:20 +00:00
Jo-Philipp Wich 954862f161 fix typo in atheros image makefile
SVN-Revision: 13707
2008-12-21 15:52:06 +00:00
Gabor Juhos 124f0b003a firmware-utils/mkfwimage: add RouterStation support (based on a patch by Jonas <jonas at ubnt.com>)
SVN-Revision: 13682
2008-12-18 13:31:59 +00:00
Florian Fainelli 5dc3098a6c Disable CONFIG_NF_CT_ACCT
SVN-Revision: 13577
2008-12-10 01:39:29 +00:00
Felix Fietkau b2b5ca2373 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)
SVN-Revision: 13556
2008-12-09 01:53:02 +00:00
Gabor Juhos 919a8a9fe0 make mips_machine stuff available for other MIPS targets
SVN-Revision: 13492
2008-12-02 21:54:53 +00:00
Imre Kaloz a695fa76a4 move THERMAL symbols into the generic config
SVN-Revision: 13346
2008-11-25 13:52:25 +00:00
Gabor Juhos d6b4535d18 create firmware image for the Compex NP25G and WPE53G boards
SVN-Revision: 13318
2008-11-22 19:45:14 +00:00
Gabor Juhos c27b9bf6db enable MyLoader partition parser
SVN-Revision: 13317
2008-11-22 19:43:26 +00:00
Gabor Juhos eaee44586b sync 2.6.26 config
SVN-Revision: 13268
2008-11-17 19:46:37 +00:00
Imre Kaloz 722c78cd1e move some options to the generic 2.6.27 config
SVN-Revision: 13264
2008-11-17 17:28:12 +00:00
Gabor Juhos 2b10284b62 update 2.6.27 specific patches, and sync kernel config
SVN-Revision: 13197
2008-11-13 14:29:34 +00:00
Gabor Juhos 88cda758c3 update to 2.6.25.20, 2.6.26.8, 2.6.27.5 and refresh patches * based on a patch by Hauke Mehrtens * closes #4193
SVN-Revision: 13192
2008-11-12 17:49:01 +00:00
Gabor Juhos a1bf28950d refresh 2.6.26 patches
SVN-Revision: 13135
2008-11-06 20:55:33 +00:00
Felix Fietkau d1b986bd54 improve routing/nat performance for devices using the marvell 88e6060 switch
SVN-Revision: 13060
2008-10-28 17:54:22 +00:00
Felix Fietkau 8c83709bc6 select gpioctl by default on atheros
SVN-Revision: 13040
2008-10-23 15:16:12 +00:00
Florian Fainelli 1ac53fbf06 Update to 2.6.26.7
SVN-Revision: 13036
2008-10-23 09:16:00 +00:00
Felix Fietkau c57577bf5b fix accidentally committed typo
SVN-Revision: 13025
2008-10-23 01:07:04 +00:00
Felix Fietkau 81b05ae1a2 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)
SVN-Revision: 13006
2008-10-18 19:52:59 +00:00
Gabor Juhos 19b0e56ba7 refresh patches against 2.6.27 final
SVN-Revision: 12987
2008-10-15 19:30:21 +00:00
Gabor Juhos efc3f8a1ef experimental support for 2.6.27
SVN-Revision: 12932
2008-10-09 08:08:13 +00:00
Gabor Juhos 1962736dc2 fix 2.6.26.x boot failure on ar2313 (closes #4082)
SVN-Revision: 12928
2008-10-08 20:16:51 +00:00
Gabor Juhos 0f62f10e2d fix section mismatch warning
SVN-Revision: 12918
2008-10-08 17:56:37 +00:00
Felix Fietkau 6fdb738d10 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
SVN-Revision: 12881
2008-10-07 00:15:07 +00:00
Felix Fietkau fc59ffea21 fix ar2315 watchdog restart (patch from #3953)
SVN-Revision: 12775
2008-09-28 20:23:44 +00:00
Gabor Juhos 821170133f update to 2.6.26.5 and 2.6.25.17
SVN-Revision: 12718
2008-09-26 18:46:53 +00:00
Nicolas Thill 59a058534c move CONFIG_MEDIA_ATTACH & CONFIG_VIDEO_ALLOW_V4L1 to generic config and disable the later (deprecated Video for Linux API v1)
SVN-Revision: 12692
2008-09-25 09:46:46 +00:00
Nicolas Thill 3029c2fd53 disable CONFIG_USB_SUPPORT in generic config for 2.6.25 & 2.6.26 and enable it on targets where USB is supported
SVN-Revision: 12690
2008-09-24 19:28:53 +00:00
Felix Fietkau e5dc717d22 atheros: don't try to enable pci on AR2317 (fixes #3533)
SVN-Revision: 12633
2008-09-19 14:19:59 +00:00
Felix Fietkau 818729cfd2 remove old atheros kernels and patches
SVN-Revision: 12590
2008-09-13 08:30:47 +00:00
Gabor Juhos 10eaf08da5 use generic cansleep wrappers for GPIO
SVN-Revision: 12567
2008-09-11 06:17:05 +00:00
Gabor Juhos 184c6b06f2 update to 2.6.26.3 and 2.6.25.16
SVN-Revision: 12371
2008-08-22 15:37:19 +00:00
Nicolas Thill 2a05d8cbba set reasonable generic CRYPTO_ config entries for 2.6.26
SVN-Revision: 12362
2008-08-21 13:30:59 +00:00
John Crispin 874ca11412 clean up atheros pci code
SVN-Revision: 12337
2008-08-18 11:49:05 +00:00
John Crispin 9379dc19b6 adds watchdog driver to ar5315
SVN-Revision: 12309
2008-08-14 16:08:46 +00:00
John Crispin 2bd17fe1cb fixes kernel oops when reset button was pressed too often on atheros
SVN-Revision: 12245
2008-08-08 14:12:04 +00:00
Gabor Juhos e5fa05d788 update to 2.6.25.15 and 2.6.26.2
SVN-Revision: 12242
2008-08-07 16:52:52 +00:00
John Crispin 5e5cc5a7c8 add proper uci/hotplug based button handling on atheros and work around boards, where the gpio release irq does not fire correctly
SVN-Revision: 12179
2008-08-05 22:17:16 +00:00
John Crispin 2dd9146ddf fixes reset button on atheros platform, ar5312 gpio_irqs will be added later
SVN-Revision: 12164
2008-08-05 20:57:38 +00:00
Felix Fietkau 5eab3b092d atheros: fix setting the gpio interrupt level when registering a gpio interrupt
SVN-Revision: 12139
2008-08-05 16:42:43 +00:00
Felix Fietkau 4da8ae9f24 refresh atheros config, add missing symbols to generic 2.6.26 config
SVN-Revision: 12117
2008-08-05 01:16:48 +00:00
John Crispin d38b4fd256 - bump atheros to .26 - adds leds-gpio to default selection on atheros - extend led platform setup on atheros
SVN-Revision: 12100
2008-08-04 21:22:00 +00:00
Nicolas Thill bbc96d103a move CONFIG_XFS_DEBUG to generic config
SVN-Revision: 12007
2008-07-30 09:59:41 +00:00
Matteo Croce 5cb5a026ee atheros: 2.6.26 patches
SVN-Revision: 11965
2008-07-27 21:42:36 +00:00
Felix Fietkau 1b84749c77 allow mkfwimage to fail during atheros builds. sometimes images get too big for devices that use this image format, but this must not break the normal image build for other atheros devices
SVN-Revision: 11934
2008-07-26 13:32:02 +00:00
Travis Kemen 14622d5a08 Use mkfwimage from athero.openwrt.net with modification for XS2 devices. Add back in ubiquiti image generation.
SVN-Revision: 11920
2008-07-25 03:55:21 +00:00
John Crispin 77fed3fa5b add missing \n to ath pci code
SVN-Revision: 11753
2008-07-09 10:09:20 +00:00
Gabor Juhos 518fb1a488 refresh kernel patches
SVN-Revision: 11197
2008-05-19 07:16:54 +00:00
Gabor Juhos f9719b35c8 upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19)
SVN-Revision: 11184
2008-05-18 20:12:54 +00:00
Rod Whitby e2829f4251 atheros/config-2.6.25: Removed MII override
SVN-Revision: 11161
2008-05-17 11:29:45 +00:00
Travis Kemen ce0e9bec2f revert to before ubnt images were made
SVN-Revision: 11130
2008-05-13 04:20:47 +00:00
Matteo Croce 2058b80964 atheros: added marvell switch driver
SVN-Revision: 11129
2008-05-13 00:10:45 +00:00
Matteo Croce f060405005 atheros: revert to kernel 2.6.23
SVN-Revision: 11114
2008-05-11 20:01:01 +00:00
Matteo Croce c8d30d5f09 atheros: USB support
SVN-Revision: 11113
2008-05-11 19:43:00 +00:00
Travis Kemen b3b8a3d2b2 fix file names
SVN-Revision: 11083
2008-05-08 20:01:45 +00:00
Travis Kemen 94c559b233 change image generation, no need for duplicate images
SVN-Revision: 11082
2008-05-08 19:37:06 +00:00
Travis Kemen 1deffb0f40 fix filename for image generation
SVN-Revision: 11077
2008-05-08 16:46:33 +00:00
Travis Kemen 3612b1e7c0 buld images for the Ubiquiti LiteStation and NanoStation ported from http://atheros.openwrt.net. Tested on a Nanostation 2 with airos 3
SVN-Revision: 11061
2008-05-07 23:47:17 +00:00
Felix Fietkau 4a2ab2e0d4 remove the NETIF_F_HW_CSUM flag from the ar2313 ethernet driver as it seems to be causing problems for various devices
SVN-Revision: 11058
2008-05-07 07:33:48 +00:00
Gabor Juhos 2a97980ee3 override CPU features to save ~125KB of kernel memory
SVN-Revision: 11050
2008-05-05 18:53:27 +00:00
Gabor Juhos 5eb551c3a5 fix size calculation of the radio_config
SVN-Revision: 11049
2008-05-05 17:31:36 +00:00
Gabor Juhos 21c5ef4c1d add .25 patches (kernel boots fine on LS2, LS5, FON2200 and on WRT55AG v2)
SVN-Revision: 11016
2008-05-03 05:43:29 +00:00
Gabor Juhos 19233de9d3 resync .24 config
SVN-Revision: 10990
2008-04-30 13:56:30 +00:00
Felix Fietkau 9e0ee80132 enable a different pseudo-vlan mode in the marvell switch (uses a proprietary header instead of a proprietary trailer) - fixes some mtu issues
SVN-Revision: 10975
2008-04-29 12:55:44 +00:00
Imre Kaloz e84649e578 naming convention
SVN-Revision: 10965
2008-04-28 16:28:29 +00:00
Gabor Juhos 99969dcffa fix a typo in the previous commit
SVN-Revision: 10958
2008-04-27 18:36:24 +00:00
Gabor Juhos 408fd8097f enable 2.6.24 to run on ar53xx
SVN-Revision: 10957
2008-04-27 17:40:02 +00:00
Nicolas Thill c6fe45ed55 properly disable CONFIG_CRYPTO_HW
SVN-Revision: 10952
2008-04-27 12:31:50 +00:00
Gabor Juhos 1f666fa459 remove the clz function, use fls instead
SVN-Revision: 10878
2008-04-20 09:10:50 +00:00
Felix Fietkau c55299adb4 make use of the marvell switch in the atheros port
SVN-Revision: 10877
2008-04-20 08:39:16 +00:00
Felix Fietkau 11d94ce083 Add support for the ultra-crappy Marvell 88E6060, which is used in Fonera+ and the upcoming Fonera 2.0
SVN-Revision: 10876
2008-04-20 08:29:01 +00:00
Gabor Juhos 1ffb70c7b0 remove strange direct usage of dev->priv as well
SVN-Revision: 10875
2008-04-20 07:14:45 +00:00
Gabor Juhos 64d1c3a2e1 use the netdev_priv() macro instead of directly accessing dev->priv
SVN-Revision: 10874
2008-04-20 06:49:42 +00:00
Gabor Juhos 8160564211 use stats from net_device structure
SVN-Revision: 10873
2008-04-20 06:47:02 +00:00
Gabor Juhos 455331a8ec nuke trailing whitespaces
SVN-Revision: 10872
2008-04-20 06:40:36 +00:00
Felix Fietkau 23e3735ad5 make use of the adm6996 switch for atheros devices that support it (autodetected at boot time)
SVN-Revision: 10871
2008-04-20 03:24:59 +00:00
Felix Fietkau a323a7bf2a Add stub driver for ADM6996F switches (configured through MII) The driver currently uses a hardcoded VLAN mapping and has no configuration yet Tested on Accton MR3202a
SVN-Revision: 10869
2008-04-20 02:53:04 +00:00
Gabor Juhos c7ed0fbd18 add missing CONFIG_GPIO_LEDS related ifdefs
SVN-Revision: 10835
2008-04-14 17:23:07 +00:00
Gabor Juhos bb0c092672 fix GPIO direction setup on ar5312, and fix compiler warnings
SVN-Revision: 10811
2008-04-13 10:47:13 +00:00
John Crispin 16f1b84a59 fix reboot on ar5315
SVN-Revision: 10729
2008-04-03 21:40:40 +00:00
John Crispin 3f1fa224f0 add generic led support to atheros target
SVN-Revision: 10728
2008-04-03 21:09:41 +00:00
John Crispin b526f65baf add gpio support to atheros, fixes #1861, thanks Othello
SVN-Revision: 10724
2008-04-03 20:28:10 +00:00
Florian Fainelli c9160a88b1 Revert [10668] this was also accidental
SVN-Revision: 10670
2008-03-27 15:52:29 +00:00
Florian Fainelli e9c19c7de9 Create a dummy sit package for 2.4 kernelsq
SVN-Revision: 10668
2008-03-27 15:44:14 +00:00
Imre Kaloz 3a0e58b2e1 upgrade & standardize kernel versions
SVN-Revision: 10443
2008-02-11 10:50:40 +00:00
Felix Fietkau 56c3c68fa6 increase the flash window size for ar5312 - there are apparently 5312 devices out there with 8M flash
SVN-Revision: 10409
2008-02-07 18:31:36 +00:00
Felix Fietkau 8822153478 add missing config selections
SVN-Revision: 10375
2008-02-03 18:00:55 +00:00
Felix Fietkau 3afef97ed5 implement ar2313_adjust_link
SVN-Revision: 10374
2008-02-03 18:00:46 +00:00
Felix Fietkau 2361535088 port atheros to 2.6.24 (untested), but do not use the new kernel by default yet
SVN-Revision: 10335
2008-01-31 04:44:35 +00:00
Felix Fietkau dc584fc1af add atheros ar2313 vlan fix (thx, SeG)
SVN-Revision: 10238
2008-01-24 20:04:24 +00:00
Florian Fainelli 7eec65be78 Resync kernel config for atheros (#2940)
SVN-Revision: 10081
2008-01-02 00:25:59 +00:00
Felix Fietkau 0f0a49c98f add atheros reset button fixes from #2774
SVN-Revision: 9721
2007-12-13 05:14:47 +00:00
Felix Fietkau 1bca0cc517 make the image filenames a bit shorter
SVN-Revision: 9533
2007-11-10 23:08:11 +00:00
Florian Fainelli 486492b407 We are now at .23.1
SVN-Revision: 9415
2007-10-23 08:13:12 +00:00
John Crispin 0ac64f1dfc fix b0rked atheros kernelconfig
SVN-Revision: 9386
2007-10-21 08:56:10 +00:00
John Crispin 9f73ab51f3 refreshed madwifi patches
SVN-Revision: 9380
2007-10-20 19:13:53 +00:00
John Crispin 32dc9ca55a fixed missing symbols in atheros kernel config
SVN-Revision: 9356
2007-10-18 21:46:52 +00:00
Felix Fietkau 3acb27cdd7 don't dispatch spurious irq0 events
SVN-Revision: 9347
2007-10-18 18:27:33 +00:00
John Crispin 3568f0c247 was b0rked
SVN-Revision: 9299
2007-10-14 00:19:33 +00:00
John Crispin 8f7311e20b converted atheros ethernet driver to phy layer
SVN-Revision: 9298
2007-10-14 00:07:43 +00:00
John Crispin d4009e55b6 fix serial port warning on atheros
SVN-Revision: 9277
2007-10-13 01:15:36 +00:00
John Crispin cea0422b82 add atheros patch to enable annoying printks as atheros eth driver has no cheksum support
SVN-Revision: 9274
2007-10-12 22:20:04 +00:00
Felix Fietkau 069032243a move a few kconfig options from atheros to generic-2.6
SVN-Revision: 9273
2007-10-12 21:21:36 +00:00
John Crispin 275e276eb6 fixed error in kernelconfig for atheros
SVN-Revision: 9271
2007-10-12 19:27:23 +00:00
John Crispin 7745eb277d move atheros to 2.6.23
SVN-Revision: 9265
2007-10-11 23:16:52 +00:00
Gabor Juhos 438dfe5c6f get rid of per-profile base-files
SVN-Revision: 9069
2007-09-29 14:27:54 +00:00
John Crispin d7502c446b added option to atheros kernel to be able to disable reset button from inside the fon mp3 driver
SVN-Revision: 8969
2007-09-23 00:32:31 +00:00
Felix Fietkau 236d7e62ca clean up jffs2 config options
SVN-Revision: 8848
2007-09-19 20:58:16 +00:00
Felix Fietkau 87a88cebc7 adapt profiles for subtarget changes
SVN-Revision: 8695
2007-09-08 20:04:43 +00:00
Felix Fietkau a9d683ca91 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
SVN-Revision: 8694
2007-09-08 19:55:42 +00:00
Felix Fietkau 56231056ea 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.
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00