Deleted Added
full compact
ispvar.h (143249) ispvar.h (146073)
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 143249 2005-03-07 15:29:11Z stefanf $ */
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 146073 2005-05-11 00:22:17Z mjacob $ */
2/*-
3 * Soft Definitions for for Qlogic ISP SCSI adapters.
4 *
5 * Copyright (c) 1997, 1998, 1999, 2000 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

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

39#endif
40#endif
41#ifdef __FreeBSD__
42#include <dev/isp/ispmbox.h>
43#ifdef ISP_TARGET_MODE
44#include <dev/isp/isp_target.h>
45#include <dev/isp/isp_tpublic.h>
46#endif
2/*-
3 * Soft Definitions for for Qlogic ISP SCSI adapters.
4 *
5 * Copyright (c) 1997, 1998, 1999, 2000 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

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

39#endif
40#endif
41#ifdef __FreeBSD__
42#include <dev/isp/ispmbox.h>
43#ifdef ISP_TARGET_MODE
44#include <dev/isp/isp_target.h>
45#include <dev/isp/isp_tpublic.h>
46#endif
47#ifndef _SYS_CDEFS_H_
48#error this file needs sys/cdefs.h as a prerequisite
49#endif
47#endif
50#endif
51#ifdef __linux__
52#include "ispmbox.h"
53#ifdef ISP_TARGET_MODE
54#include "isp_target.h"
55#include "isp_tpublic.h"
56#endif
57#endif
58

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

757int isp_async(struct ispsoftc *, ispasync_t, void *);
758
759#define ISPASYNC_CHANGE_PDB ((void *) 0)
760#define ISPASYNC_CHANGE_SNS ((void *) 1)
761#define ISPASYNC_CHANGE_OTHER ((void *) 2)
762
763/*
764 * Platform Dependent Error and Debug Printout
48#ifdef __linux__
49#include "ispmbox.h"
50#ifdef ISP_TARGET_MODE
51#include "isp_target.h"
52#include "isp_tpublic.h"
53#endif
54#endif
55

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

754int isp_async(struct ispsoftc *, ispasync_t, void *);
755
756#define ISPASYNC_CHANGE_PDB ((void *) 0)
757#define ISPASYNC_CHANGE_SNS ((void *) 1)
758#define ISPASYNC_CHANGE_OTHER ((void *) 2)
759
760/*
761 * Platform Dependent Error and Debug Printout
762 *
763 * Generally this is:
764 *
765 * void isp_prt(struct ispsoftc *, int level, const char *, ...)
766 *
767 * but due to compiler differences on different platforms this won't be
768 * formally done here. Instead, it goes in each platform definition file.
765 */
769 */
766void isp_prt(struct ispsoftc *, int level, const char *, ...)
767 __printflike(3, 4);
768
769#define ISP_LOGALL 0x0 /* log always */
770#define ISP_LOGCONFIG 0x1 /* log configuration messages */
771#define ISP_LOGINFO 0x2 /* log informational messages */
772#define ISP_LOGWARN 0x4 /* log warning messages */
773#define ISP_LOGERR 0x8 /* log error messages */
774#define ISP_LOGDEBUG0 0x10 /* log simple debug messages */
775#define ISP_LOGDEBUG1 0x20 /* log intermediate debug messages */

--- 134 unchanged lines hidden ---
770
771#define ISP_LOGALL 0x0 /* log always */
772#define ISP_LOGCONFIG 0x1 /* log configuration messages */
773#define ISP_LOGINFO 0x2 /* log informational messages */
774#define ISP_LOGWARN 0x4 /* log warning messages */
775#define ISP_LOGERR 0x8 /* log error messages */
776#define ISP_LOGDEBUG0 0x10 /* log simple debug messages */
777#define ISP_LOGDEBUG1 0x20 /* log intermediate debug messages */

--- 134 unchanged lines hidden ---