summaryrefslogtreecommitdiffstats
path: root/usr.sbin/uathload
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-02-16 20:07:44 +0000
committeradrian <adrian@FreeBSD.org>2011-02-16 20:07:44 +0000
commit65fe494e0a236230fb5cc87a79cc5e45d29f3032 (patch)
tree8ed2e6906eda02274b508e7022553fbc0a4d8a3b /usr.sbin/uathload
parenteb475f223ea8c3cac8f80e8d8ea6a8594d191738 (diff)
downloadFreeBSD-src-65fe494e0a236230fb5cc87a79cc5e45d29f3032.zip
FreeBSD-src-65fe494e0a236230fb5cc87a79cc5e45d29f3032.tar.gz
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.
Diffstat (limited to 'usr.sbin/uathload')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud