the ds1672 can be detected -- fix the driver and remove unneeded hacks
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.24 / 950-mtd_cfi_intel_p33_compatbility.patch
1 --- linux-2.6.24.2/drivers/mtd/chips/cfi_cmdset_0001.c 2008-04-22 12:24:09.000000000 +0200
2 +++ linux-2.6.24.2-owrt/drivers/mtd/chips/cfi_cmdset_0001.c 2008-04-22 19:47:38.000000000 +0200
3 @@ -277,7 +277,7 @@
4 return NULL;
5
6 if (extp->MajorVersion != '1' ||
7 - (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
8 + (extp->MinorVersion < '0' || extp->MinorVersion > '5')) {
9 printk(KERN_ERR " Unknown Intel/Sharp Extended Query "
10 "version %c.%c.\n", extp->MajorVersion,
11 extp->MinorVersion);