summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2012-06-03 21:03:16 +0000
committermarius <marius@FreeBSD.org>2012-06-03 21:03:16 +0000
commitf32938acd98289bf2026819c4ce62e42fb71c699 (patch)
tree091b24261cef857f966adc5e228bf3a574dcaac2
parenta0a31e8b37066f40c455b46339ef12ec8a9ad5e0 (diff)
downloadFreeBSD-src-f32938acd98289bf2026819c4ce62e42fb71c699.zip
FreeBSD-src-f32938acd98289bf2026819c4ce62e42fb71c699.tar.gz
Disable verification of the flashed content for now; for reasons unknown
it sometimes causes physwr to hang.
-rw-r--r--sys/dev/flash/at45d.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/flash/at45d.c b/sys/dev/flash/at45d.c
index 7d1172f..28b829a 100644
--- a/sys/dev/flash/at45d.c
+++ b/sys/dev/flash/at45d.c
@@ -390,6 +390,7 @@ 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;
@@ -408,6 +409,7 @@ at45d_task(void *arg)
goto out;
}
}
+#endif
page++;
buf += len;
offset = 0;
OpenPOWER on IntegriCloud