Deleted Added
full compact
isp_freebsd.h (168160) isp_freebsd.h (168240)
1/* $FreeBSD: head/sys/dev/isp/isp_freebsd.h 168160 2007-03-31 21:01:35Z mjacob $ */
1/* $FreeBSD: head/sys/dev/isp/isp_freebsd.h 168240 2007-04-02 01:04:20Z mjacob $ */
2/*-
3 * Qlogic ISP SCSI Host Adapter FreeBSD Wrapper Definitions
4 *
5 * Copyright (c) 1997-2006 by Matthew Jacob
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

93#ifdef ISP_SMPLOCK
94#define ISP_IFLAGS INTR_TYPE_CAM | INTR_ENTROPY | INTR_MPSAFE
95#else
96#define ISP_IFLAGS INTR_TYPE_CAM | INTR_ENTROPY
97#endif
98#endif
99
100#if __FreeBSD_version < 700000
2/*-
3 * Qlogic ISP SCSI Host Adapter FreeBSD Wrapper Definitions
4 *
5 * Copyright (c) 1997-2006 by Matthew Jacob
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

93#ifdef ISP_SMPLOCK
94#define ISP_IFLAGS INTR_TYPE_CAM | INTR_ENTROPY | INTR_MPSAFE
95#else
96#define ISP_IFLAGS INTR_TYPE_CAM | INTR_ENTROPY
97#endif
98#endif
99
100#if __FreeBSD_version < 700000
101typedef void ispfwfunc(int, int, int, const void **);
101typedef void ispfwfunc(int, int, int, void **);
102#endif
103
104#ifdef ISP_TARGET_MODE
105#define ISP_TARGET_FUNCTIONS 1
106#define ATPDPSIZE 256
107typedef struct {
108 uint32_t orig_datalen;
109 uint32_t bytes_xfered;

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

527 */
528
529/*
530 * ISP General Library functions
531 */
532
533#include <dev/isp/isp_library.h>
534
102#endif
103
104#ifdef ISP_TARGET_MODE
105#define ISP_TARGET_FUNCTIONS 1
106#define ATPDPSIZE 256
107typedef struct {
108 uint32_t orig_datalen;
109 uint32_t bytes_xfered;

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

527 */
528
529/*
530 * ISP General Library functions
531 */
532
533#include <dev/isp/isp_library.h>
534
535/*
536 * XXX: Temp
537 */
538#if ISP_DEFAULT_ROLES == ISP_ROLE_BOTH
539#error "Dual Role Temporarily Unsupported"
540#endif
535#endif /* _ISP_FREEBSD_H */
541#endif /* _ISP_FREEBSD_H */