Deleted Added
full compact
firewire.c (256281) firewire.c (264816)
1/*-
2 * Copyright (c) 2004 Hidetoshi Shimokawa <simokawa@FreeBSD.ORG>
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) 2004 Hidetoshi Shimokawa <simokawa@FreeBSD.ORG>
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: stable/10/sys/boot/i386/libfirewire/firewire.c 170101 2007-05-29 14:35:57Z simokawa $");
28__FBSDID("$FreeBSD: stable/10/sys/boot/i386/libfirewire/firewire.c 264816 2014-04-23 12:08:20Z brueffer $");
29
30/*
31 * FireWire disk device handling.
32 *
33 */
34
35#include <stand.h>
36

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

132
133 avail = 0;
134 for (i = 0; i < MAX_OHCI; i ++) {
135 sc = &fwinfo[i];
136 fw_probe(i, sc);
137 if (sc->state == FWOHCI_STATE_DEAD)
138 break;
139 avail ++;
29
30/*
31 * FireWire disk device handling.
32 *
33 */
34
35#include <stand.h>
36

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

132
133 avail = 0;
134 for (i = 0; i < MAX_OHCI; i ++) {
135 sc = &fwinfo[i];
136 fw_probe(i, sc);
137 if (sc->state == FWOHCI_STATE_DEAD)
138 break;
139 avail ++;
140 break;
140 break;
141 }
142 fw_initialized = 1;
143
144 return (0);
145}
146
147
148/*

--- 322 unchanged lines hidden ---
141 }
142 fw_initialized = 1;
143
144 return (0);
145}
146
147
148/*

--- 322 unchanged lines hidden ---