[PATCH] New Lock and Unlock Code for Intel FLASH parts

David Woodhouse dwmw2 at infradead.org
Wed Feb 13 10:41:00 EST 2002


ch at murgatroid.com said:
>  I rewrote some of the locking and unlocking support for Intel parts
> in drivers/mtd/chips/cfi_cmdset_0001.c because it seemed completely
> broken for parts with variable block sizes, such as the Intel C3 flash
> I am using.

passion /home/dwmw2/working/mtd/drivers/mtd/chips $ patch -p4 --dry-run < ~/Mail/inbox/504  
patching file `cfi_cmdset_0001.c'
Hunk #2 succeeded at 65 (offset 2 lines).
Hunk #3 succeeded at 1079 with fuzz 1 (offset 25 lines).
Hunk #4 succeeded at 1331 (offset 22 lines).
Hunk #5 FAILED at 1407.
Hunk #6 succeeded at 1490 (offset 25 lines).
Hunk #7 FAILED at 1522.
Hunk #8 succeeded at 1608 (offset 26 lines).
Hunk #9 succeeded at 1628 (offset 29 lines).
Hunk #10 succeeded at 1640 (offset 26 lines).
2 out of 10 hunks FAILED -- saving rejects to cfi_cmdset_0001.c.rej


--
dwmw2






More information about the linux-mtd mailing list