Deleted Added
full compact
ar71xx_ehci.c (249125) ar71xx_ehci.c (257338)
1/*-
2 * Copyright (c) 2008 Sam Leffler. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */
24
25/*
26 * AR71XX attachment driver for the USB Enhanced Host Controller.
27 */
28
29#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2008 Sam Leffler. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */
24
25/*
26 * AR71XX attachment driver for the USB Enhanced Host Controller.
27 */
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: head/sys/mips/atheros/ar71xx_ehci.c 249125 2013-04-05 02:01:05Z adrian $");
30__FBSDID("$FreeBSD: head/sys/mips/atheros/ar71xx_ehci.c 257338 2013-10-29 14:07:31Z nwhitehorn $");
31
32#include "opt_bus.h"
33
34#include <sys/param.h>
35#include <sys/systm.h>
36#include <sys/bus.h>
37#include <sys/rman.h>
38#include <sys/condvar.h>

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

70bs_w_1_proto(reversed);
71
72static int
73ar71xx_ehci_probe(device_t self)
74{
75
76 device_set_desc(self, EHCI_HC_DEVSTR);
77
31
32#include "opt_bus.h"
33
34#include <sys/param.h>
35#include <sys/systm.h>
36#include <sys/bus.h>
37#include <sys/rman.h>
38#include <sys/condvar.h>

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

70bs_w_1_proto(reversed);
71
72static int
73ar71xx_ehci_probe(device_t self)
74{
75
76 device_set_desc(self, EHCI_HC_DEVSTR);
77
78 return (BUS_PROBE_DEFAULT);
78 return (BUS_PROBE_NOWILDCARD);
79}
80
81static int
82ar71xx_ehci_attach(device_t self)
83{
84 struct ar71xx_ehci_softc *isc = device_get_softc(self);
85 ehci_softc_t *sc = &isc->base;
86 int err;

--- 173 unchanged lines hidden ---
79}
80
81static int
82ar71xx_ehci_attach(device_t self)
83{
84 struct ar71xx_ehci_softc *isc = device_get_softc(self);
85 ehci_softc_t *sc = &isc->base;
86 int err;

--- 173 unchanged lines hidden ---