1/* $FreeBSD: head/sys/dev/usb/controller/ohci.h 228483 2011-12-14 00:28:54Z hselasky $ */ |
2/*- 3 * Copyright (c) 1998 The NetBSD Foundation, Inc. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to The NetBSD Foundation 7 * by Lennart Augustsson (lennart@augustsson.net) at 8 * Carlstedt Research & Technology. 9 * --- 226 unchanged lines hidden (view full) --- 236 struct ohci_ed *sc_intr_p_last[OHCI_NO_EDS]; 237 void *sc_intr_hdl; 238 device_t sc_dev; 239 bus_size_t sc_io_size; 240 bus_space_tag_t sc_io_tag; 241 bus_space_handle_t sc_io_hdl; 242 243 uint32_t sc_eintrs; /* enabled interrupts */ |
244 245 uint16_t sc_intr_stat[OHCI_NO_EDS]; 246 uint16_t sc_id_vendor; 247 248 uint8_t sc_noport; 249 uint8_t sc_addr; /* device address */ 250 uint8_t sc_conf; /* device configuration */ 251 uint8_t sc_hub_idata[32]; 252 253 char sc_vendor[16]; 254 255} ohci_softc_t; 256 257usb_bus_mem_cb_t ohci_iterate_hw_softc; 258 259usb_error_t ohci_init(ohci_softc_t *sc); 260void ohci_detach(struct ohci_softc *sc); |
261void ohci_interrupt(ohci_softc_t *sc); 262 263#endif /* _OHCI_H_ */ |