summaryrefslogtreecommitdiff
path: root/packages/linux/unslung-kernel/limit1gb.patch
blob: 17f78ef7857aa357cc38d6178ff6c36faf77f321 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- linux-2.4.22/drivers/scsi/scsi_scan.c.orig	2004-09-23 22:26:35.000000000 +0930
+++ linux-2.4.22/drivers/scsi/scsi_scan.c	2004-09-23 22:42:09.000000000 +0930
@@ -694,7 +694,7 @@
 					       (buffer[2] << 8) |
 					       buffer[3]);
 		printk("The capacity is %d\n",capacity);
-		if(capacity<20000000){
+		if(capacity<2000000){
 			SDpnt->removable = 1;
 		}
 		kfree(buffer);