mtd/drivers/mtd/chips cfi_cmdset_0002.c,1.76,1.77

David Woodhouse dwmw2 at infradead.org
Wed Sep 17 18:45:49 EDT 2003


On Wed, 2003-09-17 at 23:18 +0100, Thayne Harbaugh wrote:

> +	cli();
>  	if (fast) { /* Unlock bypass */
>  		cfi_send_gen_cmd(0xA0, 0, chip->start, map, cfi, cfi->device_type, NULL);
>  	}
> @@ -597,6 +614,7 @@
>  	        cfi_send_gen_cmd(0xA0, cfi->addr_unlock1, chip->start, map, cfi, CFI_DEVICETYPE_X8, NULL);
>  	}
>  	cfi_write(map, datum, adr);
> +	sti();

You just broke the 2.6 build.

-- 
dwmw2





More information about the linux-mtd mailing list