bxe.h (285973) | bxe.h (292639) |
---|---|
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 285973 2015-07-28 19:15:44Z davidcs $"); | 31__FBSDID("$FreeBSD: head/sys/dev/bxe/bxe.h 292639 2015-12-23 03:19:12Z 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> --- 1785 unchanged lines hidden (view full) --- 1825 1826 /* multiple tx classes of service */ 1827 uint8_t max_cos; 1828#define BXE_MAX_PRIORITY 8 1829 /* priority to cos mapping */ 1830 uint8_t prio_to_cos[BXE_MAX_PRIORITY]; 1831 1832 int panic; | 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> --- 1785 unchanged lines hidden (view full) --- 1825 1826 /* multiple tx classes of service */ 1827 uint8_t max_cos; 1828#define BXE_MAX_PRIORITY 8 1829 /* priority to cos mapping */ 1830 uint8_t prio_to_cos[BXE_MAX_PRIORITY]; 1831 1832 int panic; |
1833 1834 struct cdev *ioctl_dev; 1835 void *grc_dump; 1836 int trigger_grcdump; 1837 int grcdump_done; |
|
1833}; /* struct bxe_softc */ 1834 1835/* IOCTL sub-commands for edebug and firmware upgrade */ 1836#define BXE_IOC_RD_NVRAM 1 1837#define BXE_IOC_WR_NVRAM 2 1838#define BXE_IOC_STATS_SHOW_NUM 3 1839#define BXE_IOC_STATS_SHOW_STR 4 1840#define BXE_IOC_STATS_SHOW_CNT 5 --- 450 unchanged lines hidden (view full) --- 2291 __FILE__, \ 2292 __LINE__, \ 2293 ## args); \ 2294 } else { \ 2295 device_printf((sc)->dev, \ 2296 "ERROR: " format, \ 2297 ## args); \ 2298 } \ | 1838}; /* struct bxe_softc */ 1839 1840/* IOCTL sub-commands for edebug and firmware upgrade */ 1841#define BXE_IOC_RD_NVRAM 1 1842#define BXE_IOC_WR_NVRAM 2 1843#define BXE_IOC_STATS_SHOW_NUM 3 1844#define BXE_IOC_STATS_SHOW_STR 4 1845#define BXE_IOC_STATS_SHOW_CNT 5 --- 450 unchanged lines hidden (view full) --- 2296 __FILE__, \ 2297 __LINE__, \ 2298 ## args); \ 2299 } else { \ 2300 device_printf((sc)->dev, \ 2301 "ERROR: " format, \ 2302 ## args); \ 2303 } \ |
2304 sc->trigger_grcdump |= 0x1; \ |
|
2299 } while(0) 2300 2301#ifdef ECORE_STOP_ON_ERROR 2302 2303#define bxe_panic(sc, msg) \ 2304 do { \ 2305 panic msg; \ 2306 } while (0) --- 193 unchanged lines hidden --- | 2305 } while(0) 2306 2307#ifdef ECORE_STOP_ON_ERROR 2308 2309#define bxe_panic(sc, msg) \ 2310 do { \ 2311 panic msg; \ 2312 } while (0) --- 193 unchanged lines hidden --- |