Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fix debug build
details: https://anonhg.NetBSD.org/src/rev/cd5bec781682
branches: trunk
changeset: 781780:cd5bec781682
user: dsl <dsl%NetBSD.org@localhost>
date: Sun Sep 30 11:29:42 2012 +0000
description:
Fix debug build
diffstat:
sys/dev/pci/if_rtw_pci.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r cb74a9bbeec6 -r cd5bec781682 sys/dev/pci/if_rtw_pci.c
--- a/sys/dev/pci/if_rtw_pci.c Sun Sep 30 07:43:03 2012 +0000
+++ b/sys/dev/pci/if_rtw_pci.c Sun Sep 30 11:29:42 2012 +0000
@@ -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 @@
{ 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,
Home |
Main Index |
Thread Index |
Old Index