Deleted Added
sdiff udiff text old ( 290785 ) new ( 291500 )
full compact
1/* $FreeBSD: stable/10/sys/dev/isp/ispreg.h 290785 2015-11-13 19:42:55Z 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
457 lineno : 16,
458 : 12,
459 logval : 4;
460 uint32_t timeout;
461 const char *func;
462} mbreg_t;
463#define MBSINIT(mbxp, code, loglev, timo) \
464 ISP_MEMZERO((mbxp), sizeof (mbreg_t)); \
465 (mbxp)->ibitm = ~0; \
466 (mbxp)->obitm = ~0; \
467 (mbxp)->param[0] = code; \
468 (mbxp)->lineno = __LINE__; \

--- 709 unchanged lines hidden ---