Deleted Added
full compact
ohci_pci.c (184610) ohci_pci.c (184824)
1/*-
2 * Copyright (c) 1998 The NetBSD Foundation, Inc.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to The NetBSD Foundation
6 * by Lennart Augustsson (augustss@carlstedt.se) at
7 * Carlstedt Research & Technology.
8 *

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

31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * POSSIBILITY OF SUCH DAMAGE.
36 */
37
38#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1998 The NetBSD Foundation, Inc.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to The NetBSD Foundation
6 * by Lennart Augustsson (augustss@carlstedt.se) at
7 * Carlstedt Research & Technology.
8 *

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

31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * POSSIBILITY OF SUCH DAMAGE.
36 */
37
38#include <sys/cdefs.h>
39__FBSDID("$FreeBSD: head/sys/dev/usb2/controller/ohci2_pci.c 184610 2008-11-04 02:31:03Z alfred $");
39__FBSDID("$FreeBSD: head/sys/dev/usb2/controller/ohci2_pci.c 184824 2008-11-10 20:54:31Z thompsa $");
40
41/*
42 * USB Open Host Controller driver.
43 *
44 * OHCI spec: http://www.intel.com/design/usb/ohci11d.pdf
45 */
46
47/* The low level controller code for OHCI has been split into

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

275 default:
276 if (bootverbose) {
277 device_printf(self, "(New OHCI DeviceId=0x%08x)\n",
278 pci_get_devid(self));
279 }
280 sprintf(sc->sc_vendor, "(0x%04x)", pci_get_vendor(self));
281 }
282
40
41/*
42 * USB Open Host Controller driver.
43 *
44 * OHCI spec: http://www.intel.com/design/usb/ohci11d.pdf
45 */
46
47/* The low level controller code for OHCI has been split into

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

275 default:
276 if (bootverbose) {
277 device_printf(self, "(New OHCI DeviceId=0x%08x)\n",
278 pci_get_devid(self));
279 }
280 sprintf(sc->sc_vendor, "(0x%04x)", pci_get_vendor(self));
281 }
282
283 err = usb2_config_td_setup(&sc->sc_config_td, sc, &sc->sc_bus.mtx,
283 err = usb2_config_td_setup(&sc->sc_config_td, sc, &sc->sc_bus.bus_mtx,
284 NULL, 0, 4);
285 if (err) {
286 device_printf(self, "could not setup config thread!\n");
287 goto error;
288 }
289 /* sc->sc_bus.usbrev; set by ohci_init() */
290
291#if (__FreeBSD_version >= 700031)

--- 101 unchanged lines hidden ---
284 NULL, 0, 4);
285 if (err) {
286 device_printf(self, "could not setup config thread!\n");
287 goto error;
288 }
289 /* sc->sc_bus.usbrev; set by ohci_init() */
290
291#if (__FreeBSD_version >= 700031)

--- 101 unchanged lines hidden ---