Deleted Added
full compact
if_ep_mca.c (166906) if_ep_mca.c (246128)
1/*-
2 * Copyright (c) 1999 Matthew N. Dodd <winter@jurai.net>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1999 Matthew N. Dodd <winter@jurai.net>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_mca.c 166906 2007-02-23 15:55:37Z piso $");
28__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_mca.c 246128 2013-01-30 18:01:20Z sbz $");
29
30#include <sys/param.h>
31#include <sys/kernel.h>
32#include <sys/socket.h>
33#include <sys/module.h>
34#include <sys/bus.h>
35
36#include <machine/bus.h>

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

140}
141
142static device_method_t ep_mca_methods[] = {
143 /* Device interface */
144 DEVMETHOD(device_probe, ep_mca_probe),
145 DEVMETHOD(device_attach, ep_mca_attach),
146 DEVMETHOD(device_detach, ep_detach),
147
29
30#include <sys/param.h>
31#include <sys/kernel.h>
32#include <sys/socket.h>
33#include <sys/module.h>
34#include <sys/bus.h>
35
36#include <machine/bus.h>

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

140}
141
142static device_method_t ep_mca_methods[] = {
143 /* Device interface */
144 DEVMETHOD(device_probe, ep_mca_probe),
145 DEVMETHOD(device_attach, ep_mca_attach),
146 DEVMETHOD(device_detach, ep_detach),
147
148 {0, 0}
148 DEVMETHOD_END
149};
150
151static driver_t ep_mca_driver = {
152 "ep",
153 ep_mca_methods,
154 sizeof(struct ep_softc),
155};
156
157static devclass_t ep_devclass;
158
159DRIVER_MODULE(ep, mca, ep_mca_driver, ep_devclass, 0, 0);
149};
150
151static driver_t ep_mca_driver = {
152 "ep",
153 ep_mca_methods,
154 sizeof(struct ep_softc),
155};
156
157static devclass_t ep_devclass;
158
159DRIVER_MODULE(ep, mca, ep_mca_driver, ep_devclass, 0, 0);