summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2005-09-26 19:54:51 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2005-09-26 19:54:51 +0000
commite2533f61cea5353b35646a2f91036144add8297e (patch)
tree7c48a34939db6e6eb4ae47af022ce6f4cb7b6831 /sys/arch/macppc
parentb73580470eb34e95c0e8e32cdb9f470070a2833b (diff)
Match Apple Shasta PCI ID as found on G5 systems.
ok drahn@
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/pci/macobio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/macppc/pci/macobio.c b/sys/arch/macppc/pci/macobio.c
index 27b8ea7c760..e477c557dc5 100644
--- a/sys/arch/macppc/pci/macobio.c
+++ b/sys/arch/macppc/pci/macobio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macobio.c,v 1.10 2005/06/08 19:08:23 drahn Exp $ */
+/* $OpenBSD: macobio.c,v 1.11 2005/09/26 19:54:50 kettenis Exp $ */
/* $NetBSD: obio.c,v 1.6 1999/05/01 10:36:08 tsubai Exp $ */
/*-
@@ -86,6 +86,7 @@ macobio_match(struct device *parent, void *cf, void *aux)
case PCI_PRODUCT_APPLE_KEYLARGO:
case PCI_PRODUCT_APPLE_INTREPID:
case PCI_PRODUCT_APPLE_PANGEA_MACIO:
+ case PCI_PRODUCT_APPLE_SHASTA:
return 1;
}
@@ -141,13 +142,13 @@ macobio_attach(struct device *parent, struct device *self, void *aux)
case PCI_PRODUCT_APPLE_KEYLARGO:
case PCI_PRODUCT_APPLE_INTREPID:
case PCI_PRODUCT_APPLE_PANGEA_MACIO:
+ case PCI_PRODUCT_APPLE_SHASTA:
node = OF_finddevice("mac-io");
if (node == -1)
node = OF_finddevice("/pci/mac-io");
if (OF_getprop(node, "assigned-addresses", reg, sizeof(reg))
== (sizeof (reg[0]) * 5))
sc->obiomem = mapiodev(reg[2], 0x100);
-
break;
default:
printf(": unknown macobio controller\n");