diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-05-22 15:52:49 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-05-22 15:52:49 +0000 |
commit | a57a45c5523a8a76125df5559386e2492f279bae (patch) | |
tree | 2010695599d7360506e760e97f2930893175f246 /sys/dev/usb/ohcivar.h | |
parent | 58e006e83a951028c01a318d50a1b5f1917de3e8 (diff) |
Expunge all #if defined(__NetBSD__) and #if defined(__FreeBSD__) crud.
Misused in many cases anyway.
ok dlg@
Diffstat (limited to 'sys/dev/usb/ohcivar.h')
-rw-r--r-- | sys/dev/usb/ohcivar.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h index 419b364a895..8750962a44e 100644 --- a/sys/dev/usb/ohcivar.h +++ b/sys/dev/usb/ohcivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ohcivar.h,v 1.20 2005/03/30 14:12:35 dlg Exp $ */ +/* $OpenBSD: ohcivar.h,v 1.21 2006/05/22 15:52:48 krw Exp $ */ /* $NetBSD: ohcivar.h,v 1.32 2003/02/22 05:24:17 tsutsui Exp $ */ /* $FreeBSD: src/sys/dev/usb/ohcivar.h,v 1.13 1999/11/17 22:33:41 n_hibma Exp $ */ @@ -125,10 +125,9 @@ typedef struct ohci_softc { char sc_vendor[16]; int sc_id_vendor; -#if defined(__NetBSD__) || defined(__OpenBSD__) void *sc_powerhook; /* cookie from power hook */ void *sc_shutdownhook; /* cookie from shutdown hook */ -#endif + u_int32_t sc_control; /* Preserved during suspend/standby */ u_int32_t sc_intre; u_int32_t sc_ival; @@ -150,8 +149,6 @@ struct ohci_xfer { usbd_status ohci_init(ohci_softc_t *); int ohci_intr(void *); -#if defined(__NetBSD__) || defined(__OpenBSD__) int ohci_detach(ohci_softc_t *, int); int ohci_activate(device_ptr_t, enum devact); void ohci_power(int, void *); -#endif |