Deleted Added
full compact
ixgbe_osdep.h (200239) ixgbe_osdep.h (215911)
1/******************************************************************************
2
1/******************************************************************************
2
3 Copyright (c) 2001-2009, Intel Corporation
3 Copyright (c) 2001-2010, Intel Corporation
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 are met:
8
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

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

25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 POSSIBILITY OF SUCH DAMAGE.
31
32******************************************************************************/
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 are met:
8
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11

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

25 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 POSSIBILITY OF SUCH DAMAGE.
31
32******************************************************************************/
33/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_osdep.h 200239 2009-12-07 21:30:54Z jfv $*/
33/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_osdep.h 215911 2010-11-26 22:46:32Z jfv $*/
34
35#ifndef _IXGBE_OS_H_
36#define _IXGBE_OS_H_
37
38#include <sys/types.h>
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/mbuf.h>

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

81#define false 0 /* shared code requires this */
82#define TRUE 1
83#define true 1
84#define CMD_MEM_WRT_INVALIDATE 0x0010 /* BIT_4 */
85#define PCI_COMMAND_REGISTER PCIR_COMMAND
86#define UNREFERENCED_PARAMETER(_p)
87
88
34
35#ifndef _IXGBE_OS_H_
36#define _IXGBE_OS_H_
37
38#include <sys/types.h>
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/mbuf.h>

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

81#define false 0 /* shared code requires this */
82#define TRUE 1
83#define true 1
84#define CMD_MEM_WRT_INVALIDATE 0x0010 /* BIT_4 */
85#define PCI_COMMAND_REGISTER PCIR_COMMAND
86#define UNREFERENCED_PARAMETER(_p)
87
88
89#define IXGBE_HTONL htonl
89#define IXGBE_NTOHL(_i) ntohl(_i)
90#define IXGBE_NTOHS(_i) ntohs(_i)
90
91typedef uint8_t u8;
92typedef int8_t s8;
93typedef uint16_t u16;
94typedef uint32_t u32;
95typedef int32_t s32;
96typedef uint64_t u64;
97typedef boolean_t bool;

--- 65 unchanged lines hidden ---
91
92typedef uint8_t u8;
93typedef int8_t s8;
94typedef uint16_t u16;
95typedef uint32_t u32;
96typedef int32_t s32;
97typedef uint64_t u64;
98typedef boolean_t bool;

--- 65 unchanged lines hidden ---