summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/xbow/xbridge.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-07-28 18:51:00 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-07-28 18:51:00 +0000
commit7d6e48e94f10356f93835f165bb615f8c7b8931a (patch)
tree48e854c2782ff12ea73596707dd7bc3d9077ec53 /sys/arch/sgi/xbow/xbridge.c
parent5e4d571cbf995ac24e877c1fe86140b719d90a58 (diff)
Put XBOW in the generated constants, not PCI...
Diffstat (limited to 'sys/arch/sgi/xbow/xbridge.c')
-rw-r--r--sys/arch/sgi/xbow/xbridge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/xbow/xbridge.c b/sys/arch/sgi/xbow/xbridge.c
index fc3198986b1..e10a6f4f1fe 100644
--- a/sys/arch/sgi/xbow/xbridge.c
+++ b/sys/arch/sgi/xbow/xbridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xbridge.c,v 1.1 2008/04/07 22:47:40 miod Exp $ */
+/* $OpenBSD: xbridge.c,v 1.2 2008/07/28 18:50:59 miod Exp $ */
/*
* Copyright (c) 2008 Miodrag Vallat.
@@ -125,8 +125,8 @@ xbridge_match(struct device *parent, void *match, void *aux)
{
struct xbow_attach_args *xaa = aux;
- if (xaa->xaa_vendor == PCI_VENDOR_SGI4 &&
- xaa->xaa_product == PCI_PRODUCT_SGI4_BRIDGE)
+ if (xaa->xaa_vendor == XBOW_VENDOR_SGI4 &&
+ xaa->xaa_product == XBOW_PRODUCT_SGI4_BRIDGE)
return 1;
return 0;