Commit graph

601 commits

Author SHA1 Message Date
Gabor Juhos
38f75ef671 aw-nr580: add GPIO buttons
SVN-Revision: 14682
2009-02-27 15:45:29 +00:00
Gabor Juhos
df2c881e14 move 'ar71xx_add_device_usb' definition into devices.h
SVN-Revision: 14680
2009-02-27 10:09:20 +00:00
Gabor Juhos
47dc8c615a TL-WR941ND: update flash partition map
SVN-Revision: 14673
2009-02-26 17:01:05 +00:00
Gabor Juhos
53b833a6c4 preliminary support for the Ubiquiti RouterStation Pro
SVN-Revision: 14666
2009-02-26 07:39:30 +00:00
Andy Boyett
1adf135943 wnr2000: enable ar8216 workaround, add network config. LAN ports now work
SVN-Revision: 14663
2009-02-26 05:54:32 +00:00
Andy Boyett
0b44a56a36 wnr2000: configure eth1 (WAN) and detect the ar8216 switch on eth0 (LAN)
ar8216 headers are embedded in packets on eth0 so it is not usable yet

SVN-Revision: 14661
2009-02-26 01:22:57 +00:00
Andy Boyett
ec0f53cb37 wnr2000: buttons and blinkenlights!
SVN-Revision: 14660
2009-02-26 01:20:27 +00:00
Gabor Juhos
2242545e56 ag71xx driver: forgot to add a new file
SVN-Revision: 14657
2009-02-25 17:52:14 +00:00
Gabor Juhos
8e0e4cb3d8 mzk-w04nu: enable the ar8216 chip workaround, and add a default network configuration file
SVN-Revision: 14656
2009-02-25 16:48:56 +00:00
Gabor Juhos
0e8a23d053 ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable switch driver
SVN-Revision: 14655
2009-02-25 16:47:11 +00:00
Gabor Juhos
60c561f016 remove duplicated includes
SVN-Revision: 14638
2009-02-23 11:34:05 +00:00
Gabor Juhos
77b57258af TL-WR941ND: add DSA device for the Marvell 88E6060 switch
SVN-Revision: 14637
2009-02-23 10:43:23 +00:00
Gabor Juhos
f7cf3b2a68 move device registration function prototypes into a separate header file
SVN-Revision: 14635
2009-02-23 08:50:00 +00:00
Gabor Juhos
46cf4434b6 rename platform.c to devices.c
SVN-Revision: 14634
2009-02-23 08:21:05 +00:00
Gabor Juhos
1afc3a7bd5 enable TL-WR941ND in kernel config
SVN-Revision: 14633
2009-02-23 08:01:31 +00:00
Gabor Juhos
a34753cacd tl-wr941nd: register ethernet device, and fix machine id
SVN-Revision: 14632
2009-02-23 07:58:44 +00:00
Gabor Juhos
db0a4e48f9 micrel phy driver: change initcall level if compiled into the kernel
SVN-Revision: 14628
2009-02-22 20:52:12 +00:00
Gabor Juhos
8e4fbc7399 preliminary support for the TL-WR941ND
SVN-Revision: 14627
2009-02-22 20:49:06 +00:00
Gabor Juhos
507e6e4140 add an alias board name for the Ubiquiti RouterStation
SVN-Revision: 14563
2009-02-19 07:39:50 +00:00
Gabor Juhos
357ed07a84 add a workaround for fixing the bad performance of the Ubiquiti RouterStation/LS-SR71 boards, until they fix their bootloader.
SVN-Revision: 14556
2009-02-18 19:58:43 +00:00
Gabor Juhos
df267a8e2e ag71xx driver: add Kconfig option for enabling debug messages
SVN-Revision: 14517
2009-02-15 13:12:43 +00:00
Gabor Juhos
bc8dc1cdba ag71xx driver: apply 2.6.28 specific patches
SVN-Revision: 14515
2009-02-15 07:57:29 +00:00
Gabor Juhos
731a4e5b1d switch to 2.6.28
SVN-Revision: 14514
2009-02-15 07:52:55 +00:00
Gabor Juhos
e697d8c27f ag71xx driver: fix a kernel crash caused by r14496
SVN-Revision: 14504
2009-02-13 20:36:39 +00:00
Gabor Juhos
39628cdd5f ag71xx driver: fix return code of the napi poll routine, was broken since [13545] (patch by Ubiquiti Networks)
SVN-Revision: 14496
2009-02-13 11:16:57 +00:00
Gabor Juhos
4bcc027e97 ag71xx driver: update phy connecting code
SVN-Revision: 14495
2009-02-13 10:43:40 +00:00
Gabor Juhos
09e02ec5a7 remove netif schedule from the ag71xx driver
SVN-Revision: 14494
2009-02-13 08:58:59 +00:00
Gabor Juhos
40b538d6d2 add preliminary support for the Ubiquiti LS-SR71 board (thanks to Xianghua Xiao for the initial patch, and for testing)
SVN-Revision: 14488
2009-02-12 19:48:27 +00:00
Gabor Juhos
e746170640 pull ethernet mac out of reset before registering the mdio_bus
SVN-Revision: 14486
2009-02-12 14:06:58 +00:00
Gabor Juhos
7ec663a2ad parse the board parameter from the command line first Signed-off-by: Andrea Tassi <andrea.tassi at gmail.com> and WiFi(ed) - The Embedded Development Team (of Riccardo Coppola <coppola.riccardo at gmail.com>, Andrea Tassi <andrea.tassi at gmail.com> and Massimiliano Toce <massimiliano.toce at gmail.com>)
SVN-Revision: 14482
2009-02-12 08:08:14 +00:00
Gabor Juhos
d97af0443e create firmware images for the Planex MZK-W04NU board
SVN-Revision: 14413
2009-02-05 16:46:55 +00:00
Gabor Juhos
43ed2ff89d parse RedBoot environments as well (patch by Jonas <jmajau@ubnt.com>)
SVN-Revision: 14384
2009-02-03 08:44:50 +00:00
Gabor Juhos
9e624a7144 mzk-w04nu: fetch MAC address from the flash
SVN-Revision: 14383
2009-02-03 07:53:46 +00:00
Gabor Juhos
03de003183 fix handling of invalid arguments passed by some bootloaders (thanks to Jeff Hansen and to Jonas)
SVN-Revision: 14382
2009-02-03 07:26:31 +00:00
Gabor Juhos
8a5c467323 parse dot-separated MAC address (patch by Jonas <jmajau@ubnt.com>)
SVN-Revision: 14371
2009-02-02 19:37:57 +00:00
Gabor Juhos
b0e3550f2a mzk-w04nu: add GPIO LEDs and buttons
SVN-Revision: 14366
2009-02-02 17:51:51 +00:00
Gabor Juhos
0dfca05fbe print some informations about the SoC at bootup
SVN-Revision: 14338
2009-02-01 09:46:04 +00:00
Gabor Juhos
e3d58387a3 fix leds-gpio platform data initialization (closes #4512)
SVN-Revision: 14238
2009-01-28 11:48:14 +00:00
Gabor Juhos
92dd3af727 tew-632brp: enable WAN port
SVN-Revision: 14216
2009-01-27 07:08:24 +00:00
Gabor Juhos
8c12e6eced experimental support for the Planex MZK-W04NU board
SVN-Revision: 14208
2009-01-26 18:50:43 +00:00
Gabor Juhos
457bef0475 tew-632brp: add WPS button
SVN-Revision: 14205
2009-01-26 17:45:33 +00:00
Gabor Juhos
6bea544949 move random MAC address generation into the platform initialization code
SVN-Revision: 14204
2009-01-26 14:55:09 +00:00
Gabor Juhos
bd38281dba add preliminary support for the Planex MZK-W300NH board
SVN-Revision: 13863
2009-01-04 19:46:41 +00:00
Gabor Juhos
3fa9ee3bfa remove board specific stuff from the generic machine setup
SVN-Revision: 13861
2009-01-04 19:07:13 +00:00
Gabor Juhos
f1953fdf4b add preliminary support for the Atheros PB42 board
SVN-Revision: 13860
2009-01-04 19:06:00 +00:00
Gabor Juhos
9bb47dc62d fix the registered machine type of the WNR2000 board
SVN-Revision: 13853
2009-01-04 09:32:22 +00:00
Gabor Juhos
e5501cb623 register WMAC device on the Netgear WNR2000 board
SVN-Revision: 13836
2009-01-03 14:14:03 +00:00
Gabor Juhos
6f35d8b500 prepare for ath9k support
SVN-Revision: 13825
2009-01-02 18:54:33 +00:00
Gabor Juhos
2083bb5e6f add experimental support for the NETGEAR WNR2000 board
SVN-Revision: 13775
2008-12-30 13:46:43 +00:00
Gabor Juhos
38826c1e19 add dummy WMAC device
SVN-Revision: 13769
2008-12-30 06:52:57 +00:00
Gabor Juhos
42de997943 add experimental support for the Ubiquiti LSX board
SVN-Revision: 13759
2008-12-29 17:54:16 +00:00
Gabor Juhos
af71c482cf add WMAC definitions
SVN-Revision: 13746
2008-12-26 21:48:50 +00:00
Gabor Juhos
7abf10d6e6 add Ubiquiti board detection
SVN-Revision: 13745
2008-12-26 20:12:42 +00:00
Gabor Juhos
067e900705 use SoC specific irq dispatch code
SVN-Revision: 13736
2008-12-23 13:59:04 +00:00
Gabor Juhos
2a33d0dd82 fix GPIO function select bit definitions (based on a patch by Jonas <jmajau at ubnt.com>)
SVN-Revision: 13699
2008-12-20 08:28:39 +00:00
Gabor Juhos
581a7a36a9 rb-4xx: setup code cleanup
SVN-Revision: 13698
2008-12-20 07:47:30 +00:00
Gabor Juhos
f2b7ac69ee improve Ubiquiti RouterStation support (based on a patch by Jonas <jmajau at ubnt.com>)
SVN-Revision: 13697
2008-12-19 20:18:48 +00:00
Gabor Juhos
91491c6e37 rename RouterStation stuff, and add machine type for the LSX board
SVN-Revision: 13694
2008-12-19 19:17:53 +00:00
Gabor Juhos
4a51052d7b prepare for RouterStation support
SVN-Revision: 13657
2008-12-15 19:18:52 +00:00
Gabor Juhos
d49e66360c move machine setup code
SVN-Revision: 13656
2008-12-15 16:11:42 +00:00
Gabor Juhos
d4aa7ecdca tew-632brp: add status LED
SVN-Revision: 13648
2008-12-15 11:07:11 +00:00
Gabor Juhos
f212ab51ef tew-632brp: register GPIO buttons
SVN-Revision: 13647
2008-12-15 11:04:16 +00:00
Gabor Juhos
00923918c1 tew-632brp: register GPIO LEDs
SVN-Revision: 13646
2008-12-15 09:48:34 +00:00
Gabor Juhos
e643c26169 tew-632brp: use LZMA compressed uImage
SVN-Revision: 13645
2008-12-15 08:32:04 +00:00
Gabor Juhos
4eb4a07b33 tew-632brp: register flash device
SVN-Revision: 13631
2008-12-14 19:40:17 +00:00
Gabor Juhos
d31fe48ea0 register eth0 device on the TEW-632BRP board
SVN-Revision: 13566
2008-12-09 18:49:01 +00:00
Gabor Juhos
5ea042a30d ag71xx driver: increase size of dma descriptors
SVN-Revision: 13561
2008-12-09 10:16:49 +00:00
Gabor Juhos
4b6e4d88a9 ag71xx driver: use same FIFO configuration for all SOC
SVN-Revision: 13560
2008-12-09 09:42:57 +00:00
Gabor Juhos
206ccdf4ae ag71xx driver: add OOM handler
SVN-Revision: 13545
2008-12-08 13:15:12 +00:00
Gabor Juhos
2a680498b3 ag71xx driver: don't refill rx buffers twice
SVN-Revision: 13544
2008-12-08 08:31:25 +00:00
Gabor Juhos
d058a11ada ag71xx driver: interrupt status is masked by hw, don't mask it again
SVN-Revision: 13543
2008-12-08 08:24:47 +00:00
Gabor Juhos
9d5a38adad ag71xx driver: remove unused code
SVN-Revision: 13542
2008-12-08 08:22:56 +00:00
Gabor Juhos
c33682316e ag71xx driver: NAPI poll cleanup
SVN-Revision: 13538
2008-12-07 09:46:41 +00:00
Gabor Juhos
398ff859da ag71xx driver: handle TX timout
SVN-Revision: 13537
2008-12-07 06:43:02 +00:00
Gabor Juhos
af5eb6003d add dummy code for the TRENDnet TEW-632BRP board
SVN-Revision: 13531
2008-12-06 18:10:57 +00:00
Gabor Juhos
d6382555f4 ag71xx driver: always use NAPI to transmit packets
SVN-Revision: 13529
2008-12-06 10:03:36 +00:00
Gabor Juhos
fcbd66fef1 ag71xx driver: improve poll routine
SVN-Revision: 13525
2008-12-05 20:08:00 +00:00
Gabor Juhos
a6be4564b7 ag71xx driver: always flush register writes
SVN-Revision: 13524
2008-12-05 19:42:02 +00:00
Gabor Juhos
9afbc8dd61 ag71xx driver: don't use dma_cache_wback_inv
SVN-Revision: 13523
2008-12-05 10:39:46 +00:00
Gabor Juhos
17cc4d671c ag71xx driver: don't use CHECKSUM_UNNECCESARY (closes #4161)
SVN-Revision: 13522
2008-12-05 07:15:45 +00:00
Gabor Juhos
05ea87a13f EHCI driver: add AR913x support
SVN-Revision: 13519
2008-12-04 18:16:05 +00:00
Gabor Juhos
d9d111066a add SoC specific reset code
SVN-Revision: 13518
2008-12-04 18:13:43 +00:00
Gabor Juhos
dedd0dceda add AR913x specific reset register offsets
SVN-Revision: 13517
2008-12-04 17:00:04 +00:00
Gabor Juhos
d5bbef37fe rename reset register definitions
SVN-Revision: 13516
2008-12-04 16:55:43 +00:00
Gabor Juhos
8107050ef9 fix a typo
SVN-Revision: 13512
2008-12-04 12:50:21 +00:00
Gabor Juhos
ea86511fbf register GPIO buttons on the AP83 board
SVN-Revision: 13510
2008-12-04 12:18:17 +00:00
Gabor Juhos
4055fea1aa make all AR913x GPIO lines usable
SVN-Revision: 13509
2008-12-04 12:17:14 +00:00
Gabor Juhos
fbe5c883a0 OHCI driver cleanup
SVN-Revision: 13508
2008-12-04 09:42:26 +00:00
Gabor Juhos
9f0e63ea9a register USB device on the AP83 board
SVN-Revision: 13507
2008-12-04 09:11:03 +00:00
Gabor Juhos
520de84638 add ar913x specific USB setup
SVN-Revision: 13505
2008-12-04 07:19:23 +00:00
Gabor Juhos
b4e4fa4b89 create platform data for the EHCI driver
SVN-Revision: 13499
2008-12-03 15:54:08 +00:00
Gabor Juhos
770541c15f rename USB variables
SVN-Revision: 13498
2008-12-03 15:35:12 +00:00
Gabor Juhos
4c98f47b14 ag71xx driver: minor cleanup
SVN-Revision: 13496
2008-12-03 08:55:39 +00:00
Gabor Juhos
962170b748 update mips_machine stuff
SVN-Revision: 13488
2008-12-02 21:17:31 +00:00
Gabor Juhos
19a57a7794 ag71xx driver: fix RX_STATUS_OF bitmask, and add DMA status register bit descriptions
SVN-Revision: 13463
2008-12-02 08:49:22 +00:00
Gabor Juhos
2d3a12991c ag71xx driver: add some debug stuff
SVN-Revision: 13462
2008-12-02 08:46:37 +00:00
Gabor Juhos
6d0181c4fb ag71xx driver: reset DMA registers in hardware initialization
SVN-Revision: 13459
2008-12-01 21:21:36 +00:00
Gabor Juhos
a89b690fdc more ehci driver cleanup
SVN-Revision: 13454
2008-11-30 20:09:43 +00:00
Gabor Juhos
4e61cbbf5e ag71xx driver: fix a typo
SVN-Revision: 13445
2008-11-30 13:20:12 +00:00
Gabor Juhos
05184c7c38 ehci driver cleanup
SVN-Revision: 13441
2008-11-30 11:07:22 +00:00
Gabor Juhos
cbc625ee70 ag71xx driver: clean up hardware initialization
SVN-Revision: 13395
2008-11-28 14:08:53 +00:00
Gabor Juhos
e42eb910cc fix build error introduced in r13389
SVN-Revision: 13390
2008-11-28 10:07:56 +00:00
Gabor Juhos
73aaa1b56a register eth1 device on the AP83 board
SVN-Revision: 13389
2008-11-28 09:07:01 +00:00
Gabor Juhos
5cea25afdb add gpio leds for the AP83 board
SVN-Revision: 13388
2008-11-28 09:06:01 +00:00
Gabor Juhos
f506e75eb0 ag71xx driver: add more register bit definitions
SVN-Revision: 13387
2008-11-27 22:40:34 +00:00
Gabor Juhos
bd20af97c2 ag71xx driver: unregister MDIO bus in module exit
SVN-Revision: 13385
2008-11-27 22:25:43 +00:00
Gabor Juhos
d841d5cfc7 ag71xx driver: use SoC specific PLL values
SVN-Revision: 13377
2008-11-27 18:54:58 +00:00
Gabor Juhos
74932eb40a ag71xx driver: introduce new flag for the AR913x SOCs
SVN-Revision: 13376
2008-11-27 17:31:22 +00:00
Gabor Juhos
54844a199f register eth0 device on the AP83 board
SVN-Revision: 13371
2008-11-27 08:39:08 +00:00
Gabor Juhos
c9ae01d3c8 ag71xx: introduce SoC specific fuctions for DDR flush and PLL setup
SVN-Revision: 13369
2008-11-26 20:00:41 +00:00
Gabor Juhos
b571504967 add definitions for AR91xx specific DDR registers
SVN-Revision: 13364
2008-11-26 17:34:08 +00:00
Gabor Juhos
9f93bd51cf rename DDR registers
SVN-Revision: 13363
2008-11-26 17:17:13 +00:00
Gabor Juhos
0bb95d5754 ag71xx: dump additional registers in debug mode
SVN-Revision: 13361
2008-11-26 14:09:00 +00:00
Gabor Juhos
e648c0ad5d fix AP83 boot failure
SVN-Revision: 13356
2008-11-26 08:40:46 +00:00
Gabor Juhos
4690f9356c add dummy code for the Atheros AP83 board
SVN-Revision: 13354
2008-11-25 19:19:55 +00:00
Gabor Juhos
fdd05db0d8 enable gigabit feature if the SoC supports it
SVN-Revision: 13350
2008-11-25 17:55:46 +00:00
Gabor Juhos
a7d528722c improve SoC detection
SVN-Revision: 13349
2008-11-25 17:39:12 +00:00
Gabor Juhos
77cff176bf ethernet driver preparation for gigabit support
SVN-Revision: 13340
2008-11-24 16:56:36 +00:00
Gabor Juhos
b421c22787 fix gpio-leds, and gpio-buttons platform data initialization
SVN-Revision: 13337
2008-11-24 11:03:18 +00:00
Gabor Juhos
3bf635be11 add experimental support for the AzureWave AW-NR580 board
SVN-Revision: 13278
2008-11-18 13:21:24 +00:00
Gabor Juhos
22a7b1b3d3 use MyLoader partition parser on the WP543 board
SVN-Revision: 13265
2008-11-17 17:42:35 +00:00
Gabor Juhos
300d8bea55 move MyLoader stuff into generic files, will be used on adm5120
SVN-Revision: 13254
2008-11-17 09:19:27 +00:00
Gabor Juhos
f0a9ec964b define some bits of the ethernet controller's registers
SVN-Revision: 13201
2008-11-14 08:57:31 +00:00
Gabor Juhos
1d582ac8c0 fixes the ethernet port mask of RB433 in the platform data * Signed-off-by: Joerg Albert <jal2 at gmx.de> * closes #4185
SVN-Revision: 13199
2008-11-13 17:02:59 +00:00
Gabor Juhos
d1c40911eb rewrite memory size detection
SVN-Revision: 13198
2008-11-13 15:55:39 +00:00
Gabor Juhos
0c58b4ebbc cosmetic changes in the ag71xx driver
SVN-Revision: 13193
2008-11-12 18:08:32 +00:00
Gabor Juhos
68e1fed8a4 enable ethernet and PCI on RB-493/AH
SVN-Revision: 13104
2008-11-03 15:11:09 +00:00
Gabor Juhos
e0fc95a2ab setup speed/duplex on RB-433/450 (closes #4151)
SVN-Revision: 13087
2008-10-31 11:50:47 +00:00
Gabor Juhos
7d167c06f3 change ag71xx platform device registration
SVN-Revision: 12997
2008-10-17 07:12:44 +00:00
Gabor Juhos
18c93fb457 fix RB-493 detection
SVN-Revision: 12991
2008-10-16 19:18:46 +00:00
Gabor Juhos
3b90e01db8 preliminary support for the RB-493/AH, based on a patch by Carl Riechers
SVN-Revision: 12986
2008-10-15 19:03:31 +00:00
Gabor Juhos
a312d0611d minor ethernet driver update
SVN-Revision: 12985
2008-10-15 18:31:21 +00:00
Gabor Juhos
3994f8e4c3 add hardware watchdog driver
SVN-Revision: 12810
2008-09-30 08:05:18 +00:00
Gabor Juhos
23a45e0c6d remove some debug stuff
SVN-Revision: 12631
2008-09-18 18:41:03 +00:00
Gabor Juhos
219ec2a419 add MyLoader support
SVN-Revision: 12627
2008-09-18 12:56:10 +00:00
Gabor Juhos
d590c14151 WP543: add static mtd partitions
SVN-Revision: 12624
2008-09-18 12:38:53 +00:00
Gabor Juhos
a43e2d5ac6 fix the PCI byte lane enable generation code, based on a patch by Chris Dearman
SVN-Revision: 12617
2008-09-17 13:29:47 +00:00
Gabor Juhos
b63a7c8640 add gpio-buttons devices
SVN-Revision: 12544
2008-09-07 09:47:37 +00:00
Gabor Juhos
dd8499cc26 simplify leds-gpio device registration
SVN-Revision: 12543
2008-09-07 08:59:27 +00:00
Gabor Juhos
da7312105d register gpio-leds on the WP543 board
SVN-Revision: 12528
2008-09-04 13:39:11 +00:00
Gabor Juhos
7914091d97 make use the USB controller on the WP543 board
SVN-Revision: 12520
2008-09-03 19:37:58 +00:00
Gabor Juhos
e9775a5e10 fix platform device ids of the USB controllers
SVN-Revision: 12519
2008-09-03 18:02:18 +00:00
Gabor Juhos
f9afbda3d6 fix EHCI driver
SVN-Revision: 12518
2008-09-03 17:11:51 +00:00
Gabor Juhos
dd3eea99fa fix phy id on the WP543 board
SVN-Revision: 12517
2008-09-03 15:23:26 +00:00
Felix Fietkau
d962e2ea4a make openwrt boot on ar9130 (currently no ethernet yet)
SVN-Revision: 12463
2008-09-01 14:41:26 +00:00
Gabor Juhos
6ce62982dd ag71xx: add initial message level support
SVN-Revision: 12262
2008-08-10 09:18:42 +00:00
Gabor Juhos
c2187c736e reorder nand partitions on RB-4xx (closes #3852)
SVN-Revision: 12201
2008-08-06 07:33:13 +00:00
Gabor Juhos
970f41ad18 ethernet driver updates * new mii bus code, mac0 and mac1 can use the mac0's miii bus from now on * swap eth0 & eth1 on RB433/450
SVN-Revision: 11995
2008-07-29 18:22:38 +00:00
Gabor Juhos
029ef41bb1 fix the name of the micrel PHY driver
SVN-Revision: 11990
2008-07-29 12:46:05 +00:00
Gabor Juhos
7564923517 parse mac address on RouterBOARDs
SVN-Revision: 11910
2008-07-22 16:35:29 +00:00
Gabor Juhos
f529a37420 surprise :p
SVN-Revision: 11894
2008-07-21 17:08:14 +00:00