1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 20:10:39 +02:00
Commit Graph

37 Commits

Author SHA1 Message Date
nbd
c848213af9 (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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-15 11:10:27 +00:00
noz
73003484e2 [bcm47xx] Stopgap compilation fixes for diag and switch under 2.6.25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-20 22:33:45 +00:00
noz
8570a82f7c Allow package/switch to compile against 2.6.25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-14 15:03:05 +00:00
mb
aa3defff60 Check the return values of kmalloc()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-13 15:22:46 +00:00
nbd
b3f2bc9aac fix switch-robo.c compile errors on linux 2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-01 15:34:17 +00:00
mb
3814202702 Fix the roboswitch code for the WRT350N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-27 22:35:41 +00:00
mb
84296b55ed ssb: Make the GPIO API reentrancy safe.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19 15:22:17 +00:00
nbd
9cd1d90624 export switch-core.h to $(STAGING_DIR)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-06 19:28:26 +00:00
nbd
173083fcbf fix adm switch misdetection, which led to bogus button events that caused the system to shut down
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-16 03:11:09 +00:00
nbd
6db7ad74f6 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
nico
d275f1aba0 fix board name for nvram and switch packages on brcm-2.4 after [8653]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 12:54:24 +00:00
nico
c4b73fa154 move package description to a separate definition, remove it when DESCRIPTION=TITLE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +00:00
nbd
17c7b6c3fd 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
nico
76c7aa6ffa package Makefile cleanup: remove uneeded vars
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-03 08:20:36 +00:00
nico
a702c26fde use a default VERSION field for kmod packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-02 16:39:27 +00:00
nbd
e7448c7a3c fix kmod-switch compile on brcm-2.4 (#1461)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-14 13:42:21 +00:00
nbd
513c273d00 fix up remaining parts for the brcm47xx-2.6 port (tested on wgt634u), nuke the old brcm-2.6 port, close #1312, #1451
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-14 03:37:40 +00:00
nbd
c7a59f885d add diag and switch support for brcm47xx-2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-14 01:19:24 +00:00
nbd
17126ba85f cleanup, nuke obsolete 'Kernel drivers' category, convert remaining kmod packages to KernelPackage interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-20 02:01:53 +00:00
nbd
29e8bb3130 fix memory leak in switch drivers (patch from #1132)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-07 14:59:43 +00:00
florian
e1bdcce850 Fix the counters bug (#983)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-27 19:35:13 +00:00
nbd
394615dd78 prepare packages for kernel upgrade to 2.6.19
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-14 08:00:20 +00:00
florian
d313d6dbc3 Add Trendware TEW-411BRplus (#1038)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-11 21:46:31 +00:00
nbd
a4a6443af1 replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
nbd
5be70dfb57 implement target profiles in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 05:06:56 +00:00
nico
198fa02485 standardize Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-23 19:23:09 +00:00
mbm
ef998d64e3 set PATH in rules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-04 11:59:52 +00:00
nbd
c4f3575368 rewrite of the network scripts and configuration
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 03:09:09 +00:00
nbd
87ed3074d4 add missing copyright
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:40:19 +00:00
mbm
02cdebbb91 credit where credit is due
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
nbd
0b0afa4d81 add INCLUDE_DIR variable for $(TOPDIR)/include
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:32:39 +00:00
nbd
859e8f7f7d build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:16:37 +00:00
kaloz
274d69a922 be politically correct
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-20 08:28:06 +00:00
nico
ddefa678f6 fix module params on 2.6.17, suppress warnings.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-19 02:05:27 +00:00
nico
4e00d98efd normalize Makefiles.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 18:30:40 +00:00
mbm
f707a04e90 fix display of uninitialized ports
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-14 22:44:35 +00:00
nbd
69ae98b46e move target/linux/package/switch to package/, fix a bug in the ipkg dependency handling
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-31 16:01:46 +00:00