3c3
< Copyright (c) 2001-2015, Intel Corporation
---
> Copyright (c) 2001-2017, Intel Corporation
33c33
< /*$FreeBSD: stable/11/sys/dev/ixgbe/ixgbe_osdep.c 292674 2015-12-23 22:45:17Z sbruno $*/
---
> /*$FreeBSD: stable/11/sys/dev/ixgbe/ixgbe_osdep.c 320897 2017-07-11 21:25:07Z erj $*/
35d34
< #include "ixgbe_osdep.h"
38,43d36
< inline device_t
< ixgbe_dev_from_hw(struct ixgbe_hw *hw)
< {
< return ((struct adapter *)hw->back)->dev;
< }
<
47,48c40
< return pci_read_config(((struct adapter *)hw->back)->dev,
< reg, 2);
---
> return pci_read_config(((struct adapter *)hw->back)->dev, reg, 2);
54,55c46
< pci_write_config(((struct adapter *)hw->back)->dev,
< reg, value, 2);
---
> pci_write_config(((struct adapter *)hw->back)->dev, reg, value, 2);
62,63c53
< ((struct adapter *)hw->back)->osdep.mem_bus_space_handle,
< reg);
---
> ((struct adapter *)hw->back)->osdep.mem_bus_space_handle, reg);
< Copyright (c) 2001-2015, Intel Corporation
---
> Copyright (c) 2001-2017, Intel Corporation
33c33
< /*$FreeBSD: stable/11/sys/dev/ixgbe/ixgbe_osdep.c 292674 2015-12-23 22:45:17Z sbruno $*/
---
> /*$FreeBSD: stable/11/sys/dev/ixgbe/ixgbe_osdep.c 320897 2017-07-11 21:25:07Z erj $*/
35d34
< #include "ixgbe_osdep.h"
38,43d36
< inline device_t
< ixgbe_dev_from_hw(struct ixgbe_hw *hw)
< {
< return ((struct adapter *)hw->back)->dev;
< }
<
47,48c40
< return pci_read_config(((struct adapter *)hw->back)->dev,
< reg, 2);
---
> return pci_read_config(((struct adapter *)hw->back)->dev, reg, 2);
54,55c46
< pci_write_config(((struct adapter *)hw->back)->dev,
< reg, value, 2);
---
> pci_write_config(((struct adapter *)hw->back)->dev, reg, value, 2);
62,63c53
< ((struct adapter *)hw->back)->osdep.mem_bus_space_handle,
< reg);
---
> ((struct adapter *)hw->back)->osdep.mem_bus_space_handle, reg);