diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-04-10 07:17:58 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-04-10 07:17:58 +0000 |
commit | f231d79833e7546c082f9cca2b70bc1e5eaa7f9f (patch) | |
tree | 8e2d12da16079db22d324166fd4a78b771cb592b /sys/dev/pci/if_gem_pci.c | |
parent | f01fff235c120e12c99645c22dd73377309a1421 (diff) |
recognize the Intrepid 2 GMAC
Diffstat (limited to 'sys/dev/pci/if_gem_pci.c')
-rw-r--r-- | sys/dev/pci/if_gem_pci.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/if_gem_pci.c b/sys/dev/pci/if_gem_pci.c index a480caba4b5..b5ec4262f20 100644 --- a/sys/dev/pci/if_gem_pci.c +++ b/sys/dev/pci/if_gem_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gem_pci.c,v 1.21 2005/11/02 02:07:11 brad Exp $ */ +/* $OpenBSD: if_gem_pci.c,v 1.22 2006/04/10 07:17:57 brad Exp $ */ /* $NetBSD: if_gem_pci.c,v 1.1 2001/09/16 00:11:42 eeh Exp $ */ /* @@ -96,6 +96,7 @@ struct cfattach gem_pci_ca = { const struct pci_matchid gem_pci_devices[] = { { PCI_VENDOR_SUN, PCI_PRODUCT_SUN_ERINETWORK }, { PCI_VENDOR_SUN, PCI_PRODUCT_SUN_GEMNETWORK }, + { PCI_VENDOR_APPLE, PCI_PRODUCT_APPLE_INTREPID2_GMAC }, { PCI_VENDOR_APPLE, PCI_PRODUCT_APPLE_K2_GMAC }, { PCI_VENDOR_APPLE, PCI_PRODUCT_APPLE_PANGEA_GMAC }, { PCI_VENDOR_APPLE, PCI_PRODUCT_APPLE_SHASTA_GMAC }, @@ -146,6 +147,8 @@ gem_attach_pci(parent, self, aux) sc->sc_variant = GEM_SUN_GEM; else if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_SUN_ERINETWORK) sc->sc_variant = GEM_SUN_ERI; + else if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_INTREPID2_GMAC) + sc->sc_variant = GEM_APPLE_INTREPID2_GMAC; else if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_K2_GMAC) sc->sc_variant = GEM_APPLE_K2_GMAC; else if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_PANGEA_GMAC) |