Claim the interrupt when leaving the interrupt handler as there can
only ever be a owner of the netslot interrupt. Don't declare ebintr() as static.
This commit is contained in:
parent
27ab616466
commit
857439698b
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: if_eb.c,v 1.7 1996/06/03 22:39:16 mark Exp $ */
|
/* $NetBSD: if_eb.c,v 1.8 1996/06/12 21:01:56 mark Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1995 Mark Brinicombe
|
* Copyright (c) 1995 Mark Brinicombe
|
||||||
@ -141,7 +141,7 @@ struct eb_softc {
|
|||||||
* prototypes
|
* prototypes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int ebintr __P((void *));
|
int ebintr __P((void *));
|
||||||
static int eb_init __P((struct eb_softc *));
|
static int eb_init __P((struct eb_softc *));
|
||||||
static int eb_ioctl __P((struct ifnet *, u_long, caddr_t));
|
static int eb_ioctl __P((struct ifnet *, u_long, caddr_t));
|
||||||
static void eb_start __P((struct ifnet *));
|
static void eb_start __P((struct ifnet *));
|
||||||
@ -1208,7 +1208,8 @@ ebintr(arg)
|
|||||||
status = ReadShort(iobase + EB_8004_STATUS);
|
status = ReadShort(iobase + EB_8004_STATUS);
|
||||||
dprintf(("st=%04x\n", status));
|
dprintf(("st=%04x\n", status));
|
||||||
#endif
|
#endif
|
||||||
return(0);
|
|
||||||
|
return(1); /* Claim the interrupt */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user