openwrt/svn-archive/archive.git
15 years agolua: Fixed some cross-platform issues for PPC (and probably other architectures)
Steven Barth [Sun, 29 Jun 2008 11:38:22 +0000 (11:38 +0000)]
lua: Fixed some cross-platform issues for PPC (and probably other architectures)

SVN-Revision: 11608

15 years agolots of ifxmips cleanups
John Crispin [Sun, 29 Jun 2008 00:42:45 +0000 (00:42 +0000)]
lots of ifxmips cleanups

SVN-Revision: 11607

15 years agomake the serial poirt used by prom.c configurable for ifxmips
John Crispin [Sat, 28 Jun 2008 22:01:37 +0000 (22:01 +0000)]
make the serial poirt used by prom.c configurable for ifxmips

SVN-Revision: 11606

15 years agoifxmips should build uboot by default
John Crispin [Sat, 28 Jun 2008 21:51:43 +0000 (21:51 +0000)]
ifxmips should build uboot by default

SVN-Revision: 11605

15 years agobackport a fix to suppress warning when loading dnsmasq on >=2.6.25.7. this patch...
John Crispin [Sat, 28 Jun 2008 21:42:54 +0000 (21:42 +0000)]
backport a fix to suppress warning when loading dnsmasq on >=2.6.25.7. this patch can be removed when dnsmasq 2.43 is released

SVN-Revision: 11604

15 years agorename some ifxmips files
John Crispin [Sat, 28 Jun 2008 21:26:03 +0000 (21:26 +0000)]
rename some ifxmips files

SVN-Revision: 11603

15 years agofixes ifxmips watchdog driver
John Crispin [Sat, 28 Jun 2008 21:18:51 +0000 (21:18 +0000)]
fixes ifxmips watchdog driver

SVN-Revision: 11602

15 years agomove ifxmips uboot to package/
Felix Fietkau [Sat, 28 Jun 2008 19:53:41 +0000 (19:53 +0000)]
move ifxmips uboot to package/

SVN-Revision: 11601

15 years agocompile libnl with -ffunction-sections to make binaries that use genl smaller
Felix Fietkau [Sat, 28 Jun 2008 17:55:21 +0000 (17:55 +0000)]
compile libnl with -ffunction-sections to make binaries that use genl smaller

SVN-Revision: 11600

15 years agox86: don't attempt to compile grub on darwin
Felix Fietkau [Sat, 28 Jun 2008 17:54:44 +0000 (17:54 +0000)]
x86: don't attempt to compile grub on darwin

SVN-Revision: 11599

15 years agoadds rt_tables to files installed by ip ipkg
John Crispin [Sat, 28 Jun 2008 17:32:21 +0000 (17:32 +0000)]
adds rt_tables to files installed by ip ipkg

SVN-Revision: 11598

15 years agoadd proper ebu locking to ifxmips
John Crispin [Sat, 28 Jun 2008 17:28:31 +0000 (17:28 +0000)]
add proper ebu locking to ifxmips

SVN-Revision: 11597

15 years agolots of ifxmips cleanups
John Crispin [Sat, 28 Jun 2008 16:56:04 +0000 (16:56 +0000)]
lots of ifxmips cleanups

SVN-Revision: 11596

15 years agoFinally move 2.6.25 patches to patch-2.6.25 for compatibility with other kernel version
Florian Fainelli [Sat, 28 Jun 2008 11:08:52 +0000 (11:08 +0000)]
Finally move 2.6.25 patches to patch-2.6.25 for compatibility with other kernel version

SVN-Revision: 11595

15 years agoPrior to kernel 2.6.23, architecture path was i386, allow that when switching kernel...
Florian Fainelli [Sat, 28 Jun 2008 11:08:01 +0000 (11:08 +0000)]
Prior to kernel 2.6.23, architecture path was i386, allow that when switching kernel version

SVN-Revision: 11594

15 years agoPut back 2.6.24 files as well
Florian Fainelli [Sat, 28 Jun 2008 11:07:07 +0000 (11:07 +0000)]
Put back 2.6.24 files as well

SVN-Revision: 11593

15 years agoPut back 2.6.23 files for rdc, allowing to switch from one kernel version to another...
Florian Fainelli [Sat, 28 Jun 2008 11:06:32 +0000 (11:06 +0000)]
Put back 2.6.23 files for rdc, allowing to switch from one kernel version to another for testing

SVN-Revision: 11592

