Deleted Added
sdiff udiff text old ( 291519 ) new ( 291520 )
full compact
1/* $FreeBSD: stable/10/sys/dev/isp/ispmbox.h 291519 2015-11-30 21:44:03Z mav $ */
2/*-
3 * Copyright (c) 1997-2009 by Matthew Jacob
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:
9 *

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

241#define ASYNC_QWAKEUP 0x8005
242#define ASYNC_TIMEOUT_RESET 0x8006
243#define ASYNC_DEVICE_RESET 0x8007
244#define ASYNC_EXTMSG_UNDERRUN 0x800A
245#define ASYNC_SCAM_INT 0x800B
246#define ASYNC_HUNG_SCSI 0x800C
247#define ASYNC_KILLED_BUS 0x800D
248#define ASYNC_BUS_TRANSIT 0x800E /* LVD -> HVD, eg. */
249#define ASYNC_LIP_OCCURRED 0x8010
250#define ASYNC_LOOP_UP 0x8011
251#define ASYNC_LOOP_DOWN 0x8012
252#define ASYNC_LOOP_RESET 0x8013
253#define ASYNC_PDB_CHANGED 0x8014
254#define ASYNC_CHANGE_NOTIFY 0x8015
255#define ASYNC_LIP_F8 0x8016
256#define ASYNC_LIP_ERROR 0x8017
257#define ASYNC_SECURITY_UPDATE 0x801B
258#define ASYNC_CMD_CMPLT 0x8020
259#define ASYNC_CTIO_DONE 0x8021
260#define ASYNC_RIO32_1 0x8021
261#define ASYNC_RIO32_2 0x8022
262#define ASYNC_IP_XMIT_DONE 0x8022
263#define ASYNC_IP_RECV_DONE 0x8023
264#define ASYNC_IP_BROADCAST 0x8024
265#define ASYNC_IP_RCVQ_LOW 0x8025
266#define ASYNC_IP_RCVQ_EMPTY 0x8026
267#define ASYNC_IP_RECV_DONE_ALIGNED 0x8027
268#define ASYNC_PTPMODE 0x8030
269#define ASYNC_RIO16_1 0x8031
270#define ASYNC_RIO16_2 0x8032
271#define ASYNC_RIO16_3 0x8033
272#define ASYNC_RIO16_4 0x8034
273#define ASYNC_RIO16_5 0x8035
274#define ASYNC_CONNMODE 0x8036
275#define ISP_CONN_LOOP 1
276#define ISP_CONN_PTP 2
277#define ISP_CONN_BADLIP 3
278#define ISP_CONN_FATAL 4
279#define ISP_CONN_LOOPBACK 5
280#define ASYNC_RIOZIO_STALL 0x8040 /* there's a RIO/ZIO entry that hasn't been serviced */
281#define ASYNC_RIO32_2_2200 0x8042 /* same as ASYNC_RIO32_2, but for 2100/2200 */
282#define ASYNC_RCV_ERR 0x8048
283
284/*
285 * Firmware Options. There are a lot of them.
286 *
287 * IFCOPTN - ISP Fibre Channel Option Word N
288 */
289#define IFCOPT1_EQFQASYNC (1 << 13) /* enable QFULL notification */
290#define IFCOPT1_EAABSRCVD (1 << 12)

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

298#define IFCOPT1_LIPASYNC (1 << 1)
299#define IFCOPT1_LIPF8 (1 << 0)
300
301#define IFCOPT2_LOOPBACK (1 << 1)
302#define IFCOPT2_ATIO3_ONLY (1 << 0)
303
304#define IFCOPT3_NOPRLI (1 << 4) /* disable automatic sending of PRLI on local loops */
305#define IFCOPT3_RNDASYNC (1 << 1)
306/*
307 * 2.01.31 2200 Only. Need Bit 13 in Mailbox 1 for Set Firmware Options
308 * mailbox command to enable this.
309 */
310#define ASYNC_QFULL_SENT 0x8049
311
312/*
313 * Needs to be enabled
314 */
315#define ASYNC_AUTO_PLOGI_RJT 0x8018
316/*
317 * 24XX only
318 */
319#define ASYNC_RJT_SENT 0x8049
320
321/*
322 * All IOCB Queue entries are this size
323 */
324#define QENTRY_LEN 64
325
326/*
327 * Command Structure Definitions
328 */
329

--- 2343 unchanged lines hidden ---