bxe.h (281855) | bxe.h (284335) |
---|---|
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 281855 2015-04-22 14:38:58Z rodrigc $"); | 31__FBSDID("$FreeBSD: head/sys/dev/bxe/bxe.h 284335 2015-06-13 01:28:19Z 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> --- 1355 unchanged lines hidden (view full) --- 1395//#define BXE_USING_MSIX_FLAG 0x00000020 1396//#define BXE_USING_MSI_FLAG 0x00000040 1397//#define BXE_DISABLE_MSI_FLAG 0x00000080 1398#define BXE_NO_MCP_FLAG 0x00000200 1399#define BXE_NOMCP(sc) (sc->flags & BXE_NO_MCP_FLAG) 1400//#define BXE_SAFC_TX_FLAG 0x00000400 1401#define BXE_MF_FUNC_DIS 0x00000800 1402#define BXE_TX_SWITCHING 0x00001000 | 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> --- 1355 unchanged lines hidden (view full) --- 1395//#define BXE_USING_MSIX_FLAG 0x00000020 1396//#define BXE_USING_MSI_FLAG 0x00000040 1397//#define BXE_DISABLE_MSI_FLAG 0x00000080 1398#define BXE_NO_MCP_FLAG 0x00000200 1399#define BXE_NOMCP(sc) (sc->flags & BXE_NO_MCP_FLAG) 1400//#define BXE_SAFC_TX_FLAG 0x00000400 1401#define BXE_MF_FUNC_DIS 0x00000800 1402#define BXE_TX_SWITCHING 0x00001000 |
1403#define BXE_NO_PULSE 0x00002000 |
|
1403 1404 unsigned long debug; /* per-instance debug logging config */ 1405 1406#define MAX_BARS 5 1407 struct bxe_bar bar[MAX_BARS]; /* map BARs 0, 2, 4 */ 1408 1409 uint16_t doorbell_size; 1410 --- 13 unchanged lines hidden (view full) --- 1424 struct taskqueue *chip_tq; 1425 char chip_tq_name[32]; 1426 1427 /* slowpath interrupt taskqueue */ 1428 struct task sp_tq_task; 1429 struct taskqueue *sp_tq; 1430 char sp_tq_name[32]; 1431 | 1404 1405 unsigned long debug; /* per-instance debug logging config */ 1406 1407#define MAX_BARS 5 1408 struct bxe_bar bar[MAX_BARS]; /* map BARs 0, 2, 4 */ 1409 1410 uint16_t doorbell_size; 1411 --- 13 unchanged lines hidden (view full) --- 1425 struct taskqueue *chip_tq; 1426 char chip_tq_name[32]; 1427 1428 /* slowpath interrupt taskqueue */ 1429 struct task sp_tq_task; 1430 struct taskqueue *sp_tq; 1431 char sp_tq_name[32]; 1432 |
1432 /* set rx_mode asynchronous taskqueue */ 1433 struct task rx_mode_tq_task; 1434 struct taskqueue *rx_mode_tq; 1435 char rx_mode_tq_name[32]; 1436 | |
1437 struct bxe_fastpath fp[MAX_RSS_CHAINS]; 1438 struct bxe_sp_objs sp_objs[MAX_RSS_CHAINS]; 1439 1440 device_t dev; /* parent device handle */ 1441 uint8_t unit; /* driver instance number */ 1442 1443 int pcie_bus; /* PCIe bus number */ 1444 int pcie_device; /* PCIe device/slot number */ --- 1058 unchanged lines hidden --- | 1433 struct bxe_fastpath fp[MAX_RSS_CHAINS]; 1434 struct bxe_sp_objs sp_objs[MAX_RSS_CHAINS]; 1435 1436 device_t dev; /* parent device handle */ 1437 uint8_t unit; /* driver instance number */ 1438 1439 int pcie_bus; /* PCIe bus number */ 1440 int pcie_device; /* PCIe device/slot number */ --- 1058 unchanged lines hidden --- |