Module Name:    src
Committed By:   dsl
Date:           Sun Sep 30 11:29:42 UTC 2012

Modified Files:
        src/sys/dev/pci: if_rtw_pci.c

Log Message:
Fix debug build


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/if_rtw_pci.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/if_rtw_pci.c
diff -u src/sys/dev/pci/if_rtw_pci.c:1.21 src/sys/dev/pci/if_rtw_pci.c:1.22
--- src/sys/dev/pci/if_rtw_pci.c:1.21	Sun Sep 23 01:12:51 2012
+++ src/sys/dev/pci/if_rtw_pci.c	Sun Sep 30 11:29:42 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: if_rtw_pci.c,v 1.21 2012/09/23 01:12:51 chs Exp $ */
+/* $NetBSD: if_rtw_pci.c,v 1.22 2012/09/30 11:29:42 dsl Exp $ */
 
 /*-
  * Copyright (c) 2004, 2005, 2010 David Young.  All rights reserved.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rtw_pci.c,v 1.21 2012/09/23 01:12:51 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rtw_pci.c,v 1.22 2012/09/30 11:29:42 dsl Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -139,11 +139,13 @@ static const struct rtw_pci_product {
 	{ PCI_VENDOR_REALTEK,		PCI_PRODUCT_REALTEK_RT8180,
 	  "Realtek RTL8180 802.11 MAC/BBP" },
 #ifdef RTW_DEBUG
+#if 0   /* These came from openbsd, netbsd doesn't have the definitions. */
 	{ PCI_VENDOR_REALTEK,		PCI_PRODUCT_REALTEK_RT8185,
 	  "Realtek RTL8185 802.11 MAC/BBP" },
 	{ PCI_VENDOR_BELKIN2,		PCI_PRODUCT_BELKIN2_F5D7010,
 	  "Belkin F5D7010" },
 #endif
+#endif
 	{ PCI_VENDOR_BELKIN,		PCI_PRODUCT_BELKIN_F5D6001,
 	  "Belkin F5D6001" },
 	{ PCI_VENDOR_BELKIN,		PCI_PRODUCT_BELKIN_F5D6020V3,

Reply via email to