Deleted Added
full compact
firewire.c (109227) firewire.c (109280)
1/*
2 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
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

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

25 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 *
1/*
2 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
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

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

25 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 *
33 * $FreeBSD: head/sys/dev/firewire/firewire.c 109227 2003-01-14 08:35:45Z simokawa $
33 * $FreeBSD: head/sys/dev/firewire/firewire.c 109280 2003-01-15 04:21:16Z simokawa $
34 *
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/types.h>
40#include <sys/mbuf.h>
41#include <sys/socket.h>

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

1042static void
1043fw_phy_config(struct firewire_comm *fc, int root_node, int gap_count)
1044{
1045 struct fw_xfer *xfer;
1046 struct fw_pkt *fp;
1047
1048 fc->status = FWBUSPHYCONF;
1049
34 *
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/types.h>
40#include <sys/mbuf.h>
41#include <sys/socket.h>

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

1042static void
1043fw_phy_config(struct firewire_comm *fc, int root_node, int gap_count)
1044{
1045 struct fw_xfer *xfer;
1046 struct fw_pkt *fp;
1047
1048 fc->status = FWBUSPHYCONF;
1049
1050#if 0
1050 DELAY(100000);
1051 DELAY(100000);
1052#endif
1051 xfer = fw_xfer_alloc();
1052 xfer->send.len = 12;
1053 xfer->send.off = 0;
1054 xfer->fc = fc;
1055 xfer->retry_req = fw_asybusy;
1056 xfer->act.hand = fw_phy_config_callback;
1057
1058 xfer->send.buf = malloc(sizeof(u_int32_t),

--- 1124 unchanged lines hidden ---
1053 xfer = fw_xfer_alloc();
1054 xfer->send.len = 12;
1055 xfer->send.off = 0;
1056 xfer->fc = fc;
1057 xfer->retry_req = fw_asybusy;
1058 xfer->act.hand = fw_phy_config_callback;
1059
1060 xfer->send.buf = malloc(sizeof(u_int32_t),

--- 1124 unchanged lines hidden ---