Deleted Added
full compact
ispmbox.h (290784) ispmbox.h (290787)
1/* $FreeBSD: stable/10/sys/dev/isp/ispmbox.h 290784 2015-11-13 19:41:04Z mav $ */
1/* $FreeBSD: stable/10/sys/dev/isp/ispmbox.h 290787 2015-11-13 19:45:15Z 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 *

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

1807 isphdr_t in_header;
1808 uint32_t in_reserved;
1809 uint16_t in_nphdl;
1810 uint16_t in_reserved1;
1811 uint16_t in_flags;
1812 uint16_t in_srr_rxid;
1813 uint16_t in_status;
1814 uint8_t in_status_subcode;
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 *

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

1807 isphdr_t in_header;
1808 uint32_t in_reserved;
1809 uint16_t in_nphdl;
1810 uint16_t in_reserved1;
1811 uint16_t in_flags;
1812 uint16_t in_srr_rxid;
1813 uint16_t in_status;
1814 uint8_t in_status_subcode;
1815 uint8_t in_reserved2;
1815 uint8_t in_fwhandle;
1816 uint32_t in_rxid;
1817 uint16_t in_srr_reloff_lo;
1818 uint16_t in_srr_reloff_hi;
1819 uint16_t in_srr_iu;
1820 uint16_t in_srr_oxid;
1821 /*
1822 * If bit 2 is set in in_flags, the N-Port and
1823 * handle tags are valid. If the received ELS is

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

1840 uint8_t in_reserved7;
1841 uint16_t in_reserved8;
1842 uint16_t in_oxid;
1843} in_fcentry_24xx_t;
1844
1845#define IN24XX_FLAG_PUREX_IOCB 0x1
1846#define IN24XX_FLAG_GLOBAL_LOGOUT 0x2
1847#define IN24XX_FLAG_NPHDL_VALID 0x4
1816 uint32_t in_rxid;
1817 uint16_t in_srr_reloff_lo;
1818 uint16_t in_srr_reloff_hi;
1819 uint16_t in_srr_iu;
1820 uint16_t in_srr_oxid;
1821 /*
1822 * If bit 2 is set in in_flags, the N-Port and
1823 * handle tags are valid. If the received ELS is

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

1840 uint8_t in_reserved7;
1841 uint16_t in_reserved8;
1842 uint16_t in_oxid;
1843} in_fcentry_24xx_t;
1844
1845#define IN24XX_FLAG_PUREX_IOCB 0x1
1846#define IN24XX_FLAG_GLOBAL_LOGOUT 0x2
1847#define IN24XX_FLAG_NPHDL_VALID 0x4
1848#define IN24XX_FLAG_N2N_PRLI 0x8
1849#define IN24XX_FLAG_PN_NN_VALID 0x10
1848
1849#define IN24XX_LIP_RESET 0x0E
1850#define IN24XX_LINK_RESET 0x0F
1851#define IN24XX_PORT_LOGOUT 0x29
1852#define IN24XX_PORT_CHANGED 0x2A
1853#define IN24XX_LINK_FAILED 0x2E
1854#define IN24XX_SRR_RCVD 0x45
1855#define IN24XX_ELS_RCVD 0x46 /*
1856 * login-affectin ELS received- check
1857 * subcode for specific opcode
1858 */
1859
1860/*
1861 * For f/w > 4.0.25, these offsets in the Immediate Notify contain
1862 * the WWNN/WWPN if the ELS is PLOGI, PDISC or ADISC. The WWN is in
1863 * Big Endian format.
1864 */
1850
1851#define IN24XX_LIP_RESET 0x0E
1852#define IN24XX_LINK_RESET 0x0F
1853#define IN24XX_PORT_LOGOUT 0x29
1854#define IN24XX_PORT_CHANGED 0x2A
1855#define IN24XX_LINK_FAILED 0x2E
1856#define IN24XX_SRR_RCVD 0x45
1857#define IN24XX_ELS_RCVD 0x46 /*
1858 * login-affectin ELS received- check
1859 * subcode for specific opcode
1860 */
1861
1862/*
1863 * For f/w > 4.0.25, these offsets in the Immediate Notify contain
1864 * the WWNN/WWPN if the ELS is PLOGI, PDISC or ADISC. The WWN is in
1865 * Big Endian format.
1866 */
1867#define IN24XX_PRLI_WWNN_OFF 0x18
1868#define IN24XX_PRLI_WWPN_OFF 0x28
1865#define IN24XX_PLOGI_WWNN_OFF 0x20
1866#define IN24XX_PLOGI_WWPN_OFF 0x28
1867
1868/*
1869 * For f/w > 4.0.25, this offset in the Immediate Notify contain
1870 * the WWPN if the ELS is LOGO. The WWN is in Big Endian format.
1871 */
1872#define IN24XX_LOGO_WWPN_OFF 0x28

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

1960 isphdr_t na_header;
1961 uint32_t na_handle;
1962 uint16_t na_nphdl;
1963 uint16_t na_reserved1;
1964 uint16_t na_flags;
1965 uint16_t na_srr_rxid;
1966 uint16_t na_status;
1967 uint8_t na_status_subcode;
1869#define IN24XX_PLOGI_WWNN_OFF 0x20
1870#define IN24XX_PLOGI_WWPN_OFF 0x28
1871
1872/*
1873 * For f/w > 4.0.25, this offset in the Immediate Notify contain
1874 * the WWPN if the ELS is LOGO. The WWN is in Big Endian format.
1875 */
1876#define IN24XX_LOGO_WWPN_OFF 0x28

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

1964 isphdr_t na_header;
1965 uint32_t na_handle;
1966 uint16_t na_nphdl;
1967 uint16_t na_reserved1;
1968 uint16_t na_flags;
1969 uint16_t na_srr_rxid;
1970 uint16_t na_status;
1971 uint8_t na_status_subcode;
1968 uint8_t na_reserved2;
1972 uint8_t na_fwhandle;
1969 uint32_t na_rxid;
1970 uint16_t na_srr_reloff_lo;
1971 uint16_t na_srr_reloff_hi;
1972 uint16_t na_srr_iu;
1973 uint16_t na_srr_flags;
1974 uint8_t na_reserved3[18];
1975 uint8_t na_reserved4;
1976 uint8_t na_vpidx;

--- 622 unchanged lines hidden ---
1973 uint32_t na_rxid;
1974 uint16_t na_srr_reloff_lo;
1975 uint16_t na_srr_reloff_hi;
1976 uint16_t na_srr_iu;
1977 uint16_t na_srr_flags;
1978 uint8_t na_reserved3[18];
1979 uint8_t na_reserved4;
1980 uint8_t na_vpidx;

--- 622 unchanged lines hidden ---