Module Name: src
Committed By: martin
Date: Sun Mar 31 10:51:38 UTC 2013
Modified Files:
src/sys/dev/pci: if_athn_pci.c
Log Message:
Fix obvious copy&pasto
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/if_athn_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_athn_pci.c
diff -u src/sys/dev/pci/if_athn_pci.c:1.1 src/sys/dev/pci/if_athn_pci.c:1.2
--- src/sys/dev/pci/if_athn_pci.c:1.1 Sat Mar 30 02:53:02 2013
+++ src/sys/dev/pci/if_athn_pci.c Sun Mar 31 10:51:38 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: if_athn_pci.c,v 1.1 2013/03/30 02:53:02 christos Exp $ */
+/* $NetBSD: if_athn_pci.c,v 1.2 2013/03/31 10:51:38 martin Exp $ */
/* $OpenBSD: if_athn_pci.c,v 1.11 2011/01/08 10:02:32 damien Exp $ */
/*-
@@ -22,7 +22,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_athn_pci.c,v 1.1 2013/03/30 02:53:02 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_athn_pci.c,v 1.2 2013/03/31 10:51:38 martin Exp $");
#include "opt_inet.h"
@@ -113,7 +113,7 @@ athn_pci_match(device_t parent, cfdata_t
for (i = 0; i < __arraycount(athn_pci_devices); i++) {
if (PCI_VENDOR(pa->pa_id) == athn_pci_devices[i].apd_vendor &&
- PCI_VENDOR(pa->pa_id) == athn_pci_devices[i].apd_product)
+ PCI_PRODUCT(pa->pa_id) == athn_pci_devices[i].apd_product)
return 1;
}
return 0;