Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/pci Fix incorrect Acer Labs ID. PCI_PRODUCT_...



details:   https://anonhg.NetBSD.org/src/rev/26b1a397b5a9
branches:  trunk
changeset: 750741:26b1a397b5a9
user:      mhitch <mhitch%NetBSD.org@localhost>
date:      Tue Jan 12 20:24:45 2010 +0000

description:
Fix incorrect Acer Labs ID.  PCI_PRODUCT_ALI_M1543 had been incorrectly
identified as product code 0x1533, which is what is actually in the
CS20.  PCI_PRODUCT_ALI_M1543 was corrected recently and sio.c would fail
to match the bridge.

diffstat:

 sys/arch/alpha/pci/sio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4f0f055e6da8 -r 26b1a397b5a9 sys/arch/alpha/pci/sio.c
--- a/sys/arch/alpha/pci/sio.c  Tue Jan 12 19:40:50 2010 +0000
+++ b/sys/arch/alpha/pci/sio.c  Tue Jan 12 20:24:45 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sio.c,v 1.48 2009/08/19 15:00:24 dyoung Exp $ */
+/* $NetBSD: sio.c,v 1.49 2010/01/12 20:24:45 mhitch Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -63,7 +63,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: sio.c,v 1.48 2009/08/19 15:00:24 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sio.c,v 1.49 2010/01/12 20:24:45 mhitch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -155,7 +155,7 @@
                return (1);
 
        if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ALI &&
-           PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_ALI_M1543)
+           PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_ALI_M1533)
                return (1);
 
        return (0);



Home | Main Index | Thread Index | Old Index