diff options
| author | Chris Larson <clarson@kergoth.com> | 2004-11-16 01:26:46 +0000 |
|---|---|---|
| committer | Chris Larson <clarson@kergoth.com> | 2004-11-16 01:26:46 +0000 |
| commit | 8cd816fb5a418e831cca69f12db67f600e3d9119 (patch) | |
| tree | da27a038f09bdeef35a431cda21751b4cd947998 /linux | |
| parent | f35fca62c5e6f5cc92e80641e31860d1b5b02e8c (diff) | |
Merge nslu2-linux@nslu2-linux.bkbits.net:packages
into handhelds.org:/home/kergoth/code/packages
2004/11/15 17:37:03-05:00 giantshoulder.com!g2
Change ROOTFS_SIZE to the smallest value (mod 128) that works 3840
2004/11/16 07:33:28+10:30 (none)!rwhitby
Initial jffs2 support in unslung-image
2004/11/14 23:08:14+10:30 (none)!rwhitby
Unslung switchbox now works somewhat
2004/11/13 20:02:57-08:00 (none)!jacques
added linuxrc to URI and forced static build
2004/11/14 13:20:09+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages
into home.(none):/home/openembedded/packages
2004/11/14 13:19:56+10:30 (none)!rwhitby
Stripped more features from switchbox
2004/11/13 18:33:34-08:00 (none)!jacques
added linuxrc and linuxrc install to switchbox (linuxrc is just a copy of the unslung-ramdisk one ATM)
2004/11/13 17:10:58-08:00 (none)!jacques
initial very minimal switchbox bb config
2004/11/14 11:32:22+10:30 (none)!rwhitby
Added switchbox - a minimal busybox for switching between root device options in /linuxrc on an NSLU2 device
2004/11/14 08:26:40+10:30 (none)!rwhitby
Removed JFFS from unslung-able kernel - JFFS2 does not require it.
2004/11/13 22:40:16+10:30 (none)!rwhitby
Added support for more flash partitions, and JFFS2 filesystems.
2004/11/12 00:28:05-08:00 bkbits.net!nslu2-linux.adm
Merge bk://openembedded.bkbits.net/packages
into bkbits.net:/repos/n/nslu2-linux/packages
2004/11/11 22:31:58+10:30 (none)!rwhitby
Enabled CONFIG_MTD_REDBOOT_PARTS in unslung-able-kernel's defconfig
2004/11/11 00:42:41-08:00 bkbits.net!nslu2-linux.adm
Merge bk://openembedded.bkbits.net/packages
into bkbits.net:/repos/n/nslu2-linux/packages
2004/11/11 00:38:58+10:30 (none)!rwhitby
Unslung: fixed slugbug#24 - If /.ext3flash exists, then /dev/sda1 is remounted with the noatime option between the running of quotacheck (which is what turns off the noatime option) and the running of quotaon.
2004/11/09 22:37:05+10:30 (none)!rwhitby
Added ext3flash functionality to startup scripts, keyed on the existence of a /.ext3flash file. Also updated the README.
2004/11/08 22:40:38+10:30 (none)!rwhitby
Enabled devfs in the Unslung-able kernel (but did not enable auto mounting)
2004/11/07 19:35:32-05:00 uottawa.ca!stephane
Reverted SCL I2C pin to default of 6 after pushing my local change by accident.
2004/11/07 19:14:08-05:00 uottawa.ca!stephane
Merge nslu2-linux@nslu2-linux.bkbits.net:packages
into gauss.mathstat.uottawa.ca:/local/nslu2/openslug/packages
2004/11/07 18:11:11-05:00 uottawa.ca!stephane
First stab at integrating kernel 2.6.9 into OE for NSLU2.
2004/11/07 09:16:24+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages
into home.(none):/home/openembedded/packages
2004/11/07 09:15:34+10:30 (none)!rwhitby
Bumped package and Unslung version, in preparation for Unslung public beta
2004/11/06 12:48:04-08:00 bkbits.net!nslu2-linux.adm
Merge bk://openembedded.bkbits.net/packages
into bkbits.net:/repos/n/nslu2-linux/packages
2004/11/06 23:24:13+10:30 (none)!rwhitby
Now copied README to unslung disk
2004/11/06 22:32:31+10:30 (none)!rwhitby
Unslung 2.11-beta release candidate
2004/11/06 22:05:40+10:30 (none)!rwhitby
Removed ext3flash, ext1vfat2, and vfatdisk2 variants. The ext3flash-on-disk1 functionality has been added to the stock firmware, and the vfatdisk2 variant never worked properly anyway.
2004/11/06 16:07:27+10:30 (none)!rwhitby
Added ext3flash-on-disk1.patch, and included it in all unslung kernels
2004/11/06 09:01:17+10:30 (none)!rwhitby
Made unsling remove /bin/wget on upgraded unslung disks
2004/11/06 08:35:03+10:30 (none)!rwhitby
Removed the ipkg info from the local feed (used in building the Unslung ramdisk) from the Unslung image.
2004/11/05 23:49:31+10:30 (none)!rwhitby
Added ext1vfat2 variant
2004/11/05 16:11:01+10:30 (none)!rwhitby
Made all unslung variants use the -standard variant as a base, instead of the pseudo -base variant.
2004/11/05 00:21:59+10:30 (none)!rwhitby
Fixed the nslu2-linux-kernel kernel-suffix
2004/11/05 00:07:21+10:30 (none)!rwhitby
Reverted linksys-kernel defconfig to original
2004/11/04 23:22:44+10:30 (none)!rwhitby
Fixed the typo in unslung-image.oe
2004/11/04 23:17:52+10:30 (none)!rwhitby
Renamed all unslung files to a more consistent naming scheme
2004/11/04 20:15:58+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages
into home.(none):/home/openembedded/packages
2004/11/04 13:54:46+10:30 (none)!rwhitby
Split nslu2-unslung-libs out of nslu2-unslung-ramdisk (and it's variants) so that we don't confuse the shlibs code. Also stopped the patcher dross being copied into the ramdisks.
2004/11/04 11:33:44+10:30 (none)!rwhitby
Added RPROVIDES to Unslung ramdisk variants
2004/11/03 10:54:13-10:00 (none)!dereky
unslung.conf:
Added RAID kernel modules.
2004/11/04 01:37:37+10:30 (none)!rwhitby
Moved the unslung-specific patches from the linksys directory to the unslung directory
2004/11/04 01:20:23+10:30 (none)!rwhitby
Added UNSLUNG_{KERNEL,RAMDISK}_EXTRA_SRC_URI to unslung kernel and ramdisk
2004/11/04 00:16:05+10:30 (none)!rwhitby
Added the limit1gb variant, and took that functionality out of the standard variant
2004/11/04 00:11:54+10:30 (none)!rwhitby
Moved 1Gb limit stuff into a separate variant
2004/11/04 00:11:23+10:30 (none)!rwhitby
Moved 1Gb limit stuff into a separate variant
2004/11/04 00:10:57+10:30 (none)!rwhitby
Moved 1Gb limit stuff into a separate variant
2004/11/03 23:48:38+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/packages
into home.(none):/home/openembedded/packages
2004/11/03 23:47:57+10:30 (none)!rwhitby
Reorganisation of Unslung kernel variants
2004/11/03 21:21:44+11:00 black.lan!peteru
Version up for libusb.
2004/11/03 16:58:02+11:00 black.lan!peteru
Change order of include so that SRC_URI is not clobbered when building varianted ramdisk images.
Move the mount of usbdevfs to a more suitable location.
2004/11/03 15:51:08+11:00 black.lan!peteru
Ensure that the image contains ramdisk files from Linksys.
2004/11/03 13:36:38+10:30 (none)!rwhitby
Added UNSLUNG_EXTRA_{DEPENDS,RDEPENDS,RRECOMMENDS}
2004/11/03 11:24:21+10:30 (none)!rwhitby
Missed unslung-image-vfatdisk2
2004/11/03 11:20:26+10:30 (none)!rwhitby
Fixed Unslung ramdisk FILESPATH
2004/11/03 10:57:38+11:00 black.lan!peteru
Merge nslu2-linux@nslu2-linux.bkbits.net:packages
into black.lan:/home/slug/bk/packages
2004/11/03 10:57:07+11:00 black.lan!peteru
Updated with missing changes.
2004/11/02 17:37:54-06:00 handhelds.org!kergoth
Merge nslu2-linux@nslu2-linux.bkbits.net:packages
into handhelds.org:/home/kergoth/code/packages-nslu2
2004/11/03 10:11:25+10:30 (none)!rwhitby
Fixed UNSLUNG-SUFFIX in the ramdisk variants
2004/11/02 17:37:35-06:00 handhelds.org!kergoth
Make the CIA post-outgoing trigger obey a BK_SILENT variable, to supress notifications when doing syncs.
2004/11/03 10:36:21+11:00 black.lan!peteru
Added missing changes to support variants.
BKrev: 419957569UY_WhtfFG7t7k9gaKf8xQ
Diffstat (limited to 'linux')
44 files changed, 0 insertions, 2594 deletions
diff --git a/linux/nslu2-linksys-2.4.22/gcc-registerparanoia.patch b/linux/nslu2-linksys-2.4.22/gcc-registerparanoia.patch deleted file mode 100644 index 7c3e538e1e..0000000000 --- a/linux/nslu2-linksys-2.4.22/gcc-registerparanoia.patch +++ /dev/null @@ -1,57 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- linux-2.4.22/include/asm-arm/system.h~gcc-registerparanoia 2004-09-08 19:45:34.000000000 -0500 -+++ linux-2.4.22/include/asm-arm/system.h 2004-09-08 19:53:01.000000000 -0500 -@@ -3,6 +3,15 @@ - - #ifdef __KERNEL__ - -+/* -+ * This is used to ensure the compiler did actually allocate the register we -+ * asked it for some inline assembly sequences. Apparently we can't trust -+ * the compiler from one version to another so a bit of paranoia won't hurt. -+ * This string is meant to be concatenated with the inline asm string and -+ * will cause compilation to stop on mismatch. -+ */ -+#define __asmeq(x, y) ".ifnc " x "," y " ; .err ; .endif\n\t" -+ - #include <linux/config.h> - #include <linux/kernel.h> - ---- linux-2.4.22/include/asm-arm/uaccess.h~gcc-registerparanoia 2004-09-08 19:45:34.000000000 -0500 -+++ linux-2.4.22/include/asm-arm/uaccess.h 2004-09-08 19:59:20.000000000 -0500 -@@ -6,6 +6,7 @@ - */ - #include <linux/sched.h> - #include <asm/errno.h> -+#include <asm/system.h> - - #define VERIFY_READ 0 - #define VERIFY_WRITE 1 -@@ -71,7 +72,9 @@ - extern int __get_user_bad(void); - - #define __get_user_x(__r1,__p,__e,__s,__i...) \ -- __asm__ __volatile__ ("bl __get_user_" #__s \ -+ __asm__ __volatile__ ( \ -+ __asmeq("%0", "r0") __asmeq("%1", "r1") \ -+ "bl __get_user_" #__s \ - : "=&r" (__e), "=r" (__r1) \ - : "0" (__p) \ - : __i) -@@ -110,7 +113,9 @@ - extern int __put_user_bad(void); - - #define __put_user_x(__r1,__p,__e,__s,__i...) \ -- __asm__ __volatile__ ("bl __put_user_" #__s \ -+ __asm__ __volatile__ ( \ -+ __asmeq("%0", "r0") __asmeq("%2", "r1") \ -+ "bl __put_user_" #__s \ - : "=&r" (__e) \ - : "0" (__p), "r" (__r1) \ - : __i) ---- linux-2.4.22/-~gcc-registerparanoia -+++ linux-2.4.22/- diff --git a/linux/nslu2-linksys-2.4.22/gcc3-userfuncs.patch b/linux/nslu2-linksys-2.4.22/gcc3-userfuncs.patch deleted file mode 100644 index 54726bf740..0000000000 --- a/linux/nslu2-linksys-2.4.22/gcc3-userfuncs.patch +++ /dev/null @@ -1,134 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- linux-2.4.22/arch/arm/lib/getuser.S~gcc3-userfuncs 2004-09-08 19:14:05.000000000 -0500 -+++ linux-2.4.22/arch/arm/lib/getuser.S 2004-09-08 19:49:27.000000000 -0500 -@@ -42,17 +42,17 @@ - - .global __get_user_2 - __get_user_2: -- bic r2, sp, #0x1f00 -- bic r2, r2, #0x00ff -- ldr r2, [r2, #TSK_ADDR_LIMIT] -- sub r2, r2, #2 -- cmp r0, r2 -+ bic ip, sp, #0x1f00 -+ bic ip, ip, #0x00ff -+ ldr ip, [ip, #TSK_ADDR_LIMIT] -+ sub ip, ip, #2 -+ cmp r0, ip - 2: ldrlsbt r1, [r0], #1 --3: ldrlsbt r2, [r0] -+3: ldrlsbt ip, [r0] - #ifndef __ARMEB__ -- orrls r1, r1, r2, lsl #8 -+ orrls r1, r1, ip, lsl #8 - #else -- orrls r1, r2, r1, lsl #8 -+ orrls r1, ip, r1, lsl #8 - #endif - movls r0, #0 - movls pc, lr ---- linux-2.4.22/arch/arm/lib/putuser.S~gcc3-userfuncs 2004-09-08 19:14:05.000000000 -0500 -+++ linux-2.4.22/arch/arm/lib/putuser.S 2004-09-08 19:45:00.000000000 -0500 -@@ -18,7 +18,7 @@ - * Inputs: r0 contains the address - * r1, r2 contains the value - * Outputs: r0 is the error code -- * lr corrupted -+ * ip, lr corrupted - * - * No other registers must be altered. (see include/asm-arm/uaccess.h - * for specific ASM register usage). -@@ -30,11 +30,11 @@ - - .global __put_user_1 - __put_user_1: -- bic r2, sp, #0x1f00 -- bic r2, r2, #0x00ff -- ldr r2, [r2, #TSK_ADDR_LIMIT] -- sub r2, r2, #1 -- cmp r0, r2 -+ bic ip, sp, #0x1f00 -+ bic ip, ip, #0x00ff -+ ldr ip, [ip, #TSK_ADDR_LIMIT] -+ sub ip, ip, #1 -+ cmp r0, ip - 1: strlsbt r1, [r0] - movls r0, #0 - movls pc, lr -@@ -42,20 +42,20 @@ - - .global __put_user_2 - __put_user_2: -- bic r2, sp, #0x1f00 -- bic r2, r2, #0x00ff -- ldr r2, [r2, #TSK_ADDR_LIMIT] -- sub r2, r2, #2 -- cmp r0, r2 -+ bic ip, sp, #0x1f00 -+ bic ip, ip, #0x00ff -+ ldr ip, [ip, #TSK_ADDR_LIMIT] -+ sub ip, ip, #2 -+ cmp r0, ip - #ifndef __ARMEB__ - 2: strlsbt r1, [r0], #1 - movls r1, r1, lsr #8 - 3: strlsbt r1, [r0] - #else --2: movls r2, r1 -+2: movls ip, r1 - movls r1, r1, lsr #8 - strlsbt r1, [r0], #1 -- movls r1, r2 -+ movls r1, ip - 3: strlsbt r1, [r0] - #endif - movls r0, #0 -@@ -64,11 +64,11 @@ - - .global __put_user_4 - __put_user_4: -- bic r2, sp, #0x1f00 -- bic r2, r2, #0x00ff -- ldr r2, [r2, #TSK_ADDR_LIMIT] -- sub r2, r2, #4 -- cmp r0, r2 -+ bic ip, sp, #0x1f00 -+ bic ip, ip, #0x00ff -+ ldr ip, [ip, #TSK_ADDR_LIMIT] -+ sub ip, ip, #4 -+ cmp r0, ip - 4: strlst r1, [r0] - movls r0, #0 - movls pc, lr ---- linux-2.4.22/include/asm-arm/uaccess.h~gcc3-userfuncs 2004-09-08 19:36:03.000000000 -0500 -+++ linux-2.4.22/include/asm-arm/uaccess.h 2004-09-08 20:03:34.000000000 -0500 -@@ -86,7 +86,7 @@ - __get_user_x(__r1, __p, __e, 1, "lr"); \ - break; \ - case 2: \ -- __get_user_x(__r1, __p, __e, 2, "r2", "lr"); \ -+ __get_user_x(__r1, __p, __e, 2, "ip", "lr"); \ - break; \ - case 4: \ - __get_user_x(__r1, __p, __e, 4, "lr"); \ -@@ -122,13 +122,13 @@ - register int __e asm("r0"); \ - switch (sizeof(*(p))) { \ - case 1: \ -- __put_user_x(__r1, __p, __e, 1, "r2", "lr"); \ -+ __put_user_x(__r1, __p, __e, 1, "ip", "lr"); \ - break; \ - case 2: \ -- __put_user_x(__r1, __p, __e, 2, "r2", "lr"); \ -+ __put_user_x(__r1, __p, __e, 2, "ip", "lr"); \ - break; \ - case 4: \ -- __put_user_x(__r1, __p, __e, 4, "r2", "lr"); \ -+ __put_user_x(__r1, __p, __e, 4, "ip", "lr"); \ - break; \ - case 8: \ - __put_user_x(__r1, __p, __e, 8, "ip", "lr"); \ diff --git a/linux/nslu2-linksys-2.4.22/gl811e.patch b/linux/nslu2-linksys-2.4.22/gl811e.patch deleted file mode 100644 index 106c329b4c..0000000000 --- a/linux/nslu2-linksys-2.4.22/gl811e.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- linux-2.4.22/drivers/usb/storage/transport.c Fri Jul 9 10:56:27 2004 -+++ linux-2.4.22/drivers/usb/storage/transport.c Fri Jul 9 11:51:14 2004 -@@ -1170,6 +1170,12 @@ - - /* if the command transfered well, then we go to the data stage */ - if (result == 0) { -+ -+ /* Genesys Logic interface chips need a 100us delay between -+ * the command phase and the data phase */ -+ if (us->pusb_dev->descriptor.idVendor == USB_VENDOR_ID_GENESYS) -+ udelay(100); -+ - /* send/receive data payload, if there is any */ - if (bcb->DataTransferLength) { - usb_stor_transfer(srb, us); ---- linux-2.4.22/drivers/usb/storage/usb.c Fri Jul 9 11:44:53 2004 -+++ linux-2.4.22/drivers/usb/storage/usb.c Fri Jul 9 11:49:44 2004 -@@ -996,6 +996,15 @@ - */ - (struct us_data *)ss->htmplt.proc_dir = ss; - -+ /* According to the technical support people at Genesys Logic, -+ * devices using their chips have problems transferring more -+ * than 32 KB at a time. In practice people have found that -+ * 64 KB works okay and that's what Windows does. But we'll -+ * be conservative. -+ */ -+ if (ss->pusb_dev->descriptor.idVendor == USB_VENDOR_ID_GENESYS) -+ ss->htmplt.max_sectors = 64; -+ - /* Just before we start our control thread, initialize - * the device if it needs initialization */ - if (unusual_dev && unusual_dev->initFunction) ---- linux-2.4.22/drivers/usb/storage/usb.h Fri Jul 9 10:56:03 2004 -+++ linux-2.4.22/drivers/usb/storage/usb.h Fri Jul 9 11:45:49 2004 -@@ -193,4 +193,7 @@ - /* Function to fill an inquiry response. See usb.c for details */ - extern void fill_inquiry_response(struct us_data *us, - unsigned char *data, unsigned int data_len); -+ -+/* Vendor ID list for devices that require special handling */ -+#define USB_VENDOR_ID_GENESYS 0x05e3 /* Genesys Logic */ - #endif diff --git a/linux/nslu2-linksys-2.4.22/linksys_can_bite_me.patch b/linux/nslu2-linksys-2.4.22/linksys_can_bite_me.patch deleted file mode 100644 index 2afbe66f0a..0000000000 --- a/linux/nslu2-linksys-2.4.22/linksys_can_bite_me.patch +++ /dev/null @@ -1,34 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- linux-2.4.22/drivers/usb/Config.in~linksys_can_bite_me 2004-09-08 19:14:15.000000000 -0500 -+++ linux-2.4.22/drivers/usb/Config.in 2004-09-08 19:19:37.000000000 -0500 -@@ -120,6 +120,4 @@ - fi - fi - --source drivers/usb/gadget/Config.in -- - endmenu ---- linux-2.4.22/drivers/ixp400/Makefile~linksys_can_bite_me 2004-09-08 19:14:08.000000000 -0500 -+++ linux-2.4.22/drivers/ixp400/Makefile 2004-09-08 19:32:55.000000000 -0500 -@@ -78,7 +78,9 @@ - # DAMAGE." - # - # -- End Intel/GPL Copyright Notice -- -+# - -+ifdef CONFIG_IXP425_CSR - include $(ROOTDIR)/IXP400lib/ixp400_xscale_sw/buildUtils/environment.linux - # IX_XSCALE_SW=$(ROOTDIR)/IXP400lib/ixp400_xscale_sw/ - # The kernel makefiles override the value of CFLAGS on the make -@@ -148,6 +150,7 @@ - # directory. Note that they must be filenames in this directory - the - # ramdisk rules cannot handle paths in this list. - obj-m := $(IXP400_MODULES) -+endif - - # Include the generic kernel build system rules - include $(TOPDIR)/Rules.make diff --git a/linux/nslu2-linksys-2.4.22/linux-2.4.24-attribute-used.patch b/linux/nslu2-linksys-2.4.22/linux-2.4.24-attribute-used.patch deleted file mode 100644 index bcf1c10335..0000000000 --- a/linux/nslu2-linksys-2.4.22/linux-2.4.24-attribute-used.patch +++ /dev/null @@ -1,140 +0,0 @@ -diff -purN linux-2.4.24-uc0.orig/include/asm-arm/setup.h linux-2.4.24-uc0/include/asm-arm/setup.h ---- linux-2.4.24-uc0.orig/include/asm-arm/setup.h 2003-08-25 04:44:43.000000000 -0700 -+++ linux-2.4.24-uc0/include/asm-arm/setup.h 2004-09-09 04:36:03.000000000 -0700 -@@ -236,7 +236,7 @@ struct tagtable { - int (*parse)(const struct tag *); - }; - --#define __tag __attribute__((unused, __section__(".taglist"))) -+#define __tag __attribute_used__ __attribute__((__section__(".taglist"))) - #define __tagtable(tag, fn) \ - static struct tagtable __tagtable_##fn __tag = { tag, fn } - -diff -purN linux-2.4.24-uc0.orig/include/linux/compiler.h linux-2.4.24-uc0/include/linux/compiler.h ---- linux-2.4.24-uc0.orig/include/linux/compiler.h 2004-03-31 21:52:49.000000000 -0800 -+++ linux-2.4.24-uc0/include/linux/compiler.h 2004-09-09 01:33:29.000000000 -0700 -@@ -13,4 +13,18 @@ - #define likely(x) __builtin_expect((x),1) - #define unlikely(x) __builtin_expect((x),0) - -+#if __GNUC__ > 3 -+#define __attribute_used__ __attribute__((__used__)) -+#elif __GNUC__ == 3 -+#if __GNUC_MINOR__ >= 3 -+# define __attribute_used__ __attribute__((__used__)) -+#else -+# define __attribute_used__ __attribute__((__unused__)) -+#endif /* __GNUC_MINOR__ >= 3 */ -+#elif __GNUC__ == 2 -+#define __attribute_used__ __attribute__((__unused__)) -+#else -+#define __attribute_used__ /* not implemented */ -+#endif /* __GNUC__ */ -+ - #endif /* __LINUX_COMPILER_H */ -diff -purN linux-2.4.24-uc0.orig/include/linux/init.h linux-2.4.24-uc0/include/linux/init.h ---- linux-2.4.24-uc0.orig/include/linux/init.h 2004-03-31 21:52:50.000000000 -0800 -+++ linux-2.4.24-uc0/include/linux/init.h 2004-09-09 01:38:11.000000000 -0700 -@@ -2,6 +2,7 @@ - #define _LINUX_INIT_H - - #include <linux/config.h> -+#include <linux/compiler.h> - - /* These macros are used to mark some functions or - * initialized data (doesn't apply to uninitialized data) -@@ -51,7 +52,7 @@ typedef void (*exitcall_t)(void); - extern initcall_t __initcall_start, __initcall_end; - - #define __initcall(fn) \ -- static initcall_t __initcall_##fn __init_call = fn -+ static initcall_t __initcall_##fn __attribute_used__ __init_call = fn - #define __exitcall(fn) \ - static exitcall_t __exitcall_##fn __exit_call = fn - -@@ -67,7 +68,7 @@ extern struct kernel_param __setup_start - - #define __setup(str, fn) \ - static char __setup_str_##fn[] __initdata = str; \ -- static struct kernel_param __setup_##fn __attribute__((unused)) __initsetup = { __setup_str_##fn, fn } -+ static struct kernel_param __setup_##fn __attribute_used__ __initsetup = { __setup_str_##fn, fn } - - #endif /* __ASSEMBLY__ */ - -@@ -77,16 +78,16 @@ extern struct kernel_param __setup_start - */ - #ifndef NO_TEXT_SECTIONS - #define __init __attribute__ ((__section__ (".text.init"))) --#define __exit __attribute__ ((unused, __section__(".text.exit"))) -+#define __exit __attribute_used__ __attribute__ ((__section__(".text.exit"))) - #else - #define __init --#define __exit __attribute__ ((unused)) -+#define __exit __attribute_used__ - #endif - #define __initdata __attribute__ ((__section__ (".data.init"))) --#define __exitdata __attribute__ ((unused, __section__ (".data.exit"))) --#define __initsetup __attribute__ ((unused,__section__ (".setup.init"))) --#define __init_call __attribute__ ((unused,__section__ (".initcall.init"))) --#define __exit_call __attribute__ ((unused,__section__ (".exitcall.exit"))) -+#define __exitdata __attribute_used__ __attribute__ ((__section__ (".data.exit"))) -+#define __initsetup __attribute_used__ __attribute__ ((__section__ (".setup.init"))) -+#define __init_call __attribute_used__ __attribute__ ((__section__ (".initcall.init"))) -+#define __exit_call __attribute_used__ __attribute__ ((__section__ (".exitcall.exit"))) - - /* For assembly routines */ - #define __INIT .section ".text.init","ax" -diff -purN linux-2.4.24-uc0.orig/include/linux/module.h linux-2.4.24-uc0/include/linux/module.h ---- linux-2.4.24-uc0.orig/include/linux/module.h 2002-08-02 17:39:45.000000000 -0700 -+++ linux-2.4.24-uc0/include/linux/module.h 2004-09-09 03:15:30.000000000 -0700 -@@ -8,6 +8,7 @@ - #define _LINUX_MODULE_H - - #include <linux/config.h> -+#include <linux/compiler.h> - #include <linux/spinlock.h> - #include <linux/list.h> - -@@ -254,9 +255,9 @@ __attribute__((section(".modinfo"))) = - */ - #define MODULE_GENERIC_TABLE(gtype,name) \ - static const unsigned long __module_##gtype##_size \ -- __attribute__ ((unused)) = sizeof(struct gtype##_id); \ -+ __attribute_used__ = sizeof(struct gtype##_id); \ - static const struct gtype##_id * __module_##gtype##_table \ -- __attribute__ ((unused)) = name -+ __attribute_used__ = name - - /* - * The following license idents are currently accepted as indicating free -@@ -284,7 +285,7 @@ static const struct gtype##_id * __modul - */ - - #define MODULE_LICENSE(license) \ --static const char __module_license[] __attribute__((section(".modinfo"))) = \ -+static const char __module_license[] __attribute_used__ __attribute__((section(".modinfo"))) = \ - "license=" license - - /* Define the module variable, and usage macros. */ -@@ -296,10 +297,10 @@ extern struct module __this_module; - #define MOD_IN_USE __MOD_IN_USE(THIS_MODULE) - - #include <linux/version.h> --static const char __module_kernel_version[] __attribute__((section(".modinfo"))) = -+static const char __module_kernel_version[] __attribute_used__ __attribute__((section(".modinfo"))) = - "kernel_version=" UTS_RELEASE; - #ifdef MODVERSIONS --static const char __module_using_checksums[] __attribute__((section(".modinfo"))) = -+static const char __module_using_checksums[] __attribute_used__ __attribute__((section(".modinfo"))) = - "using_checksums=1"; - #endif - -@@ -319,7 +320,7 @@ static const char __module_using_checksu - */ - #define MODULE_GENERIC_TABLE(gtype,name) \ - static const struct gtype##_id * __module_##gtype##_table \ -- __attribute__ ((unused, __section__(".data.exit"))) = name -+ __attribute_used__ __attribute__ ((__section__(".data.exit"))) = name - - #ifndef __GENKSYMS__ - diff --git a/linux/nslu2-linksys-2.4.22/nofpu.patch b/linux/nslu2-linksys-2.4.22/nofpu.patch deleted file mode 100644 index c23eceb506..0000000000 --- a/linux/nslu2-linksys-2.4.22/nofpu.patch +++ /dev/null @@ -1,18 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- linux-2.4.22/arch/arm/Makefile~nofpu 2004-09-08 19:34:11.000000000 -0500 -+++ linux-2.4.22/arch/arm/Makefile 2004-09-08 20:03:34.000000000 -0500 -@@ -76,7 +76,7 @@ - - CFLAGS_BOOT :=$(apcs-y) $(arch-y) $(tune-y) -mshort-load-bytes -msoft-float -Uarm - CFLAGS +=$(apcs-y) $(arch-y) $(tune-y) -mshort-load-bytes -msoft-float -Uarm --AFLAGS +=$(apcs-y) $(arch-y) -mno-fpu -msoft-float -+AFLAGS +=$(apcs-y) $(arch-y) -msoft-float - - ifeq ($(CONFIG_CPU_26),y) - PROCESSOR := armo ---- linux-2.4.22/-~nofpu -+++ linux-2.4.22/- diff --git a/linux/nslu2-linksys-2.4.22/nslu2/defconfig b/linux/nslu2-linksys-2.4.22/nslu2/defconfig deleted file mode 100644 index bcdbeafe4b..0000000000 --- a/linux/nslu2-linksys-2.4.22/nslu2/defconfig +++ /dev/null @@ -1,973 +0,0 @@ -# -# Automatically generated by make menuconfig: don't edit -# -CONFIG_ARM=y -# CONFIG_EISA is not set -# CONFIG_SBUS is not set -# CONFIG_MCA is not set -CONFIG_UID16=y -CONFIG_RWSEM_GENERIC_SPINLOCK=y -# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set -# CONFIG_GENERIC_BUST_SPINLOCK is not set -# CONFIG_GENERIC_ISA_DMA is not set - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y -# CONFIG_ADVANCED_OPTIONS is not set -# CONFIG_OBSOLETE is not set - -# -# Loadable module support -# -CONFIG_MODULES=y -# CONFIG_MODVERSIONS is not set -# CONFIG_KMOD is not set - -# -# System Type -# -# CONFIG_ARCH_ADIFCC is not set -# CONFIG_ARCH_ANAKIN is not set -# CONFIG_ARCH_ARCA5K is not set -# CONFIG_ARCH_CLPS7500 is not set -# CONFIG_ARCH_CLPS711X is not set -# CONFIG_ARCH_CO285 is not set -# CONFIG_ARCH_EBSA110 is not set -# CONFIG_ARCH_CAMELOT is not set -# CONFIG_ARCH_FOOTBRIDGE is not set -# CONFIG_ARCH_INTEGRATOR is not set -# CONFIG_ARCH_IOP3XX is not set -# CONFIG_ARCH_IXP1200 is not set -# CONFIG_ARCH_IXP2000 is not set -CONFIG_ARCH_IXP425=y -# CONFIG_ARCH_OMAHA is not set -# CONFIG_ARCH_L7200 is not set -# CONFIG_ARCH_MX1ADS is not set -# CONFIG_ARCH_RPC is not set -# CONFIG_ARCH_RISCSTATION is not set -# CONFIG_ARCH_SA1100 is not set -# CONFIG_ARCH_SHARK is not set -# CONFIG_ARCH_AT91RM9200 is not set - -# -# Archimedes/A5000 Implementations -# -# CONFIG_ARCH_ARC is not set -# CONFIG_ARCH_A5K is not set - -# -# Footbridge Implementations -# -# CONFIG_ARCH_CATS is not set -# CONFIG_ARCH_PERSONAL_SERVER is not set -# CONFIG_ARCH_EBSA285_ADDIN is not set -# CONFIG_ARCH_EBSA285_HOST is not set -# CONFIG_ARCH_NETWINDER is not set |
