summaryrefslogtreecommitdiffstats
path: root/sys/dev/flash/at45d.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2012-06-18 20:19:07 +0000
committermarius <marius@FreeBSD.org>2012-06-18 20:19:07 +0000
commit545343a302c3d00edd5511356e6641d6597f4720 (patch)
tree4f9361822aafb91c8066c419abee40faad961c4d /sys/dev/flash/at45d.c
parent8b8a1c1ea59a4c4ad4738aa57f7799e579bbf38f (diff)
downloadFreeBSD-src-545343a302c3d00edd5511356e6641d6597f4720.zip
FreeBSD-src-545343a302c3d00edd5511356e6641d6597f4720.tar.gz
Revert r236529, re-enabling verification of the flashed content as
the underlying problem was dealt with in r237239 (in fact, disabling verification also actually only made the problem less likely to occur).
Diffstat (limited to 'sys/dev/flash/at45d.c')
-rw-r--r--sys/dev/flash/at45d.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/flash/at45d.c b/sys/dev/flash/at45d.c
index 28b829a..7d1172f 100644
--- a/sys/dev/flash/at45d.c
+++ b/sys/dev/flash/at45d.c
@@ -390,7 +390,6 @@ at45d_task(void *arg)
berr = EIO;
goto out;
}
-#ifdef notyet /* May cause physwr to hang for reasons unknown. */
if (bp->bio_cmd == BIO_WRITE) {
addr = page << sc->pageoffset;
txBuf[0] = BUFFER_COMPARE;
@@ -409,7 +408,6 @@ at45d_task(void *arg)
goto out;
}
}
-#endif
page++;
buf += len;
offset = 0;
OpenPOWER on IntegriCloud