Deleted Added
sdiff udiff text old ( 148887 ) new ( 150306 )
full compact
1/*******************************************************************************
2
3Copyright (c) 2001-2004, Intel Corporation
4All rights reserved.
5
6Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions are met:
8

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

26SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30POSSIBILITY OF SUCH DAMAGE.
31
32***************************************************************************/
33
34/*$FreeBSD: head/sys/dev/ixgb/if_ixgb.c 150306 2005-09-19 03:10:21Z imp $*/
35
36#include <dev/ixgb/if_ixgb.h>
37
38/*********************************************************************
39 * Set this to one to display debug statistics
40 *********************************************************************/
41int ixgb_display_debug_stats = 0;
42

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

373
374 ixgb_stop(adapter);
375 IXGB_UNLOCK(adapter);
376
377#if __FreeBSD_version < 500000
378 ether_ifdetach(adapter->ifp, ETHER_BPF_SUPPORTED);
379#else
380 ether_ifdetach(adapter->ifp);
381#endif
382 ixgb_free_pci_resources(adapter);
383#if __FreeBSD_version >= 500000
384 if_free(adapter->ifp);
385#endif
386
387 /* Free Transmit Descriptor ring */
388 if (adapter->tx_desc_base) {
389 ixgb_dma_free(adapter, &adapter->txdma);
390 adapter->tx_desc_base = NULL;
391 }
392 /* Free Receive Descriptor ring */
393 if (adapter->rx_desc_base) {
394 ixgb_dma_free(adapter, &adapter->rxdma);

--- 2111 unchanged lines hidden ---