ispmbox.h (291498) | ispmbox.h (291500) |
---|---|
1/* $FreeBSD: stable/10/sys/dev/isp/ispmbox.h 291498 2015-11-30 21:28:53Z mav $ */ | 1/* $FreeBSD: stable/10/sys/dev/isp/ispmbox.h 291500 2015-11-30 21:30:18Z 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 * --- 176 unchanged lines hidden (view full) --- 186#define MBOX_HOST_INTERFACE_ERROR 0x4002 187#define MBOX_TEST_FAILED 0x4003 188#define MBOX_COMMAND_ERROR 0x4005 189#define MBOX_COMMAND_PARAM_ERROR 0x4006 190#define MBOX_PORT_ID_USED 0x4007 191#define MBOX_LOOP_ID_USED 0x4008 192#define MBOX_ALL_IDS_USED 0x4009 193#define MBOX_NOT_LOGGED_IN 0x400A | 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 * --- 176 unchanged lines hidden (view full) --- 186#define MBOX_HOST_INTERFACE_ERROR 0x4002 187#define MBOX_TEST_FAILED 0x4003 188#define MBOX_COMMAND_ERROR 0x4005 189#define MBOX_COMMAND_PARAM_ERROR 0x4006 190#define MBOX_PORT_ID_USED 0x4007 191#define MBOX_LOOP_ID_USED 0x4008 192#define MBOX_ALL_IDS_USED 0x4009 193#define MBOX_NOT_LOGGED_IN 0x400A |
194#define MBOX_LINK_DOWN_ERROR 0x400B 195#define MBOX_LOOPBACK_ERROR 0x400C 196#define MBOX_CHECKSUM_ERROR 0x4010 197#define MBOX_INVALID_PRODUCT_KEY 0x4020 |
|
194/* pseudo mailbox completion codes */ 195#define MBOX_REGS_BUSY 0x6000 /* registers in use */ 196#define MBOX_TIMEOUT 0x6001 /* command timed out */ 197 | 198/* pseudo mailbox completion codes */ 199#define MBOX_REGS_BUSY 0x6000 /* registers in use */ 200#define MBOX_TIMEOUT 0x6001 /* command timed out */ 201 |
198#define MBLOGALL 0x000f 199#define MBLOGNONE 0x0000 200#define MBLOGMASK(x) ((x) & 0xf) | 202#define MBLOGALL 0xffffffff 203#define MBLOGNONE 0x00000000 204#define MBLOGMASK(x) (1 << (((x) - 1) & 0x1f)) |
201 202/* 203 * Asynchronous event status codes 204 */ 205#define ASYNC_BUS_RESET 0x8001 206#define ASYNC_SYSTEM_ERROR 0x8002 207#define ASYNC_RQS_XFER_ERR 0x8003 208#define ASYNC_RSP_XFER_ERR 0x8004 --- 2436 unchanged lines hidden --- | 205 206/* 207 * Asynchronous event status codes 208 */ 209#define ASYNC_BUS_RESET 0x8001 210#define ASYNC_SYSTEM_ERROR 0x8002 211#define ASYNC_RQS_XFER_ERR 0x8003 212#define ASYNC_RSP_XFER_ERR 0x8004 --- 2436 unchanged lines hidden --- |