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 obvious copy&pasto



details:   https://anonhg.NetBSD.org/src/rev/7c5189e485e8
branches:  trunk
changeset: 785823:7c5189e485e8
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Mar 31 10:51:38 2013 +0000

description:
Fix obvious copy&pasto

diffstat:

 sys/dev/pci/if_athn_pci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3ee8cb7623bd -r 7c5189e485e8 sys/dev/pci/if_athn_pci.c
--- a/sys/dev/pci/if_athn_pci.c Sun Mar 31 05:49:51 2013 +0000
+++ b/sys/dev/pci/if_athn_pci.c Sun Mar 31 10:51:38 2013 +0000
@@ -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 @@
 
        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;



Home | Main Index | Thread Index | Old Index