]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/unslung-kernel/limit1gb.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / unslung-kernel / limit1gb.patch
1 --- linux-2.4.22/drivers/scsi/scsi_scan.c.orig  2004-09-23 22:26:35.000000000 +0930
2 +++ linux-2.4.22/drivers/scsi/scsi_scan.c       2004-09-23 22:42:09.000000000 +0930
3 @@ -694,7 +694,7 @@
4                                                (buffer[2] << 8) |
5                                                buffer[3]);
6                 printk("The capacity is %d\n",capacity);
7 -               if(capacity<20000000){
8 +               if(capacity<2000000){
9                         SDpnt->removable = 1;
10                 }
11                 kfree(buffer);