15 years agoignore the bootloader's commandline on orion
Imre Kaloz [Fri, 27 Jun 2008 18:15:46 +0000 (18:15 +0000)]
ignore the bootloader's commandline on orion

SVN-Revision: 11591

15 years agogenerate webuploadable image for the wnr854t
Imre Kaloz [Fri, 27 Jun 2008 12:19:20 +0000 (12:19 +0000)]
generate webuploadable image for the wnr854t

SVN-Revision: 11589

15 years agoreplacement of the add_header utility used by various vendors
Imre Kaloz [Fri, 27 Jun 2008 12:18:31 +0000 (12:18 +0000)]
replacement of the add_header utility used by various vendors

SVN-Revision: 11588

15 years agouse mtdblock1 as rootfs
Imre Kaloz [Fri, 27 Jun 2008 12:13:37 +0000 (12:13 +0000)]
use mtdblock1 as rootfs

SVN-Revision: 11587

15 years agothe wnr854t needs flash width 2
Imre Kaloz [Fri, 27 Jun 2008 12:13:02 +0000 (12:13 +0000)]
the wnr854t needs flash width 2

SVN-Revision: 11586

15 years agoupgrade to 2.6.25.9
Imre Kaloz [Thu, 26 Jun 2008 14:28:16 +0000 (14:28 +0000)]
upgrade to 2.6.25.9

SVN-Revision: 11584

15 years agoixp4xx 2.6.26 support
Imre Kaloz [Thu, 26 Jun 2008 13:59:15 +0000 (13:59 +0000)]
ixp4xx 2.6.26 support

SVN-Revision: 11583

15 years agoadd preliminary Netgear WNR854T support
Imre Kaloz [Thu, 26 Jun 2008 13:53:27 +0000 (13:53 +0000)]
add preliminary Netgear WNR854T support

SVN-Revision: 11582

15 years agomove some config options into the generic one
Imre Kaloz [Thu, 26 Jun 2008 13:51:17 +0000 (13:51 +0000)]
move some config options into the generic one

SVN-Revision: 11581

15 years agoavr32: fix a bug in the MMC driver
Matteo Croce [Thu, 26 Jun 2008 13:02:02 +0000 (13:02 +0000)]
avr32: fix a bug in the MMC driver

SVN-Revision: 11580

15 years agox-wrt svn repo has moved to http://x-wrt.googlecode.com/svn/trunk/
Travis Kemen [Thu, 26 Jun 2008 01:43:48 +0000 (01:43 +0000)]
x-wrt svn repo has moved to x-wrt.googlecode.com/svn/trunk/

SVN-Revision: 11579

15 years agocleanup ifxmips and add support for both ttyS
John Crispin [Wed, 25 Jun 2008 23:05:50 +0000 (23:05 +0000)]
cleanup ifxmips and add support for both ttyS

SVN-Revision: 11578

15 years agoupgrade orion to 2.6.26-rc8
Imre Kaloz [Wed, 25 Jun 2008 22:56:49 +0000 (22:56 +0000)]
upgrade orion to 2.6.26-rc8

SVN-Revision: 11577

15 years agogenerate orion images differently
Imre Kaloz [Wed, 25 Jun 2008 22:41:50 +0000 (22:41 +0000)]
generate orion images differently

SVN-Revision: 11576

15 years agosync with the orion git tree
Imre Kaloz [Wed, 25 Jun 2008 22:39:39 +0000 (22:39 +0000)]
sync with the orion git tree

SVN-Revision: 11575

15 years agoadd arm mach_types update again
Imre Kaloz [Wed, 25 Jun 2008 22:33:38 +0000 (22:33 +0000)]
add arm mach_types update again

SVN-Revision: 11574

15 years agocleanup ifxmips headers
John Crispin [Tue, 24 Jun 2008 19:24:22 +0000 (19:24 +0000)]
cleanup ifxmips headers

SVN-Revision: 11573

15 years agolots of code cleanup for ifxmips
John Crispin [Mon, 23 Jun 2008 20:31:34 +0000 (20:31 +0000)]
lots of code cleanup for ifxmips

SVN-Revision: 11570

15 years agoupgrade orion to 2.6.26-rc7
Imre Kaloz [Mon, 23 Jun 2008 15:07:52 +0000 (15:07 +0000)]
upgrade orion to 2.6.26-rc7

SVN-Revision: 11569

15 years agomove files, rename defines for ifxmips
John Crispin [Sun, 22 Jun 2008 20:40:36 +0000 (20:40 +0000)]
move files, rename defines for ifxmips

