Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2012 21:03:16 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236529 - head/sys/dev/flash
Message-ID:  <201206032103.q53L3GwB084309@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sun Jun  3 21:03:16 2012
New Revision: 236529
URL: http://svn.freebsd.org/changeset/base/236529

Log:
  Disable verification of the flashed content for now; for reasons unknown
  it sometimes causes physwr to hang.

Modified:
  head/sys/dev/flash/at45d.c

Modified: head/sys/dev/flash/at45d.c
==============================================================================
--- head/sys/dev/flash/at45d.c	Sun Jun  3 20:35:41 2012	(r236528)
+++ head/sys/dev/flash/at45d.c	Sun Jun  3 21:03:16 2012	(r236529)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206032103.q53L3GwB084309>