Module Name:    src
Committed By:   cliff
Date:           Tue Aug  2 01:01:35 UTC 2011

Modified Files:
        src/sys/dev/nor [matt-nb5-pq3]: cfi.h

Log Message:
- CFI_0002_STATS no longer defined here
- add missing arg for do-nothing variant of CFI_0002_STATS_INIT()


To generate a diff of this commit:
cvs rdiff -u -r1.4.2.2 -r1.4.2.3 src/sys/dev/nor/cfi.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/nor/cfi.h
diff -u src/sys/dev/nor/cfi.h:1.4.2.2 src/sys/dev/nor/cfi.h:1.4.2.3
--- src/sys/dev/nor/cfi.h:1.4.2.2	Tue Jul 26 03:22:28 2011
+++ src/sys/dev/nor/cfi.h	Tue Aug  2 01:01:35 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: cfi.h,v 1.4.2.2 2011/07/26 03:22:28 matt Exp $	*/
+/*	$NetBSD: cfi.h,v 1.4.2.3 2011/08/02 01:01:35 cliff Exp $	*/
 
 #ifndef _CFI_H_
 #define _CFI_H_
@@ -147,7 +147,6 @@
  * not for long-term use. Some event counters at the flash and nor
  * layers might be helpful eventually
  */
-#define CFI_0002_STATS	/* XXX TMP */
 #ifdef CFI_0002_STATS
 struct cfi_0002_stats {
 	u_long read_page;
@@ -177,7 +176,7 @@
 
 #else
 
-#define CFI_0002_STATS_INIT(cfi)
+#define CFI_0002_STATS_INIT(dev, cfi)
 #define CFI_0002_STATS_INC(cfi, field)
 
 #endif	/* CFI_0002_STATS */

Reply via email to