-/* $OpenBSD: ehci_cardbus.c,v 1.18 2014/05/16 18:17:03 mpi Exp $ */
+/* $OpenBSD: ehci_cardbus.c,v 1.19 2014/05/17 12:54:57 stsp Exp $ */
/* $NetBSD: ehci_cardbus.c,v 1.6.6.3 2004/09/21 13:27:25 skrll Exp $ */
/*
#include <dev/usb/ehcireg.h>
#include <dev/usb/ehcivar.h>
-#ifdef EHCI_DEBUG
-#define DPRINTF(x) if (ehcidebug) printf x
-extern int ehcidebug;
-#else
-#define DPRINTF(x)
-#endif
-
-
int ehci_cardbus_match(struct device *, void *, void *);
void ehci_cardbus_attach(struct device *, struct device *, void *);
int ehci_cardbus_detach(struct device *, int);
/* Disable interrupts, so we don't get any spurious ones. */
sc->sc.sc_offs = EREAD1(&sc->sc, EHCI_CAPLENGTH);
- DPRINTF((": offs=%d", devname, sc->sc.sc_offs));
EOWRITE2(&sc->sc, EHCI_USBINTR, 0);
sc->sc_ih = cardbus_intr_establish(cc, cf, ca->ca_intrline,