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 latest version of the GMAC.



details:   https://anonhg.NetBSD.org/src/rev/c2891f2b8e29
branches:  trunk
changeset: 550889:c2891f2b8e29
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Aug 24 18:02:00 2003 +0000

description:
recognize the latest version of the GMAC.

diffstat:

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

diffs (28 lines):

diff -r 90561ba6fcf4 -r c2891f2b8e29 sys/arch/macppc/dev/if_gm.c
--- a/sys/arch/macppc/dev/if_gm.c       Sun Aug 24 17:52:28 2003 +0000
+++ b/sys/arch/macppc/dev/if_gm.c       Sun Aug 24 18:02:00 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gm.c,v 1.21 2003/07/15 02:43:29 lukem Exp $ */
+/*     $NetBSD: if_gm.c,v 1.22 2003/08/24 18:02:00 chs Exp $   */
 
 /*-
  * Copyright (c) 2000 Tsubai Masanari.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gm.c,v 1.21 2003/07/15 02:43:29 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gm.c,v 1.22 2003/08/24 18:02:00 chs Exp $");
 
 #include "opt_inet.h"
 #include "opt_ns.h"
@@ -144,7 +144,8 @@
 
        if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_APPLE &&
            (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_GMAC ||
-            PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_GMAC2))
+            PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_GMAC2 ||
+            PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_GMAC3))
                return 1;
 
        return 0;



Home | Main Index | Thread Index | Old Index