update to 2.6.30.2
[openwrt-10.03/.git] / target / linux / etrax / patches-2.6.25 / 200-samsung_flash.patch
1 --- a/drivers/mtd/chips/cfi_cmdset_0002.c
2 +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
3 @@ -297,8 +297,8 @@ struct mtd_info *cfi_cmdset_0002(struct 
4                         return NULL;
5                 }
6  
7 -               if (extp->MajorVersion != '1' ||
8 -                   (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
9 +               if (extp->MajorVersion < '0' || extp->MajorVersion > '3' ||
10 +                       (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
11                         if (cfi->mfr == MANUFACTURER_SAMSUNG &&
12                             (extp->MajorVersion == '3' && extp->MinorVersion == '3')) {
13                             printk(KERN_NOTICE "  Newer Samsung flash detected, "