Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/macppc/dev Pull up revision 1.13 (requested by...



details:   https://anonhg.NetBSD.org/src/rev/b34d7915b64d
branches:  netbsd-1-5
changeset: 491936:b34d7915b64d
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Mon Jun 18 16:49:10 2001 +0000

description:
Pull up revision 1.13 (requested by tsubai):
Support the new dual USB iBook.

diffstat:

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

diffs (19 lines):

diff -r 8886a6921331 -r b34d7915b64d sys/arch/macppc/dev/if_gm.c
--- a/sys/arch/macppc/dev/if_gm.c       Mon Jun 18 16:49:03 2001 +0000
+++ b/sys/arch/macppc/dev/if_gm.c       Mon Jun 18 16:49:10 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gm.c,v 1.7 2000/06/16 14:18:56 tsubai Exp $ */
+/*     $NetBSD: if_gm.c,v 1.7.2.1 2001/06/18 16:49:10 jhawk Exp $      */
 
 /*-
  * Copyright (c) 2000 Tsubai Masanari.  All rights reserved.
@@ -132,7 +132,8 @@
        struct pci_attach_args *pa = aux;
 
        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_GMAC ||
+            PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_GMAC2))
                return 1;
 
        return 0;



Home | Main Index | Thread Index | Old Index