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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to