Deleted Added
full compact
firewirereg.h (170374) firewirereg.h (170400)
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:

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

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 *
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:

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

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/firewirereg.h 170374 2007-06-06 14:31:36Z simokawa $
34 * $FreeBSD: head/sys/dev/firewire/firewirereg.h 170400 2007-06-07 13:20:48Z simokawa $
35 *
36 */
37
38#ifdef __DragonFly__
39typedef d_thread_t fw_proc;
40#include <sys/select.h>
41#elif __FreeBSD_version >= 500000
42typedef struct thread fw_proc;

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

294void fw_drain_txq (struct firewire_comm *);
295int fwdev_makedev (struct firewire_softc *);
296int fwdev_destroydev (struct firewire_softc *);
297void fwdev_clone (void *, struct ucred *, char *, int, struct cdev **);
298int fw_open_isodma(struct firewire_comm *, int);
299
300extern int firewire_debug;
301extern devclass_t firewire_devclass;
35 *
36 */
37
38#ifdef __DragonFly__
39typedef d_thread_t fw_proc;
40#include <sys/select.h>
41#elif __FreeBSD_version >= 500000
42typedef struct thread fw_proc;

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

294void fw_drain_txq (struct firewire_comm *);
295int fwdev_makedev (struct firewire_softc *);
296int fwdev_destroydev (struct firewire_softc *);
297void fwdev_clone (void *, struct ucred *, char *, int, struct cdev **);
298int fw_open_isodma(struct firewire_comm *, int);
299
300extern int firewire_debug;
301extern devclass_t firewire_devclass;
302extern int firewire_phydma_enable;
302
303#ifdef __DragonFly__
304#define FWPRI PCATCH
305#else
306#define FWPRI ((PZERO+8)|PCATCH)
307#endif
308
309#if defined(__DragonFly__) || __FreeBSD_version < 500000

--- 26 unchanged lines hidden ---
303
304#ifdef __DragonFly__
305#define FWPRI PCATCH
306#else
307#define FWPRI ((PZERO+8)|PCATCH)
308#endif
309
310#if defined(__DragonFly__) || __FreeBSD_version < 500000

--- 26 unchanged lines hidden ---