Deleted Added
full compact
firewire.c (212413) firewire.c (227843)
1/*-
2 * Copyright (c) 2003 Hidetoshi Shimokawa
3 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

25 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
26 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
30 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 * POSSIBILITY OF SUCH DAMAGE.
1/*-
2 * Copyright (c) 2003 Hidetoshi Shimokawa
3 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

25 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
26 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
30 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 * POSSIBILITY OF SUCH DAMAGE.
33 *
34 * $FreeBSD: head/sys/dev/firewire/firewire.c 212413 2010-09-10 11:19:03Z avg $
35 *
36 */
37
33 */
34
35#include <sys/cdefs.h>
36__FBSDID("$FreeBSD: head/sys/dev/firewire/firewire.c 227843 2011-11-22 21:28:20Z marius $");
37
38#include <sys/param.h>
39#include <sys/systm.h>
40#include <sys/types.h>
41
42#include <sys/jail.h>
43#include <sys/kernel.h>
44#include <sys/module.h>
45#include <sys/malloc.h>

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

123 DEVMETHOD(device_attach, firewire_attach),
124 DEVMETHOD(device_detach, firewire_detach),
125 DEVMETHOD(device_suspend, bus_generic_suspend),
126 DEVMETHOD(device_resume, firewire_resume),
127 DEVMETHOD(device_shutdown, bus_generic_shutdown),
128
129 /* Bus interface */
130 DEVMETHOD(bus_add_child, firewire_add_child),
38#include <sys/param.h>
39#include <sys/systm.h>
40#include <sys/types.h>
41
42#include <sys/jail.h>
43#include <sys/kernel.h>
44#include <sys/module.h>
45#include <sys/malloc.h>

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

123 DEVMETHOD(device_attach, firewire_attach),
124 DEVMETHOD(device_detach, firewire_detach),
125 DEVMETHOD(device_suspend, bus_generic_suspend),
126 DEVMETHOD(device_resume, firewire_resume),
127 DEVMETHOD(device_shutdown, bus_generic_shutdown),
128
129 /* Bus interface */
130 DEVMETHOD(bus_add_child, firewire_add_child),
131 DEVMETHOD(bus_print_child, bus_generic_print_child),
132
131
133 { 0, 0 }
132 DEVMETHOD_END
134};
135char *linkspeed[] = {
136 "S100", "S200", "S400", "S800",
137 "S1600", "S3200", "undef", "undef"
138};
139
140static char *tcode_str[] = {
141 "WREQQ", "WREQB", "WRES", "undef",

--- 2293 unchanged lines hidden ---
133};
134char *linkspeed[] = {
135 "S100", "S200", "S400", "S800",
136 "S1600", "S3200", "undef", "undef"
137};
138
139static char *tcode_str[] = {
140 "WREQQ", "WREQB", "WRES", "undef",

--- 2293 unchanged lines hidden ---