Deleted Added
full compact
ispvar.h (69522) ispvar.h (70490)
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 69522 2000-12-02 18:06:03Z mjacob $ */
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 70490 2000-12-29 19:17:18Z 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

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

385#define ISP_INITSTATE 2
386#define ISP_RUNSTATE 3
387
388/*
389 * ISP Configuration Options
390 */
391#define ISP_CFG_NORELOAD 0x80 /* don't download f/w */
392#define ISP_CFG_NONVRAM 0x40 /* ignore NVRAM */
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

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

385#define ISP_INITSTATE 2
386#define ISP_RUNSTATE 3
387
388/*
389 * ISP Configuration Options
390 */
391#define ISP_CFG_NORELOAD 0x80 /* don't download f/w */
392#define ISP_CFG_NONVRAM 0x40 /* ignore NVRAM */
393#define ISP_CFG_NOINIT 0x20 /* just set defaults- don't init */
393#define ISP_CFG_FULL_DUPLEX 0x01 /* Full Duplex (Fibre Channel only) */
394#define ISP_CFG_OWNWWN 0x02 /* override NVRAM wwn */
395#define ISP_CFG_PORT_PREF 0x0C /* Mask for Port Prefs (2200 only) */
396#define ISP_CFG_LPORT 0x00 /* prefer {N/F}L-Port connection */
397#define ISP_CFG_NPORT 0x04 /* prefer {N/F}-Port connection */
398#define ISP_CFG_NPORT_ONLY 0x08 /* insist on {N/F}-Port connection */
399#define ISP_CFG_LPORT_ONLY 0x0C /* insist on {N/F}L-Port connection */
400

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

529 ISPASYNC_TARGET_EVENT, /* target asynchronous event */
530 ISPASYNC_TARGET_ACTION /* other target command action */
531} ispasync_t;
532int isp_async __P((struct ispsoftc *, ispasync_t, void *));
533
534/*
535 * Platform Dependent Error and Debug Printout
536 */
394#define ISP_CFG_FULL_DUPLEX 0x01 /* Full Duplex (Fibre Channel only) */
395#define ISP_CFG_OWNWWN 0x02 /* override NVRAM wwn */
396#define ISP_CFG_PORT_PREF 0x0C /* Mask for Port Prefs (2200 only) */
397#define ISP_CFG_LPORT 0x00 /* prefer {N/F}L-Port connection */
398#define ISP_CFG_NPORT 0x04 /* prefer {N/F}-Port connection */
399#define ISP_CFG_NPORT_ONLY 0x08 /* insist on {N/F}-Port connection */
400#define ISP_CFG_LPORT_ONLY 0x0C /* insist on {N/F}L-Port connection */
401

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

530 ISPASYNC_TARGET_EVENT, /* target asynchronous event */
531 ISPASYNC_TARGET_ACTION /* other target command action */
532} ispasync_t;
533int isp_async __P((struct ispsoftc *, ispasync_t, void *));
534
535/*
536 * Platform Dependent Error and Debug Printout
537 */
538#ifdef __GNUC__
539void isp_prt __P((struct ispsoftc *, int level, const char *, ...))
540 __attribute__((__format__(__printf__,3,4)));
541#else
537void isp_prt __P((struct ispsoftc *, int level, const char *, ...));
542void isp_prt __P((struct ispsoftc *, int level, const char *, ...));
543#endif
544
538#define ISP_LOGALL 0x0 /* log always */
539#define ISP_LOGCONFIG 0x1 /* log configuration messages */
540#define ISP_LOGINFO 0x2 /* log informational messages */
541#define ISP_LOGWARN 0x4 /* log warning messages */
542#define ISP_LOGERR 0x8 /* log error messages */
543#define ISP_LOGDEBUG0 0x10 /* log simple debug messages */
544#define ISP_LOGDEBUG1 0x20 /* log intermediate debug messages */
545#define ISP_LOGDEBUG2 0x40 /* log most debug messages */

--- 124 unchanged lines hidden ---
545#define ISP_LOGALL 0x0 /* log always */
546#define ISP_LOGCONFIG 0x1 /* log configuration messages */
547#define ISP_LOGINFO 0x2 /* log informational messages */
548#define ISP_LOGWARN 0x4 /* log warning messages */
549#define ISP_LOGERR 0x8 /* log error messages */
550#define ISP_LOGDEBUG0 0x10 /* log simple debug messages */
551#define ISP_LOGDEBUG1 0x20 /* log intermediate debug messages */
552#define ISP_LOGDEBUG2 0x40 /* log most debug messages */

--- 124 unchanged lines hidden ---