Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/dev recognize the product ID used on the lat...



details:   https://anonhg.NetBSD.org/src/rev/7ceec9c5013d
branches:  trunk
changeset: 550685:7ceec9c5013d
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Aug 17 18:10:09 2003 +0000

description:
recognize the product ID used on the latest G4s.

diffstat:

 sys/arch/macppc/dev/kauai.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r a6b0b6cc91a2 -r 7ceec9c5013d sys/arch/macppc/dev/kauai.c
--- a/sys/arch/macppc/dev/kauai.c       Sun Aug 17 18:08:17 2003 +0000
+++ b/sys/arch/macppc/dev/kauai.c       Sun Aug 17 18:10:09 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kauai.c,v 1.2 2003/07/15 02:43:29 lukem Exp $  */
+/*     $NetBSD: kauai.c,v 1.3 2003/08/17 18:10:09 chs Exp $    */
 
 /*-
  * Copyright (c) 2003 Tsubai Masanari.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kauai.c,v 1.2 2003/07/15 02:43:29 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kauai.c,v 1.3 2003/08/17 18:10:09 chs Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -91,7 +91,8 @@
        struct pci_attach_args *pa = aux;
 
        if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_APPLE &&
-           PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_KAUAI)
+           (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_KAUAI ||
+            PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_UNINORTH_ATA))
                return 5;
 
        return 0;



Home | Main Index | Thread Index | Old Index