Deleted Added
full compact
if_re.c (150178) if_re.c (150306)
1/*-
2 * Copyright (c) 1997, 1998-2003
3 * Bill Paul <wpaul@windriver.com>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

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
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1997, 1998-2003
3 * Bill Paul <wpaul@windriver.com>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

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
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/dev/re/if_re.c 150178 2005-09-15 19:07:10Z ru $");
34__FBSDID("$FreeBSD: head/sys/dev/re/if_re.c 150306 2005-09-19 03:10:21Z imp $");
35
36/*
37 * RealTek 8139C+/8169/8169S/8110S PCI NIC driver
38 *
39 * Written by Bill Paul <wpaul@windriver.com>
40 * Senior Networking Software Engineer
41 * Wind River Systems
42 */

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

1298 device_delete_child(dev, sc->rl_miibus);
1299 bus_generic_detach(dev);
1300
1301 /*
1302 * The rest is resource deallocation, so we should already be
1303 * stopped here.
1304 */
1305
35
36/*
37 * RealTek 8139C+/8169/8169S/8110S PCI NIC driver
38 *
39 * Written by Bill Paul <wpaul@windriver.com>
40 * Senior Networking Software Engineer
41 * Wind River Systems
42 */

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

1298 device_delete_child(dev, sc->rl_miibus);
1299 bus_generic_detach(dev);
1300
1301 /*
1302 * The rest is resource deallocation, so we should already be
1303 * stopped here.
1304 */
1305
1306 if (ifp != NULL)
1307 if_free(ifp);
1308 if (sc->rl_intrhand)
1309 bus_teardown_intr(dev, sc->rl_irq, sc->rl_intrhand);
1306 if (sc->rl_intrhand)
1307 bus_teardown_intr(dev, sc->rl_irq, sc->rl_intrhand);
1308 if (ifp != NULL)
1309 if_free(ifp);
1310 if (sc->rl_irq)
1311 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->rl_irq);
1312 if (sc->rl_res)
1313 bus_release_resource(dev, RL_RES, RL_RID, sc->rl_res);
1314
1315
1316 /* Unload and free the RX DMA ring memory and map */
1317

--- 1175 unchanged lines hidden ---
1310 if (sc->rl_irq)
1311 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->rl_irq);
1312 if (sc->rl_res)
1313 bus_release_resource(dev, RL_RES, RL_RID, sc->rl_res);
1314
1315
1316 /* Unload and free the RX DMA ring memory and map */
1317

--- 1175 unchanged lines hidden ---