Deleted Added
full compact
bxe.h (284335) bxe.h (285973)
1/*-
2 * Copyright (c) 2007-2014 QLogic Corporation. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

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

23 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
24 * THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#ifndef __BXE_H__
28#define __BXE_H__
29
30#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2007-2014 QLogic Corporation. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

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

23 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
24 * THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#ifndef __BXE_H__
28#define __BXE_H__
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/dev/bxe/bxe.h 284335 2015-06-13 01:28:19Z davidcs $");
31__FBSDID("$FreeBSD: head/sys/dev/bxe/bxe.h 285973 2015-07-28 19:15:44Z davidcs $");
32
33#include <sys/param.h>
34#include <sys/kernel.h>
35#include <sys/systm.h>
36#include <sys/lock.h>
37#include <sys/mutex.h>
38#include <sys/sx.h>
39#include <sys/module.h>

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

577 struct mtx tx_mtx;
578 char tx_mtx_name[32];
579 struct mtx rx_mtx;
580 char rx_mtx_name[32];
581
582#define BXE_FP_TX_LOCK(fp) mtx_lock(&fp->tx_mtx)
583#define BXE_FP_TX_UNLOCK(fp) mtx_unlock(&fp->tx_mtx)
584#define BXE_FP_TX_LOCK_ASSERT(fp) mtx_assert(&fp->tx_mtx, MA_OWNED)
32
33#include <sys/param.h>
34#include <sys/kernel.h>
35#include <sys/systm.h>
36#include <sys/lock.h>
37#include <sys/mutex.h>
38#include <sys/sx.h>
39#include <sys/module.h>

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

577 struct mtx tx_mtx;
578 char tx_mtx_name[32];
579 struct mtx rx_mtx;
580 char rx_mtx_name[32];
581
582#define BXE_FP_TX_LOCK(fp) mtx_lock(&fp->tx_mtx)
583#define BXE_FP_TX_UNLOCK(fp) mtx_unlock(&fp->tx_mtx)
584#define BXE_FP_TX_LOCK_ASSERT(fp) mtx_assert(&fp->tx_mtx, MA_OWNED)
585#define BXE_FP_TX_TRYLOCK(fp) mtx_trylock(&fp->tx_mtx)
585
586#define BXE_FP_RX_LOCK(fp) mtx_lock(&fp->rx_mtx)
587#define BXE_FP_RX_UNLOCK(fp) mtx_unlock(&fp->rx_mtx)
588#define BXE_FP_RX_LOCK_ASSERT(fp) mtx_assert(&fp->rx_mtx, MA_OWNED)
589
590 /* status block */
591 struct bxe_dma sb_dma;
592 union bxe_host_hc_status_block status_block;

--- 1906 unchanged lines hidden ---
586
587#define BXE_FP_RX_LOCK(fp) mtx_lock(&fp->rx_mtx)
588#define BXE_FP_RX_UNLOCK(fp) mtx_unlock(&fp->rx_mtx)
589#define BXE_FP_RX_LOCK_ASSERT(fp) mtx_assert(&fp->rx_mtx, MA_OWNED)
590
591 /* status block */
592 struct bxe_dma sb_dma;
593 union bxe_host_hc_status_block status_block;

--- 1906 unchanged lines hidden ---