diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-10-22 05:58:45 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-10-22 05:58:45 +0000 |
| commit | fe310de802ddb8e453de4e7fd7e7d6302d071905 (patch) | |
| tree | 65beace35d77f90e6033287861af9d0100eb75c9 /sys/dev/ar | |
| parent | a782a31edc506a454d032c6f3f87236d04042163 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ar')
| -rw-r--r-- | sys/dev/ar/if_ar.c | 6 | ||||
| -rw-r--r-- | sys/dev/ar/if_ar_isa.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/dev/ar/if_ar.c b/sys/dev/ar/if_ar.c index adebd22e5489..374aed95fe38 100644 --- a/sys/dev/ar/if_ar.c +++ b/sys/dev/ar/if_ar.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ar.c,v 1.21 1998/06/21 14:53:10 bde Exp $ + * $Id: if_ar.c,v 1.22 1998/08/24 02:28:15 bde Exp $ */ /* @@ -178,6 +178,7 @@ static int irqtable[16] = { struct isa_driver ardriver = {arprobe, arattach, "arc"}; +static ointhand2_t arintr; static void ar_xmit(struct ar_softc *sc); static void arstart(struct ifnet *ifp); static int arioctl(struct ifnet *ifp, u_long cmd, caddr_t data); @@ -296,6 +297,7 @@ arattach(struct isa_device *id) int unit; char *iface; + id->id_ointr = arintr; switch(hc->interface) { default: iface = "UNKNOWN"; break; case AR_IFACE_EIA_232: iface = "EIA-232"; break; @@ -378,7 +380,7 @@ arattach(struct isa_device *id) * See if there is other interrupts pending. * Repeat until there is no more interrupts. */ -void +static void arintr(int unit) { struct ar_hardc *hc = &ar_hardc[unit]; diff --git a/sys/dev/ar/if_ar_isa.c b/sys/dev/ar/if_ar_isa.c index adebd22e5489..374aed95fe38 100644 --- a/sys/dev/ar/if_ar_isa.c +++ b/sys/dev/ar/if_ar_isa.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ar.c,v 1.21 1998/06/21 14:53:10 bde Exp $ + * $Id: if_ar.c,v 1.22 1998/08/24 02:28:15 bde Exp $ */ /* @@ -178,6 +178,7 @@ static int irqtable[16] = { struct isa_driver ardriver = {arprobe, arattach, "arc"}; +static ointhand2_t arintr; static void ar_xmit(struct ar_softc *sc); static void arstart(struct ifnet *ifp); static int arioctl(struct ifnet *ifp, u_long cmd, caddr_t data); @@ -296,6 +297,7 @@ arattach(struct isa_device *id) int unit; char *iface; + id->id_ointr = arintr; switch(hc->interface) { default: iface = "UNKNOWN"; break; case AR_IFACE_EIA_232: iface = "EIA-232"; break; @@ -378,7 +380,7 @@ arattach(struct isa_device *id) * See if there is other interrupts pending. * Repeat until there is no more interrupts. */ -void +static void arintr(int unit) { struct ar_hardc *hc = &ar_hardc[unit]; |
