if_cm_isa.c (119418) | if_cm_isa.c (121816) |
---|---|
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 119418 2003-08-24 17:55:58Z obrien $"); | 4__FBSDID("$FreeBSD: head/sys/dev/cm/if_cm_isa.c 121816 2003-10-31 18:32:15Z brooks $"); |
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 * --- 78 unchanged lines hidden (view full) --- 91 92 error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET, 93 cmintr, sc, &sc->irq_handle); 94 if (error) { 95 cm_release_resources(dev); 96 return (error); 97 } 98 | 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 * --- 78 unchanged lines hidden (view full) --- 91 92 error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET, 93 cmintr, sc, &sc->irq_handle); 94 if (error) { 95 cm_release_resources(dev); 96 return (error); 97 } 98 |
99 return cm_attach(sc, device_get_unit(dev)); | 99 return cm_attach(dev); |
100} 101 102static int 103cm_isa_detach(device_t dev) 104{ 105 struct cm_softc *sc = device_get_softc(dev); 106 struct ifnet *ifp = &sc->sc_arccom.ac_if; 107 int s; --- 31 unchanged lines hidden --- | 100} 101 102static int 103cm_isa_detach(device_t dev) 104{ 105 struct cm_softc *sc = device_get_softc(dev); 106 struct ifnet *ifp = &sc->sc_arccom.ac_if; 107 int s; --- 31 unchanged lines hidden --- |