summaryrefslogtreecommitdiff
path: root/sys/arch/arm
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2005-01-04 03:48:03 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2005-01-04 03:48:03 +0000
commit04b1fe4098a9ecd8b92d5631d1b3833dfc9dc433 (patch)
tree29f5452d82331c958bb305b7dc556d4619524e7b /sys/arch/arm
parentb7c4ab56b142f8acefe117dd0dbba4ec7bf335f8 (diff)
dont be lazy, use the proper define.
Diffstat (limited to 'sys/arch/arm')
-rw-r--r--sys/arch/arm/xscale/pxa2x0_ohci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0_ohci.c b/sys/arch/arm/xscale/pxa2x0_ohci.c
index ab6b115d111..ec4a5e81bfd 100644
--- a/sys/arch/arm/xscale/pxa2x0_ohci.c
+++ b/sys/arch/arm/xscale/pxa2x0_ohci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa2x0_ohci.c,v 1.1 2005/01/04 03:47:00 drahn Exp $ */
+/* $OpenBSD: pxa2x0_ohci.c,v 1.2 2005/01/04 03:48:02 drahn Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -101,8 +101,8 @@ pxaohci_attach(struct device *parent, struct device *self, void *aux)
/* XXX splusb? */
sc->sc_ih = pxa2x0_intr_establish(sc->sc_intr, IPL_USB, ohci_intr, sc,
sc->sc.sc_bus.bdev.dv_xname);
- sc->sc_ih1 = pxa2x0_intr_establish(2, IPL_USB, ohci_intr, sc,
- sc->sc.sc_bus.bdev.dv_xname);
+ sc->sc_ih1 = pxa2x0_intr_establish(PXA2X0_INT_USBH2, IPL_USB,
+ ohci_intr, sc, sc->sc.sc_bus.bdev.dv_xname);
strlcpy(sc->sc.sc_vendor, "Vendor String", sizeof(sc->sc.sc_vendor));