1 --- linux-2.4.22/drivers/scsi/scsi_scan.c.orig 2004-11-06 14:01:22.000000000 +1030
2 +++ linux-2.4.22/drivers/scsi/scsi_scan.c 2004-11-06 15:00:33.000000000 +1030
4 /* restrict device on certain port grant */
5 SDpnt->host->hostt->removable = SDpnt->removable;
8 if ( SDpnt->removable && (USB_DEVPATH_1 == SDpnt->host->hostt->port) )
10 create_proc_read_entry("usb_err",
17 - if (SDpnt->removable){
18 + if (SDpnt->removable && (USB_DEVPATH_2 == SDpnt->host->hostt->port)){
19 printk("is removable disk \n");
20 *IXP425_GPIO_GPOUTR &= 0xfffb;
21 create_proc_read_entry("usb_conn",
22 --- linux-2.4.22/drivers/usb/storage/usb.c.orig 2004-11-06 14:01:06.000000000 +1030
23 +++ linux-2.4.22/drivers/usb/storage/usb.c 2004-11-06 15:01:23.000000000 +1030
25 ss->htmplt.removable = 1;
29 /* restrict device on certain port */
30 if ( ss->htmplt.removable && (USB_DEVPATH_1 == dev->devpath[0]))
31 if ( ss->htmplt.removable ^ (USB_DEVPATH_2 == dev->devpath[0]) )
33 free_us_data( pre_ss, ss );
36 - if (ss->htmplt.removable){
38 + if (ss->htmplt.removable && (USB_DEVPATH_2 == dev->devpath[0])){
39 printk("is removable disk \n");
40 *IXP425_GPIO_GPOUTR &= 0xfffb;
41 create_proc_read_entry("usb_conn",