Deleted Added
full compact
ispvar.h (140650) ispvar.h (143063)
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 140650 2005-01-23 06:27:05Z mjacob $ */
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 143063 2005-03-02 21:33:29Z joerg $ */
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
47#endif
49#endif
50#endif
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

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

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

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

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
765 */
763#if defined(__GNUC__) || defined(__INTEL_COMPILER)
766#ifdef __GNUCLIKE_ATTRIBUTE_PRINTF
764void isp_prt(struct ispsoftc *, int level, const char *, ...)
765 __attribute__((__format__(__printf__,3,4)));
766#else
767void isp_prt(struct ispsoftc *, int level, const char *, ...);
768#endif
769
770#define ISP_LOGALL 0x0 /* log always */
771#define ISP_LOGCONFIG 0x1 /* log configuration messages */

--- 139 unchanged lines hidden ---
767void isp_prt(struct ispsoftc *, int level, const char *, ...)
768 __attribute__((__format__(__printf__,3,4)));
769#else
770void isp_prt(struct ispsoftc *, int level, const char *, ...);
771#endif
772
773#define ISP_LOGALL 0x0 /* log always */
774#define ISP_LOGCONFIG 0x1 /* log configuration messages */

--- 139 unchanged lines hidden ---