Current mtd tree is broken

Josh Boyer jwboyer at gmail.com
Wed Jun 21 18:35:43 EDT 2006


As panto pointed out on IRC today, the current MTD git tree is
completely broken for quite a few chip types.  Anything older than
Intel Sibley or P30 is broken since writesize is not set to something
other than 0 in the other cases.  This causes a BUG to trigger in
add_mtd_device because someone decided writesize == 0 was not a sane
thing.

I'm sure there are other things in drivers/mtd/chips/ or
drivers/mtd/devices/ that are broken as well.  Two things can happen:

1) Remove the BUG call and allow writesize == 0 to be valid.  This is
what was originally done and I didn't see a problem with that.

2) Fix the remaining drivers to set writesize to something other than 0.

josh




More information about the linux-mtd mailing list