Deleted Added
sdiff udiff text old ( 290785 ) new ( 291500 )
full compact
1/* $FreeBSD: stable/10/sys/dev/isp/ispreg.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 *

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

448/* if timeout == 0, then default timeout is picked */
449#define MBCMD_DEFAULT_TIMEOUT 100000 /* 100 ms */
450typedef struct {
451 uint16_t param[MAX_MAILBOX];
452 uint32_t ibits; /* bits to add for register copyin */
453 uint32_t obits; /* bits to add for register copyout */
454 uint32_t ibitm; /* bits to mask for register copyin */
455 uint32_t obitm; /* bits to mask for register copyout */
456 uint32_t logval; /* Bitmask of status codes to log */
457 uint32_t timeout;
458 uint32_t lineno;
459 const char *func;
460} mbreg_t;
461#define MBSINIT(mbxp, code, loglev, timo) \
462 ISP_MEMZERO((mbxp), sizeof (mbreg_t)); \
463 (mbxp)->ibitm = ~0; \
464 (mbxp)->obitm = ~0; \
465 (mbxp)->param[0] = code; \
466 (mbxp)->lineno = __LINE__; \

--- 709 unchanged lines hidden ---