Deleted Added
full compact
ispmbox.h (290799) ispmbox.h (291498)
1/* $FreeBSD: stable/10/sys/dev/isp/ispmbox.h 290799 2015-11-13 19:58:42Z mav $ */
1/* $FreeBSD: stable/10/sys/dev/isp/ispmbox.h 291498 2015-11-30 21:28:53Z 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 *

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

151#define MBOX_GET_PORT_NAME 0x006A
152#define MBOX_GET_LINK_STATUS 0x006B
153#define MBOX_INIT_LIP_RESET 0x006C
154#define MBOX_SEND_SNS 0x006E
155#define MBOX_FABRIC_LOGIN 0x006F
156#define MBOX_SEND_CHANGE_REQUEST 0x0070
157#define MBOX_FABRIC_LOGOUT 0x0071
158#define MBOX_INIT_LIP_LOGIN 0x0072
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 *

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

151#define MBOX_GET_PORT_NAME 0x006A
152#define MBOX_GET_LINK_STATUS 0x006B
153#define MBOX_INIT_LIP_RESET 0x006C
154#define MBOX_SEND_SNS 0x006E
155#define MBOX_FABRIC_LOGIN 0x006F
156#define MBOX_SEND_CHANGE_REQUEST 0x0070
157#define MBOX_FABRIC_LOGOUT 0x0071
158#define MBOX_INIT_LIP_LOGIN 0x0072
159#define MBOX_GET_PORT_NODE_NAME_LIST 0x0075
160#define MBOX_GET_ID_LIST 0x007C
159#define MBOX_LUN_RESET 0x007E
160
161#define MBOX_DRIVER_HEARTBEAT 0x005B
162#define MBOX_FW_HEARTBEAT 0x005C
163
164#define MBOX_GET_SET_DATA_RATE 0x005D /* 24XX/23XX only */
165#define MBGSD_GET_RATE 0
166#define MBGSD_SET_RATE 1

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

1337 uint16_t prli_word3;
1338 uint32_t : 8,
1339 portid : 24;
1340 uint8_t portname[8];
1341 uint8_t nodename[8];
1342} isp_pdb_t;
1343
1344/*
161#define MBOX_LUN_RESET 0x007E
162
163#define MBOX_DRIVER_HEARTBEAT 0x005B
164#define MBOX_FW_HEARTBEAT 0x005C
165
166#define MBOX_GET_SET_DATA_RATE 0x005D /* 24XX/23XX only */
167#define MBGSD_GET_RATE 0
168#define MBGSD_SET_RATE 1

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

1339 uint16_t prli_word3;
1340 uint32_t : 8,
1341 portid : 24;
1342 uint8_t portname[8];
1343 uint8_t nodename[8];
1344} isp_pdb_t;
1345
1346/*
1347 * Port/Node Name List Element
1348 */
1349typedef struct {
1350 uint8_t pnnle_name[8];
1351 uint16_t pnnle_handle;
1352 uint16_t pnnle_reserved;
1353} isp_pnnle_t;
1354
1355#define PNNL_OPTIONS_NODE_NAMES (1<<0)
1356#define PNNL_OPTIONS_PORT_DATA (1<<2)
1357#define PNNL_OPTIONS_INITIATORS (1<<3)
1358
1359/*
1360 * Port and N-Port Handle List Element
1361 */
1362typedef struct {
1363 uint16_t pnhle_port_id_lo;
1364 uint16_t pnhle_port_id_hi_handle;
1365} isp_pnhle_21xx_t;
1366
1367typedef struct {
1368 uint16_t pnhle_port_id_lo;
1369 uint16_t pnhle_port_id_hi;
1370 uint16_t pnhle_handle;
1371} isp_pnhle_23xx_t;
1372
1373typedef struct {
1374 uint16_t pnhle_port_id_lo;
1375 uint16_t pnhle_port_id_hi;
1376 uint16_t pnhle_handle;
1377 uint16_t pnhle_reserved;
1378} isp_pnhle_24xx_t;
1379
1380/*
1345 * Port Database Changed Async Event information for 24XX cards
1346 */
1347#define PDB24XX_AE_OK 0x00
1348#define PDB24XX_AE_IMPL_LOGO_1 0x01
1349#define PDB24XX_AE_IMPL_LOGO_2 0x02
1350#define PDB24XX_AE_IMPL_LOGO_3 0x03
1351#define PDB24XX_AE_PLOGI_RCVD 0x04
1352#define PDB24XX_AE_PLOGI_RJT 0x05

--- 1256 unchanged lines hidden ---
1381 * Port Database Changed Async Event information for 24XX cards
1382 */
1383#define PDB24XX_AE_OK 0x00
1384#define PDB24XX_AE_IMPL_LOGO_1 0x01
1385#define PDB24XX_AE_IMPL_LOGO_2 0x02
1386#define PDB24XX_AE_IMPL_LOGO_3 0x03
1387#define PDB24XX_AE_PLOGI_RCVD 0x04
1388#define PDB24XX_AE_PLOGI_RJT 0x05

--- 1256 unchanged lines hidden ---