SVN-Revision: 11565

15 years ago[adm5120] generate firmware images for the ZyXEL P-334WT/P-335WT devices
Gabor Juhos [Sun, 22 Jun 2008 19:10:37 +0000 (19:10 +0000)]
[adm5120] generate firmware images for the ZyXEL P-334WT/P-335WT devices

SVN-Revision: 11562

15 years ago[adm5120] use __raw_{readl,writel} routines in the uart driver as well
Gabor Juhos [Sun, 22 Jun 2008 19:09:42 +0000 (19:09 +0000)]
[adm5120] use __raw_{readl,writel} routines in the uart driver as well

SVN-Revision: 11561

15 years ago[adm5120] use __raw_{readl,writel} routines in the GPIO code
Gabor Juhos [Sun, 22 Jun 2008 19:08:19 +0000 (19:08 +0000)]
[adm5120] use __raw_{readl,writel} routines in the GPIO code

SVN-Revision: 11560

15 years ago[tools] firmware-utils/mkzynfs: even more improvements
Gabor Juhos [Sun, 22 Jun 2008 19:02:42 +0000 (19:02 +0000)]
[tools] firmware-utils/mkzynfs: even more improvements

SVN-Revision: 11559

15 years agofixes several compile errors, reserves memory for second core, adds u-boot env parsin...
John Crispin [Sun, 22 Jun 2008 19:01:14 +0000 (19:01 +0000)]
fixes several compile errors, reserves memory for second core, adds u-boot env parsing for ifxmips

SVN-Revision: 11558

15 years ago[kernel] x86: Sync kernel config
Andy Boyett [Sun, 22 Jun 2008 18:41:42 +0000 (18:41 +0000)]
[kernel] x86: Sync kernel config

SVN-Revision: 11557

15 years agoebtables: Update to 2.0.8-2
Andy Boyett [Sun, 22 Jun 2008 18:41:25 +0000 (18:41 +0000)]
ebtables: Update to 2.0.8-2

SVN-Revision: 11556

15 years agogmp: Update to 4.2.2
Andy Boyett [Sun, 22 Jun 2008 18:41:09 +0000 (18:41 +0000)]
gmp: Update to 4.2.2

SVN-Revision: 11555

15 years agoe2fsprogs: Update to 1.40.11
Andy Boyett [Sun, 22 Jun 2008 18:40:53 +0000 (18:40 +0000)]
e2fsprogs: Update to 1.40.11

SVN-Revision: 11554

15 years agoarptables: Update to 0.0.3-3
Andy Boyett [Sun, 22 Jun 2008 18:40:30 +0000 (18:40 +0000)]
arptables: Update to 0.0.3-3

SVN-Revision: 11553

15 years ago[adm5120] swap I/O space if running in big-endian mode
Gabor Juhos [Sun, 22 Jun 2008 12:37:40 +0000 (12:37 +0000)]
[adm5120] swap I/O space if running in big-endian mode

SVN-Revision: 11552

15 years ago[kernel] generic-2.6: update IMQ patch to the official version for 2.6.25, refresh...
Gabor Juhos [Sun, 22 Jun 2008 06:28:12 +0000 (06:28 +0000)]
[kernel] generic-2.6: update IMQ patch to the official version for 2.6.25, refresh patches

SVN-Revision: 11551

15 years ago[tools] firmware-utils: ZyXEL firmware tool improvements
Gabor Juhos [Sun, 22 Jun 2008 05:41:37 +0000 (05:41 +0000)]
[tools] firmware-utils: ZyXEL firmware tool improvements

SVN-Revision: 11550

