diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-25 10:19:50 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-25 10:19:50 +0000 |
commit | 119b59cd0df00269bfe51d906657193217b8c884 (patch) | |
tree | be4bc7f812a9df2c6b3f17e6c3cc9bfafad07253 /linux/unslung-kernel-2.3r25/ext3flash-on-disk1.patch | |
parent | c985a77fad25302d576fbcf92149c983887bc0b9 (diff) |
Remove the EOLN_NATIVE flag from a ton of files (patches & the like for which line ending conversions can break things).
BKrev: 41a5b1c6eA2OPeQrDQEgEwAmKXvQJg
Diffstat (limited to 'linux/unslung-kernel-2.3r25/ext3flash-on-disk1.patch')
-rw-r--r-- | linux/unslung-kernel-2.3r25/ext3flash-on-disk1.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/linux/unslung-kernel-2.3r25/ext3flash-on-disk1.patch b/linux/unslung-kernel-2.3r25/ext3flash-on-disk1.patch index e69de29bb2..80170f08ce 100644 --- a/linux/unslung-kernel-2.3r25/ext3flash-on-disk1.patch +++ b/linux/unslung-kernel-2.3r25/ext3flash-on-disk1.patch @@ -0,0 +1,41 @@ +--- linux-2.4.22/drivers/scsi/scsi_scan.c.orig 2004-11-06 14:01:22.000000000 +1030 ++++ linux-2.4.22/drivers/scsi/scsi_scan.c 2004-11-06 15:00:33.000000000 +1030 +@@ -704,6 +704,7 @@ + /* restrict device on certain port grant */ + SDpnt->host->hostt->removable = SDpnt->removable; + ++#if 0 + if ( SDpnt->removable && (USB_DEVPATH_1 == SDpnt->host->hostt->port) ) + { + create_proc_read_entry("usb_err", +@@ -718,8 +719,9 @@ + shpnt->porttype = 1; + return 0; + } ++#endif + // add by super +- if (SDpnt->removable){ ++ if (SDpnt->removable && (USB_DEVPATH_2 == SDpnt->host->hostt->port)){ + printk("is removable disk \n"); + *IXP425_GPIO_GPOUTR &= 0xfffb; + create_proc_read_entry("usb_conn", +--- linux-2.4.22/drivers/usb/storage/usb.c.orig 2004-11-06 14:01:06.000000000 +1030 ++++ linux-2.4.22/drivers/usb/storage/usb.c 2004-11-06 15:01:23.000000000 +1030 +@@ -787,6 +787,7 @@ + ss->htmplt.removable = 1; + } + #endif ++#if 0 + /* restrict device on certain port */ + if ( ss->htmplt.removable && (USB_DEVPATH_1 == dev->devpath[0])) + if ( ss->htmplt.removable ^ (USB_DEVPATH_2 == dev->devpath[0]) ) +@@ -803,7 +804,8 @@ + free_us_data( pre_ss, ss ); + return NULL; + } +- if (ss->htmplt.removable){ ++#endif ++ if (ss->htmplt.removable && (USB_DEVPATH_2 == dev->devpath[0])){ + printk("is removable disk \n"); + *IXP425_GPIO_GPOUTR &= 0xfffb; + create_proc_read_entry("usb_conn", |