Date: Wed, 16 Feb 2011 20:07:44 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/flash mx25l.c Message-ID: <201102162007.p1GK7s9P017009@repoman.freebsd.org>
index | next in thread | raw e-mail
adrian 2011-02-16 20:07:44 UTC
FreeBSD src repository
Modified files:
sys/dev/flash mx25l.c
Log:
SVN rev 218747 on 2011-02-16 20:07:44Z by adrian
Modify the spi flash driver to allow smaller read IO sizes, but enforce
the larger, aligned write+erase sizes the driver currently implements.
This preserves write behaviour but makes the flash driver usable for things
like a read-only FFS or a geom_uzip/geom_compress .
Note that since GEOM will now return the sector size as being smaller,
writes of sector size/alignment will now fail with an EIO. Code which
writes to the flash device will have to be (for now) manually taught
about the flash write blocksize.
Revision Changes Path
1.8 +18 -17 src/sys/dev/flash/mx25l.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102162007.p1GK7s9P017009>
