Deleted Added
full compact
if_cm_isa.c (148887) if_cm_isa.c (150306)
1/* $NetBSD: if_bah_zbus.c,v 1.6 2000/01/23 21:06:12 aymeric Exp $ */
2
3#include <sys/cdefs.h>
1/* $NetBSD: if_bah_zbus.c,v 1.6 2000/01/23 21:06:12 aymeric Exp $ */
2
3#include <sys/cdefs.h>
4__FBSDID("$FreeBSD: head/sys/dev/cm/if_cm_isa.c 148887 2005-08-09 10:20:02Z rwatson $");
4__FBSDID("$FreeBSD: head/sys/dev/cm/if_cm_isa.c 150306 2005-09-19 03:10:21Z imp $");
5
6/*-
7 * Copyright (c) 1994, 1995, 1998 The NetBSD Foundation, Inc.
8 * All rights reserved.
9 *
10 * This code is derived from software contributed to The NetBSD Foundation
11 * by Ignatios Souvatzis.
12 *

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

106 struct ifnet *ifp = sc->sc_ifp;
107 int s;
108
109 cm_stop(sc);
110 ifp->if_drv_flags &= ~IFF_DRV_RUNNING;
111
112 s = splimp();
113 arc_ifdetach(ifp);
5
6/*-
7 * Copyright (c) 1994, 1995, 1998 The NetBSD Foundation, Inc.
8 * All rights reserved.
9 *
10 * This code is derived from software contributed to The NetBSD Foundation
11 * by Ignatios Souvatzis.
12 *

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

106 struct ifnet *ifp = sc->sc_ifp;
107 int s;
108
109 cm_stop(sc);
110 ifp->if_drv_flags &= ~IFF_DRV_RUNNING;
111
112 s = splimp();
113 arc_ifdetach(ifp);
114 if_free(ifp);
115 splx(s);
116
117 bus_teardown_intr(dev, sc->irq_res, sc->irq_handle);
114 splx(s);
115
116 bus_teardown_intr(dev, sc->irq_res, sc->irq_handle);
117 if_free(ifp);
118 cm_release_resources(dev);
119
120 return (0);
121}
122
123static device_method_t cm_isa_methods[] = {
124 /* Device interface */
125 DEVMETHOD(device_probe, cm_isa_probe),

--- 14 unchanged lines hidden ---
118 cm_release_resources(dev);
119
120 return (0);
121}
122
123static device_method_t cm_isa_methods[] = {
124 /* Device interface */
125 DEVMETHOD(device_probe, cm_isa_probe),

--- 14 unchanged lines hidden ---