Florian Fainelli
0d40a2f95b
his patch mainly fixes the huge delay when we ping from the RDC device to another host (160-230 ms). r6040_rx() was rewritten. Further changes: - fix a bug in hex2str(), which overwrote the source with a zero - removed rx_free_desc counter; allocate skb inside r6040_rx() on the fly - r6040_rx: don't take the error from the MLSR register (may be too late) but from the descriptor (we may have to allow these errors (via MCR0) there - r6040_alloc_rxbufs() may fail due to lack of skb, added a return value - changed some debugs - more defines - version: 0.18 -> 0.19
...
Signed-Off by Joerg Albert <jal2@gmx.de>
SVN-Revision: 11508
2008-06-16 13:25:14 +00:00
Florian Fainelli
01e594e704
This patch applies to the RDC 32xx ethernet driver (svn r10754, first patch applied) and fixes the following issues: - re-added the parent parameter to specify a netdevice to steal the MAC address from (optional). - fixed null pointer access in r6040_rx() (lp->dev init. was missing) - fixed "scheduling while atomic" endless loop if tx_timeout() was called (caused by the re-allocs of the buffers) - fixed tx timeouts (tx irq weren't re-enabled on rx irq)
...
It adds some defines and cleans the code a bit (IMHO).
Signed-Off by Joerg Albert <jal2@gmx.de>
SVN-Revision: 11507
2008-06-16 13:24:41 +00:00
Florian Fainelli
368f07fc97
Hi,
...
this is the first of three patches to fix the ethernet driver of RDC R32xx applied to svn r10754.
It adds debugs and make some procedures (r6040_*) global symbols in order to help with debugging kernel oops. Version is increased from 0.16 to 0.18 to avoid conflicts with the driver variant metioned in the X-WRT forum (call 0.17.3) Tested on a Sitecom WL-153.
Signed-Off-By: Joerg Albert <jal2@gmx.de>
SVN-Revision: 11506
2008-06-16 13:24:09 +00:00
Imre Kaloz
1f5166a1f0
backport mv643xx ethernet changes from the Marvell git repo
...
SVN-Revision: 11504
2008-06-16 13:20:10 +00:00
Imre Kaloz
c444c0f4ae
enable AMD flash support and physmap on orion
...
SVN-Revision: 11503
2008-06-16 13:18:58 +00:00
Gabor Juhos
8b0bf5d650
generic-2.6: oops, forgot to refresh the 2.6.25 IMQ patch
...
SVN-Revision: 11502
2008-06-16 13:17:52 +00:00
Gabor Juhos
3663d2ea77
generic-2.6: even newer IMQ patch for 2.6.25 and 2.6.26
...
SVN-Revision: 11501
2008-06-16 12:57:56 +00:00
Imre Kaloz
2f4fa6de74
refresh generic 2.6.22 patches
...
SVN-Revision: 11498
2008-06-16 12:40:48 +00:00
Imre Kaloz
e147bf8fa3
fixup machid workaround, generate uImage manually
...
SVN-Revision: 11497
2008-06-16 12:38:55 +00:00
Felix Fietkau
20937ce81a
(5/6) bcm57xx: bcm4785 incomplete reboot
...
I noticed my wrt350n would not reliably reboot after entering
the reboot command. I found this code in the source for the
wrt600n. It corrects the problem, and the wrt350n reboots
reliably now.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11470
2008-06-15 11:10:43 +00:00
Felix Fietkau
9621d872ca
(3/6) bcm57xx: preinit
...
This patch allows the bcm57xx module to work correctly with failsafe mode.
insmod doesn't return an error when a module loads but doesn't detect a switch.
I added the check_module function to load the module, then make sure
it doesn't just exit immediately. This allows preinit to only attempt to
load the bcm57xx module when switch-robo and switch-adm dont detect a switch.
The activate_gpio parameter to bcm57xx simply instructs the module to attempt
to activate the switch via gpio before probing for the switch.
Tested on wrt350n.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11468
2008-06-15 11:10:13 +00:00
Felix Fietkau
f9ad520e37
(2/6) bcm57xx: netconfig
...
Update the netconfig script to support boardtype 0x478. I've tested this
on the wrt350n, hopefully it will match the 600n as well.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11467
2008-06-15 11:09:49 +00:00
Imre Kaloz
983b22aa95
temporary hack to fixup the mach id for the wrt350nv2
...
SVN-Revision: 11459
2008-06-13 12:58:28 +00:00
Imre Kaloz
957626ff72
openwrt partition map for the wrt350nv2
...
SVN-Revision: 11458
2008-06-13 12:14:39 +00:00
Imre Kaloz
111f11d91f
workaround bogus CFI version for the wrt350nv2
...
SVN-Revision: 11457
2008-06-13 12:14:01 +00:00
Imre Kaloz
354d78404a
upgrade orion and sync to 2.6.26-rc6
...
SVN-Revision: 11456
2008-06-13 12:12:34 +00:00
Matteo Croce
d1c097e3d0
ar7: refresh patches
...
SVN-Revision: 11452
2008-06-12 22:33:48 +00:00
Matteo Croce
e8a8d5811d
avr32: clean and refresh patch
...
SVN-Revision: 11451
2008-06-12 22:24:27 +00:00
Matteo Croce
b0fa59bef2
avr32: upgrade to 2.6.25.6
...
SVN-Revision: 11450
2008-06-12 21:13:40 +00:00
Florian Fainelli
31d9bcc1fc
Use 2.6.25.6 for rdc
...
SVN-Revision: 11447
2008-06-12 08:07:08 +00:00
Florian Fainelli
23d1a5bd88
Use 2.6.25 for rdc321x
...
SVN-Revision: 11439
2008-06-11 16:38:37 +00:00
Imre Kaloz
057b87f685
upgrade orion to 2.6.26-rc5
...
SVN-Revision: 11436
2008-06-11 11:59:45 +00:00
Imre Kaloz
2eb6751084
upgrade to 2.6.25.6
...
SVN-Revision: 11435
2008-06-11 11:38:39 +00:00
Imre Kaloz
4a0631658c
refresh patch
...
SVN-Revision: 11434
2008-06-11 11:37:08 +00:00
Imre Kaloz
02a4a8019e
add newer, fixed IMQ patch for 2.6.25 and 2.6.26
...
SVN-Revision: 11433
2008-06-11 11:35:49 +00:00
Gabor Juhos
306910e5d1
generic-2.6: revert yaffs changes [11378], the new code is not working correctly on RouterBoards
...
SVN-Revision: 11427
2008-06-10 08:20:19 +00:00
Felix Fietkau
4c665e6ca4
large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine
...
SVN-Revision: 11414
2008-06-09 15:38:45 +00:00
Felix Fietkau
21e09858f1
add missing fix for etrax compile without axis toolchain
...
SVN-Revision: 11413
2008-06-09 15:38:27 +00:00
Felix Fietkau
b014357704
set marvell switch ATU ageing time to minimum instead of maximum - hopefully fixes some fonera 2.0 ethernet issues
...
SVN-Revision: 11410
2008-06-09 10:31:46 +00:00
John Crispin
a59821735c
remove proc and char dev from ifxmips gpio driver
...
SVN-Revision: 11406
2008-06-08 08:21:20 +00:00
John Crispin
b3331b3d03
adds gpiodev support to ifxmips
...
SVN-Revision: 11405
2008-06-08 08:07:14 +00:00
Gabor Juhos
2fdfd541da
add packages required by failsafe support to defaults
...
SVN-Revision: 11404
2008-06-08 06:43:21 +00:00
Gabor Juhos
e5ad400330
add initial failsafe support
...
SVN-Revision: 11403
2008-06-08 06:38:26 +00:00
Gabor Juhos
11b8dfe86c
add button devices to several boards
...
SVN-Revision: 11402
2008-06-08 06:37:31 +00:00
Gabor Juhos
64fddc8d81
fix image names in the wget2nand script
...
SVN-Revision: 11400
2008-06-07 17:47:21 +00:00
Gabor Juhos
2ea9fc7b30
fix image names in the whet2nand script
...
SVN-Revision: 11399
2008-06-07 17:45:04 +00:00
Gabor Juhos
116a3864ad
generic-2.6: refresh yaffs patches
...
SVN-Revision: 11397
2008-06-07 17:14:22 +00:00
John Crispin
93441174d6
fixes ifxmips pci support and adds GENERIC_GPIO
...
SVN-Revision: 11396
2008-06-07 16:04:31 +00:00
John Crispin
6705032a0f
rename ifmips images
...
SVN-Revision: 11394
2008-06-07 14:58:08 +00:00
John Crispin
01f37d998b
several uboot fixes
...
SVN-Revision: 11393
2008-06-07 14:57:46 +00:00
John Crispin
1a4df56111
fixes ifxmips danube flashing using uboot, 2nd try
...
SVN-Revision: 11392
2008-06-07 10:33:46 +00:00
John Crispin
6c96008540
fixes ifxmips danube flashing using uboot
...
SVN-Revision: 11391
2008-06-07 10:31:09 +00:00
John Crispin
f3523c6e9c
clean up etehrnet driver
...
SVN-Revision: 11389
2008-06-07 10:12:15 +00:00
John Crispin
8fdb133752
missing file in ifxmips driver support patch
...
SVN-Revision: 11388
2008-06-07 10:01:56 +00:00
Felix Fietkau
ca8cf89159
fix spurious ifxmips u-boot build errors
...
SVN-Revision: 11387
2008-06-07 09:30:59 +00:00
Gabor Juhos
7a902dfc34
add a chip_fixup function to the plat_nand driver on 2.6.23 as well ( closes #3513 )
...
SVN-Revision: 11386
2008-06-07 08:35:09 +00:00
John Crispin
d21f830b10
remove axis toolchain dependency for etrax
...
SVN-Revision: 11384
2008-06-06 20:22:01 +00:00
John Crispin
f1ff3a410f
finally fixes etrax toolchain problems, thanks nbd
...
SVN-Revision: 11383
2008-06-06 20:12:05 +00:00
John Crispin
28051f319c
fixes au1000 ethernet support, signed off: Bruno Randolf
...
SVN-Revision: 11382
2008-06-06 19:57:03 +00:00
Gabor Juhos
d7b697d4ad
generic-2.6: yaffs cleanup * reduce compiler warnings, * renumber/rename patches
...
SVN-Revision: 11379
2008-06-06 13:14:59 +00:00
Gabor Juhos
477d43b281
generic-2.6: sync yaffs code with the official CVS tree
...
SVN-Revision: 11378
2008-06-06 12:52:39 +00:00
Gabor Juhos
306f3677ec
make use the chip_fixup function of the plat_nand driver
...
SVN-Revision: 11377
2008-06-06 09:04:14 +00:00
Gabor Juhos
9720836ec6
make use the chip_fixup function of the plat_nand driver
...
SVN-Revision: 11376
2008-06-06 09:03:35 +00:00
Gabor Juhos
577ce6c8b5
add a chip_fixup function to the plat_nand driver
...
SVN-Revision: 11375
2008-06-06 09:01:33 +00:00
Gabor Juhos
db4cd8515c
refresh patches to match upstream style
...
SVN-Revision: 11374
2008-06-06 08:54:13 +00:00
Yuji Mano
4ece2e4ad1
Set executable permissions on ps3 target specific scripts
...
SVN-Revision: 11370
2008-06-05 18:42:18 +00:00
Imre Kaloz
12d5244f2b
rename and renumber storm patches
...
SVN-Revision: 11368
2008-06-05 17:14:02 +00:00
Imre Kaloz
6ca4659c4e
* refresh storm patches * disable BX in uClibc config, add ethernet and watchdog support -- thanks to Zilvinas Valinskas
...
SVN-Revision: 11367
2008-06-05 17:10:39 +00:00
Imre Kaloz
2ff1596a22
refresh generic 2.6.23 patches in upstream style
...
SVN-Revision: 11366
2008-06-05 17:01:00 +00:00
Florian Fainelli
6e0427c8a4
Add bcm3350 cpuid
...
SVN-Revision: 11364
2008-06-05 16:19:46 +00:00
Yuji Mano
3a4a288ed3
Adding ps3 target specific /bin/login script. For security reasons, allow telnet login only if the user explicitly sets a flag in the ps3 flash db to enable telnet login from the host console.
...
SVN-Revision: 11360
2008-06-04 22:34:19 +00:00
Felix Fietkau
b0e669ee13
fix x86 image build order ( fixes #3317 )
...
SVN-Revision: 11359
2008-06-04 21:55:25 +00:00
Imre Kaloz
7bb65fb9d7
add preliminary Marvell Orion support
...
SVN-Revision: 11352
2008-06-04 13:51:17 +00:00
Peter Denison
79d7e096c7
Update 2.6.25 config
...
SVN-Revision: 11349
2008-06-03 21:44:25 +00:00
Peter Denison
4ac8341734
Build against 2.6.25.4
...
SVN-Revision: 11347
2008-06-03 21:43:20 +00:00
Peter Denison
473d5705bd
Include missing part of r11275. Fix fw_argX from CFE
...
SVN-Revision: 11340
2008-06-03 19:29:53 +00:00
Gabor Juhos
93e8eb8171
refresh generic 2.6.26 patches
...
SVN-Revision: 11336
2008-06-02 19:49:28 +00:00
Gabor Juhos
10c3ea71bb
2.6.26: oops, fix gpio_dev (commited a wrong file in [11333])
...
SVN-Revision: 11334
2008-06-02 19:34:44 +00:00
Gabor Juhos
bbe724019f
2.6.26: fix gpio_dev compile error
...
SVN-Revision: 11333
2008-06-02 19:26:10 +00:00
Gabor Juhos
e1eccf79de
2.6.26: fix a typo in the latest mini_fo patch
...
SVN-Revision: 11332
2008-06-02 19:08:28 +00:00
Gabor Juhos
ac56ad892a
2.6.26: sync IMQ patch with 2.6.25
...
SVN-Revision: 11331
2008-06-02 18:41:02 +00:00
Gabor Juhos
ed5a50c676
fix mini_fo on 2.6.26-rc4
...
SVN-Revision: 11330
2008-06-02 18:27:52 +00:00
Gabor Juhos
60656e167d
netfilter: minor IMQ fix for 2.6.25
...
SVN-Revision: 11329
2008-06-02 17:49:18 +00:00
Imre Kaloz
432b711eb5
revert an upstream change to retain compatibility with iptables 1.4.0
...
SVN-Revision: 11326
2008-06-02 15:48:49 +00:00
Imre Kaloz
c0551f41af
* add a prerelease IMQ patch for 2.6.25 * reenable IMQ in the kernel config * resync patches
...
SVN-Revision: 11324
2008-06-02 09:10:48 +00:00
Imre Kaloz
7cce2d8fc3
add generic 2.6.26 patches/files
...
SVN-Revision: 11323
2008-06-02 08:22:56 +00:00
Matteo Croce
8a4e0300b1
avr32: fix kernel panic when using ondemand cpufreq givernor
...
SVN-Revision: 11305
2008-05-30 18:41:52 +00:00
Imre Kaloz
e19528fa6a
refresh avr32 patches to match upstream style
...
SVN-Revision: 11303
2008-05-30 17:24:30 +00:00
Imre Kaloz
74215746b3
refresh generic 2.6.24 patches to match upstream style
...
SVN-Revision: 11302
2008-05-30 17:19:24 +00:00
Imre Kaloz
2259476f06
import Gateworks CF optimizations, add support for additional features for the Cambria -- thanks Chris
...
SVN-Revision: 11301
2008-05-30 17:01:48 +00:00
Florian Fainelli
08fa2c3feb
fix typo
...
SVN-Revision: 11300
2008-05-30 16:59:36 +00:00
Florian Fainelli
8c0c28eef2
Add virtualbox images to x86 ( #3475 )
...
SVN-Revision: 11298
2008-05-30 16:50:37 +00:00
Imre Kaloz
9285574b20
refresh ixp4xx patches to match upstream style
...
SVN-Revision: 11297
2008-05-30 16:32:35 +00:00
Imre Kaloz
f664b7cb17
refresh generic 2.6.25 patches to match upstream style
...
SVN-Revision: 11296
2008-05-30 16:30:51 +00:00
Imre Kaloz
65ebb5780c
gpiodev should be in drivers/char, not in drivers/gpio..
...
SVN-Revision: 11294
2008-05-30 10:20:36 +00:00
Yuji Mano
6bf9d44d69
Update ps3 linux banner and hostname
...
SVN-Revision: 11293
2008-05-29 21:36:52 +00:00
Imre Kaloz
4f49c25319
enable gpiodev on ixp4xx
...
SVN-Revision: 11289
2008-05-29 13:41:46 +00:00
Yuji Mano
be79344a8e
add newline at EOF
...
SVN-Revision: 11287
2008-05-28 21:07:56 +00:00
Yuji Mano
cd3ca8e913
adding ps3 specific banner and system name
...
SVN-Revision: 11286
2008-05-28 21:00:54 +00:00
Imre Kaloz
ce3f17dafa
fix up mac address setting on ixp4xx for devices that store this info in the RedBoot config partition
...
SVN-Revision: 11285
2008-05-28 19:54:47 +00:00
Yuji Mano
197a6c9458
fix path of initrun script
...
SVN-Revision: 11284
2008-05-28 19:42:45 +00:00
Yuji Mano
85b808e991
Add an initrun script that is respawned by init. This default initrun script calls /bin/login as usual, but packages (ex. bootloader packages) can modify it to run custom scripts/execs at init.
...
SVN-Revision: 11283
2008-05-28 19:16:22 +00:00
Yuji Mano
a06f169bac
Reduce the kernel verbosity of the ps3_system_bus_match output for ps3 builds.
...
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 11282
2008-05-28 18:57:18 +00:00
Yuji Mano
1e7ed027d1
Fixup inittab for PS3.
...
Make ctrl-alt-del do a system reboot.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 11281
2008-05-28 18:43:56 +00:00
Gabor Juhos
04254672fe
enable yaffs fs on 2.6.25
...
SVN-Revision: 11280
2008-05-28 14:14:32 +00:00
Gabor Juhos
db765443d1
resync kernel configs
...
SVN-Revision: 11279
2008-05-28 14:13:30 +00:00
Gabor Juhos
aa9bfe87fb
fix yaffs on 2.6.25
...
SVN-Revision: 11278
2008-05-28 13:33:45 +00:00
Gabor Juhos
15dd4cdcd2
nuke trailing whitespaces in the yaffs code
...
SVN-Revision: 11277
2008-05-28 07:31:26 +00:00
Peter Denison
3f229c3415
Remove obsolete CFE workaround, now proper fix went in r11275
...
SVN-Revision: 11276
2008-05-27 15:08:34 +00:00
Peter Denison
c9f6d43927
Don't nuke fw_argX from CFE - Thanks jhansen
...
SVN-Revision: 11275
2008-05-27 15:01:07 +00:00