15 years agoAdd support for Connexant USB ADSL modemds (#3553)
Florian Fainelli [Sat, 21 Jun 2008 13:21:49 +0000 (13:21 +0000)]
Add support for Connexant USB ADSL modemds (#3553)

SVN-Revision: 11549

15 years agoupgrade to uci 0.4.4 (fixes a stupid bug, thx Frédéric Moulins)
Felix Fietkau [Fri, 20 Jun 2008 17:39:56 +0000 (17:39 +0000)]
upgrade to uci 0.4.4 (fixes a stupid bug, thx Frédéric Moulins)

SVN-Revision: 11548

15 years ago[x86] grub: Natively build grub only on x86 linux hosts, cross compile everywhere...
Andy Boyett [Fri, 20 Jun 2008 01:43:20 +0000 (01:43 +0000)]
[x86] grub: Natively build grub only on x86 linux hosts, cross compile everywhere else.
 - Closes #3560

SVN-Revision: 11542

15 years agofix ifxmips image file name (thx, nix)
Felix Fietkau [Thu, 19 Jun 2008 14:11:50 +0000 (14:11 +0000)]
fix ifxmips image file name (thx, nix)

SVN-Revision: 11540

15 years ago[kernel] generic-2.6: Backport netfilter includes fix from 2.6.26 to 2.6.25
Andy Boyett [Thu, 19 Jun 2008 08:05:08 +0000 (08:05 +0000)]
[kernel] generic-2.6: Backport netfilter includes fix from 2.6.26 to 2.6.25
 - Fixes compilation of numerous packages

SVN-Revision: 11539

15 years agoRemove the sleep since we delayed bringing up the interface
Florian Fainelli [Wed, 18 Jun 2008 17:42:10 +0000 (17:42 +0000)]
Remove the sleep since we delayed bringing up the interface

SVN-Revision: 11534

15 years agoDelay bringing up the interface because some cards requires setting the mode before...
Florian Fainelli [Wed, 18 Jun 2008 17:09:02 +0000 (17:09 +0000)]
Delay bringing up the interface because some cards requires setting the mode before bringing it up (#3541)

SVN-Revision: 11533

15 years agocleanup ifxmips pci code
John Crispin [Tue, 17 Jun 2008 22:44:38 +0000 (22:44 +0000)]
cleanup ifxmips pci code

SVN-Revision: 11531

15 years agoadds timer unit to ifxmips tree
John Crispin [Tue, 17 Jun 2008 22:14:08 +0000 (22:14 +0000)]
adds timer unit to ifxmips tree

SVN-Revision: 11530

15 years ago[adm5120] IRQ code cleanup
Gabor Juhos [Tue, 17 Jun 2008 17:46:52 +0000 (17:46 +0000)]
[adm5120] IRQ code cleanup

SVN-Revision: 11528

15 years ago[tools] firmware-utils/mkcasfw: add model id for Ovislink WL-5420/5460 IP cameras
Gabor Juhos [Tue, 17 Jun 2008 15:05:53 +0000 (15:05 +0000)]
[tools] firmware-utils/mkcasfw: add model id for Ovislink WL-5420/5460 IP cameras

SVN-Revision: 11527

15 years ago[adm5120] switch to 2.6.25.7
Gabor Juhos [Tue, 17 Jun 2008 14:30:18 +0000 (14:30 +0000)]
[adm5120] switch to 2.6.25.7

SVN-Revision: 11526

15 years ago[rdc] sync kernel config
Gabor Juhos [Tue, 17 Jun 2008 14:01:07 +0000 (14:01 +0000)]
[rdc] sync kernel config

SVN-Revision: 11525

15 years ago[x86] sync kernel config
Gabor Juhos [Tue, 17 Jun 2008 14:00:25 +0000 (14:00 +0000)]
[x86] sync kernel config

SVN-Revision: 11524

15 years ago[kernel] upgrade to 2.6.25.7, and refresh patches
Gabor Juhos [Tue, 17 Jun 2008 12:57:04 +0000 (12:57 +0000)]
[kernel] upgrade to 2.6.25.7, and refresh patches

SVN-Revision: 11523

15 years ago[adm5120] fix compiler warning
Gabor Juhos [Tue, 17 Jun 2008 10:50:06 +0000 (10:50 +0000)]
[adm5120] fix compiler warning

SVN-Revision: 11521

15 years agolinux-uvc: Upgrade to revision 215
Andy Boyett [Tue, 17 Jun 2008 05:39:05 +0000 (05:39 +0000)]
linux-uvc: Upgrade to revision 215

SVN-Revision: 11519

15 years ago[uci] remove empty /etc/uci-defaults/ in base-files, not needed after last commit.
Andy Boyett [Tue, 17 Jun 2008 00:48:45 +0000 (00:48 +0000)]
[uci] remove empty /etc/uci-defaults/ in base-files, not needed after last commit.

SVN-Revision: 11518

15 years ago[uci] Create $(1)/etc/uci-defaults directory during installation. Thanks Yuji Mano.
Andy Boyett [Tue, 17 Jun 2008 00:44:10 +0000 (00:44 +0000)]
[uci] Create $(1)/etc/uci-defaults directory during installation. Thanks Yuji Mano.
 - Fixes the use of CONFIG_UCI_PRECONFIG under git; git does not track empty directories.

SVN-Revision: 11517

15 years agoset file executable permissions
Yuji Mano [Mon, 16 Jun 2008 23:17:44 +0000 (23:17 +0000)]
set file executable permissions

SVN-Revision: 11516

15 years agouse file descriptors 8 and 9 for build system internal log messages, as apparently...
Felix Fietkau [Mon, 16 Jun 2008 21:57:57 +0000 (21:57 +0000)]
use file descriptors 8 and 9 for build system internal log messages, as apparently bash does not like fds greater than 9 in shell commands on some systems

SVN-Revision: 11515

15 years agoAdd the PS3 specific utility bl-option, a helper sctipt
Yuji Mano [Mon, 16 Jun 2008 19:48:54 +0000 (19:48 +0000)]
Add the PS3 specific utility bl-option, a helper sctipt
to get and set bootloader options in flash memory.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 11514

15 years agoRevert previous bad commit r11512
Yuji Mano [Mon, 16 Jun 2008 19:37:00 +0000 (19:37 +0000)]
Revert previous bad commit r11512

SVN-Revision: 11513

15 years agoAdd the PS3 specific utility bl-option, a helper sctipt
Yuji Mano [Mon, 16 Jun 2008 19:14:13 +0000 (19:14 +0000)]
Add the PS3 specific utility bl-option, a helper sctipt
to get and set bootloader options in flash memory.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 11512

15 years agoAdd a system config option to allow syslogd to log to a file.
Yuji Mano [Mon, 16 Jun 2008 19:06:21 +0000 (19:06 +0000)]
Add a system config option to allow syslogd to log to a file.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 11511

15 years ago[brcm47xx] Fix TG3 build. Thanks Hauke Mehrtens
Peter Denison [Mon, 16 Jun 2008 19:06:14 +0000 (19:06 +0000)]
[brcm47xx] Fix TG3 build. Thanks Hauke Mehrtens

SVN-Revision: 11510

15 years agoUpdate the PS3 target README with some installation tips, and
Yuji Mano [Mon, 16 Jun 2008 19:04:07 +0000 (19:04 +0000)]
Update the PS3 target README with some installation tips, and
the PS3 image Makefile to create openwrt-ps3-vmlinux.elf.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 11509

15 years agohis patch mainly fixes the huge delay when we ping from the RDC device to another...
Florian Fainelli [Mon, 16 Jun 2008 13:25:14 +0000 (13:25 +0000)]
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

15 years agoThis patch applies to the RDC 32xx ethernet driver (svn r10754, first patch applied...
Florian Fainelli [Mon, 16 Jun 2008 13:24:41 +0000 (13:24 +0000)]
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

15 years agoHi,
Florian Fainelli [Mon, 16 Jun 2008 13:24:09 +0000 (13:24 +0000)]
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

15 years agobackport mv643xx ethernet changes from the Marvell git repo
Imre Kaloz [Mon, 16 Jun 2008 13:20:10 +0000 (13:20 +0000)]
backport mv643xx ethernet changes from the Marvell git repo

SVN-Revision: 11504

15 years agoenable AMD flash support and physmap on orion
Imre Kaloz [Mon, 16 Jun 2008 13:18:58 +0000 (13:18 +0000)]
enable AMD flash support and physmap on orion

SVN-Revision: 11503

15 years ago[kernel] generic-2.6: oops, forgot to refresh the 2.6.25 IMQ patch
Gabor Juhos [Mon, 16 Jun 2008 13:17:52 +0000 (13:17 +0000)]
[kernel] generic-2.6: oops, forgot to refresh the 2.6.25 IMQ patch

SVN-Revision: 11502

15 years ago[kernel] generic-2.6: even newer IMQ patch for 2.6.25 and 2.6.26
Gabor Juhos [Mon, 16 Jun 2008 12:57:56 +0000 (12:57 +0000)]
[kernel] generic-2.6: even newer IMQ patch for 2.6.25 and 2.6.26

SVN-Revision: 11501

15 years agolibnl: backport memleak fix
Imre Kaloz [Mon, 16 Jun 2008 12:43:16 +0000 (12:43 +0000)]
libnl: backport memleak fix

SVN-Revision: 11500

15 years agofix libnl compile with older kernels
Imre Kaloz [Mon, 16 Jun 2008 12:42:36 +0000 (12:42 +0000)]
fix libnl compile with older kernels

SVN-Revision: 11499

15 years agorefresh generic 2.6.22 patches
Imre Kaloz [Mon, 16 Jun 2008 12:40:48 +0000 (12:40 +0000)]
refresh generic 2.6.22 patches

SVN-Revision: 11498

15 years agofixup machid workaround, generate uImage manually
Imre Kaloz [Mon, 16 Jun 2008 12:38:55 +0000 (12:38 +0000)]
fixup machid workaround, generate uImage manually

SVN-Revision: 11497

15 years agoadded unsquashfs-lzma, usefull for debugging of existing fs images
Ralph Hempel [Mon, 16 Jun 2008 11:32:13 +0000 (11:32 +0000)]
added unsquashfs-lzma, usefull for debugging of existing fs images

SVN-Revision: 11496

15 years agofix the path to the x-wrt feed (svn:// is broken on berlios.de at the moment)
Felix Fietkau [Sun, 15 Jun 2008 20:41:41 +0000 (20:41 +0000)]
fix the path to the x-wrt feed (svn:// is broken on berlios.de at the moment)

SVN-Revision: 11494

15 years agoadd another check to the dependencies
Felix Fietkau [Sun, 15 Jun 2008 14:50:41 +0000 (14:50 +0000)]
add another check to the dependencies

SVN-Revision: 11475

15 years agofix typo
Felix Fietkau [Sun, 15 Jun 2008 14:49:00 +0000 (14:49 +0000)]
fix typo

SVN-Revision: 11474

15 years agoadd some sanity checking
Felix Fietkau [Sun, 15 Jun 2008 14:34:00 +0000 (14:34 +0000)]
add some sanity checking

SVN-Revision: 11473

15 years agoremove some unused crap
Felix Fietkau [Sun, 15 Jun 2008 11:15:35 +0000 (11:15 +0000)]
remove some unused crap

SVN-Revision: 11472

15 years ago(6/6) bcm57xx: package
Felix Fietkau [Sun, 15 Jun 2008 11:11:28 +0000 (11:11 +0000)]
(6/6) bcm57xx: package

This is the bcm57xx package.  I have tested default vlan functions,
but I dont have the equipment to test more advanced setups.  The default
vlan setup seems to be working fine.  I also added the activate_gpio
parameter which will make the driver activate the switch via gpio before
probing for it.

I'm not sure which method is best for autoload.  For the wrt350n, I
need the activate_gpio parameter.  But its probably not a good idea
to add that to the autoload file.  On a system without a bcm57xx switch,
isn't it a bad idea to mess with the gpios looking for the switch? Ideally,
wouldn't it be best to load the bcm57xx module from broadcom-diag, after
it has determined which router its on?  I tried using 'request_module' from
there, but had no success.  For now, I am relying on preinit to load
the bcm57xx module with activate_gpio param, after it has failed to load
switch_robo and switch_adm.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11471

15 years ago(5/6) bcm57xx: bcm4785 incomplete reboot
Felix Fietkau [Sun, 15 Jun 2008 11:10:43 +0000 (11:10 +0000)]
(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

15 years ago(4/6) bcm57xx: switch-core.c/switch-robo.c check for port already registered
Felix Fietkau [Sun, 15 Jun 2008 11:10:27 +0000 (11:10 +0000)]
(4/6) bcm57xx: switch-core.c/switch-robo.c check for port already registered

This patch prevents switch-robo.c from attempting robo_probe on a port
that is already registered.  robo_probe will adjust kernel reference counts
if it detects a switch on the port.  If this patch wasn't applied, the
wrt350n would hang on reboot, waiting for the network driver reference count
to reach zero indefinitely.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11469

15 years ago(3/6) bcm57xx: preinit
Felix Fietkau [Sun, 15 Jun 2008 11:10:13 +0000 (11:10 +0000)]
(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

15 years ago(2/6) bcm57xx: netconfig
Felix Fietkau [Sun, 15 Jun 2008 11:09:49 +0000 (11:09 +0000)]
(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

15 years ago(1/6) bcm57xx: init from diag
Felix Fietkau [Sun, 15 Jun 2008 11:09:27 +0000 (11:09 +0000)]
(1/6) bcm57xx: init from diag

I've been working to finish up the bcm57xx module package nbd
posted a few months ago.  I am no expert, just had some spare
time and some motivation.  Here is the background:

https://dev.openwrt.org/ticket/2744

This first patch disables the bcm57xx gpio setup in broadcom-diag.
The switch needs to be initialized by the driver so the driver can
then reset the switch ASAP.  If the switch isn't reset quickly enough,
it will forward packets between the WAN and LAN, which will cause
problems with modems that only allow one mac to access the internet.

Tested on wrt350n.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11466