Deleted Added
full compact
if_ipheth.c (241793) if_ipheth.c (246128)
1/*-
2 * Copyright (c) 2010 Hans Petter Selasky. All rights reserved.
3 * Copyright (c) 2009 Diego Giagio. 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

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

25 */
26
27/*
28 * Thanks to Diego Giagio for figuring out the programming details for
29 * the Apple iPhone Ethernet driver.
30 */
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2010 Hans Petter Selasky. All rights reserved.
3 * Copyright (c) 2009 Diego Giagio. 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

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

25 */
26
27/*
28 * Thanks to Diego Giagio for figuring out the programming details for
29 * the Apple iPhone Ethernet driver.
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/dev/usb/net/if_ipheth.c 241793 2012-10-21 03:30:36Z eadler $");
33__FBSDID("$FreeBSD: head/sys/dev/usb/net/if_ipheth.c 246128 2013-01-30 18:01:20Z sbz $");
34
35#include <sys/stdint.h>
36#include <sys/stddef.h>
37#include <sys/param.h>
38#include <sys/queue.h>
39#include <sys/types.h>
40#include <sys/systm.h>
41#include <sys/kernel.h>

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

111};
112
113static device_method_t ipheth_methods[] = {
114 /* Device interface */
115 DEVMETHOD(device_probe, ipheth_probe),
116 DEVMETHOD(device_attach, ipheth_attach),
117 DEVMETHOD(device_detach, ipheth_detach),
118
34
35#include <sys/stdint.h>
36#include <sys/stddef.h>
37#include <sys/param.h>
38#include <sys/queue.h>
39#include <sys/types.h>
40#include <sys/systm.h>
41#include <sys/kernel.h>

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

111};
112
113static device_method_t ipheth_methods[] = {
114 /* Device interface */
115 DEVMETHOD(device_probe, ipheth_probe),
116 DEVMETHOD(device_attach, ipheth_attach),
117 DEVMETHOD(device_detach, ipheth_detach),
118
119 {0, 0}
119 DEVMETHOD_END
120};
121
122static driver_t ipheth_driver = {
123 .name = "ipheth",
124 .methods = ipheth_methods,
125 .size = sizeof(struct ipheth_softc),
126};
127

--- 403 unchanged lines hidden ---
120};
121
122static driver_t ipheth_driver = {
123 .name = "ipheth",
124 .methods = ipheth_methods,
125 .size = sizeof(struct ipheth_softc),
126};
127

--- 403 unchanged lines hidden ---