ehci_cardbus.c (a647755c) ehci_cardbus.c (9ad4efa2)
1/* $OpenBSD: ehci_cardbus.c,v 1.1 2004/12/07 05:42:41 dlg Exp $ */
1/* $OpenBSD: ehci_cardbus.c,v 1.2 2004/12/29 01:52:26 dlg Exp $ */
2/* $NetBSD: ehci_cardbus.c,v 1.6.6.3 2004/09/21 13:27:25 skrll Exp $ */
3
4/*
5 * Copyright (c) 1998 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Lennart Augustsson (lennart@augustsson.net) at

--- 213 unchanged lines hidden (view full) ---

223
224 /* Avoid spurious interrupts. */
225 cardbus_intr_disestablish(sc->sc_cc, sc->sc_cf, sc->sc_ih);
226 sc->sc_ih = NULL;
227
228 return;
229 }
230
2/* $NetBSD: ehci_cardbus.c,v 1.6.6.3 2004/09/21 13:27:25 skrll Exp $ */
3
4/*
5 * Copyright (c) 1998 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation
9 * by Lennart Augustsson (lennart@augustsson.net) at

--- 213 unchanged lines hidden (view full) ---

223
224 /* Avoid spurious interrupts. */
225 cardbus_intr_disestablish(sc->sc_cc, sc->sc_cf, sc->sc_ih);
226 sc->sc_ih = NULL;
227
228 return;
229 }
230
231 sc->sc.sc_shutdownhook = shutdownhook_establish(ehci_shutdown, &sc->sc);
232
231 /* Attach usb device. */
232 sc->sc.sc_child = config_found((void *)sc, &sc->sc.sc_bus,
233 usbctlprint);
234}
235
236int
237#ifdef __NetBSD__
238ehci_cardbus_detach(device_ptr_t self, int flags)

--- 38 unchanged lines hidden ---
233 /* Attach usb device. */
234 sc->sc.sc_child = config_found((void *)sc, &sc->sc.sc_bus,
235 usbctlprint);
236}
237
238int
239#ifdef __NetBSD__
240ehci_cardbus_detach(device_ptr_t self, int flags)

--- 38 unchanged lines hidden ---