Module Name: src Committed By: dyoung Date: Mon Mar 22 22:36:07 UTC 2010
Modified Files: src/sys/dev/pci: cy82c693.c Log Message: #if 0 some diagnostic code that compares two bus_space_tag_t's. MI code should not compare an opaque type such as bus_space_tag_t! To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/cy82c693.c 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/pci/cy82c693.c diff -u src/sys/dev/pci/cy82c693.c:1.6 src/sys/dev/pci/cy82c693.c:1.7 --- src/sys/dev/pci/cy82c693.c:1.6 Mon Apr 28 20:23:54 2008 +++ src/sys/dev/pci/cy82c693.c Mon Mar 22 22:36:07 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: cy82c693.c,v 1.6 2008/04/28 20:23:54 martin Exp $ */ +/* $NetBSD: cy82c693.c,v 1.7 2010/03/22 22:36:07 dyoung Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: cy82c693.c,v 1.6 2008/04/28 20:23:54 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cy82c693.c,v 1.7 2010/03/22 22:36:07 dyoung Exp $"); #include "opt_multiprocessor.h" #include "opt_lockdebug.h" @@ -79,8 +79,10 @@ if (cyhc_initialized) { CYHC_UNLOCK(s); +#if 0 /* XXX Comparing bus_space_tag_t is a no-no! */ if (iot != cyhc_handle.cyhc_iot) panic("cy82c693_init"); +#endif return (&cyhc_handle); }