Deleted Added
full compact
ixv.c (241856) ixv.c (241885)
1/******************************************************************************
2
3 Copyright (c) 2001-2012, 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

--- 16 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******************************************************************************/
1/******************************************************************************
2
3 Copyright (c) 2001-2012, 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

--- 16 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/ixv.c 241856 2012-10-22 03:41:14Z eadler $*/
33/*$FreeBSD: head/sys/dev/ixgbe/ixv.c 241885 2012-10-22 13:06:09Z eadler $*/
34
35#ifdef HAVE_KERNEL_OPTION_HEADERS
36#include "opt_inet.h"
37#include "opt_inet6.h"
38#endif
39
40#include "ixv.h"
41

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

294ixv_attach(device_t dev)
295{
296 struct adapter *adapter;
297 struct ixgbe_hw *hw;
298 int error = 0;
299
300 INIT_DEBUGOUT("ixv_attach: begin");
301
34
35#ifdef HAVE_KERNEL_OPTION_HEADERS
36#include "opt_inet.h"
37#include "opt_inet6.h"
38#endif
39
40#include "ixv.h"
41

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

294ixv_attach(device_t dev)
295{
296 struct adapter *adapter;
297 struct ixgbe_hw *hw;
298 int error = 0;
299
300 INIT_DEBUGOUT("ixv_attach: begin");
301
302 if (resource_disabled("ixgbe", device_get_unit(dev))) {
303 device_printf(dev, "Disabled by device hint\n");
304 return (ENXIO);
305 }
306
302 /* Allocate, clear, and link in our adapter structure */
303 adapter = device_get_softc(dev);
304 adapter->dev = adapter->osdep.dev = dev;
305 hw = &adapter->hw;
306
307 /* Core Lock Init*/
308 IXV_CORE_LOCK_INIT(adapter, device_get_nameunit(dev));
309

--- 3708 unchanged lines hidden ---
307 /* Allocate, clear, and link in our adapter structure */
308 adapter = device_get_softc(dev);
309 adapter->dev = adapter->osdep.dev = dev;
310 hw = &adapter->hw;
311
312 /* Core Lock Init*/
313 IXV_CORE_LOCK_INIT(adapter, device_get_nameunit(dev));
314

--- 3708 unchanged lines hidden ---