diff options
author | Florian Fainelli <florian@openwrt.org> | 2006-12-10 22:13:26 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2006-12-10 22:13:26 +0000 |
commit | 584cab73305b3b411c82818e0997d135e217be79 (patch) | |
tree | dda8c17a3c47f4e4e8123f8d687daa7c9c18708f /target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch | |
parent | abe006bd5a8c1555305b5329668acf5056181f06 (diff) | |
download | master-187ad058-584cab73305b3b411c82818e0997d135e217be79.tar.gz master-187ad058-584cab73305b3b411c82818e0997d135e217be79.tar.bz2 master-187ad058-584cab73305b3b411c82818e0997d135e217be79.zip |
Run dos2unix on the flash map driver ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5750 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch')
-rw-r--r-- | target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch b/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch index 5e1a2fb0e5..a3d2ac6b74 100644 --- a/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch +++ b/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch @@ -2,31 +2,31 @@ diff -urN linux-2.6.17/drivers/mtd/maps/imghdr.h linux-2.6.17.new/drivers/mtd/ma --- linux-2.6.17/drivers/mtd/maps/imghdr.h 1970-01-01 01:00:00.000000000 +0100 +++ linux-2.6.17.new/drivers/mtd/maps/imghdr.h 2006-09-24 20:29:20.000000000 +0200 @@ -0,0 +1,25 @@ -+#ifndef GT_IMGHDR_H
-+#define GT_IMGHDR_H
-+
-+#define GTIMG_MAGIC "GMTK"
-+
-+/* Product ID */
-+#define PID_RTL_AIRGO 1
-+#define PID_RTL_RALINK 2
-+#define PID_RDC_AIRGO 3
-+#define PID_RDC_RALINK 5 /* White Lable */
-+
-+/* Gemtek */
-+typedef struct
-+{
-+ UINT8 magic[4]; /* ASICII: GMTK */
-+ UINT32 checksum; /* CRC32 */
-+ UINT32 version; /* x.x.x.x */
-+ UINT32 kernelsz; /* The size of the kernel image */
-+ UINT32 imagesz; /* The length of this image file ( kernel + romfs + this header) */
-+ UINT32 pid; /* Product ID */
-+ UINT32 fastcksum; /* Partial CRC32 on (First(256), medium(256), last(512)) */
-+ UINT32 reserved;
-+}gt_imghdr_t;
-+
-+#endif
++#ifndef GT_IMGHDR_H ++#define GT_IMGHDR_H ++ ++#define GTIMG_MAGIC "GMTK" ++ ++/* Product ID */ ++#define PID_RTL_AIRGO 1 ++#define PID_RTL_RALINK 2 ++#define PID_RDC_AIRGO 3 ++#define PID_RDC_RALINK 5 /* White Lable */ ++ ++/* Gemtek */ ++typedef struct ++{ ++ UINT8 magic[4]; /* ASICII: GMTK */ ++ UINT32 checksum; /* CRC32 */ ++ UINT32 version; /* x.x.x.x */ ++ UINT32 kernelsz; /* The size of the kernel image */ ++ UINT32 imagesz; /* The length of this image file ( kernel + romfs + this header) */ ++ UINT32 pid; /* Product ID */ ++ UINT32 fastcksum; /* Partial CRC32 on (First(256), medium(256), last(512)) */ ++ UINT32 reserved; ++}gt_imghdr_t; ++ ++#endif diff -urN linux-2.6.17/drivers/mtd/maps/Kconfig linux-2.6.17.new/drivers/mtd/maps/Kconfig --- linux-2.6.17/drivers/mtd/maps/Kconfig 2006-06-18 03:49:35.000000000 +0200 +++ linux-2.6.17.new/drivers/mtd/maps/Kconfig 2006-09-24 20:28:11.000000000 +0200 |