Fix screwed up previous commit.

Obviously no-one is using this card on ISA as the interrupts
were NOT being handled.
This commit is contained in:
Julian Elischer 1999-01-18 21:23:47 +00:00
parent a671d614ca
commit b645ff7fc3
3 changed files with 27 additions and 12 deletions

View File

@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: if_sr.c,v 1.18 1999/01/12 01:17:00 eivind Exp $ * $Id: if_sr.c,v 1.19 1999/01/18 07:55:02 julian Exp $
*/ */
/* /*
@ -860,15 +860,20 @@ srattach(struct sr_hardc *hc)
} }
/* /*
* Get the ISA interrupts * N2 Interrupt Service Routine.
* Get the ISA interrupts.
*
* First figure out which SCA gave the interrupt.
*
*/ */
void static void
srintr(void * cookie) srintr(int init)
{ {
struct sr_hardc *hc; struct sr_hardc *hc;
hc = &sr_hardc[unit]; hc = &sr_hardc[unit];
srintr_hc(hc); srintr_hc(hc);
return; return;
} }

View File

@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: if_sr.c,v 1.18 1999/01/12 01:17:00 eivind Exp $ * $Id: if_sr.c,v 1.19 1999/01/18 07:55:02 julian Exp $
*/ */
/* /*
@ -860,15 +860,20 @@ srattach(struct sr_hardc *hc)
} }
/* /*
* Get the ISA interrupts * N2 Interrupt Service Routine.
* Get the ISA interrupts.
*
* First figure out which SCA gave the interrupt.
*
*/ */
void static void
srintr(void * cookie) srintr(int init)
{ {
struct sr_hardc *hc; struct sr_hardc *hc;
hc = &sr_hardc[unit]; hc = &sr_hardc[unit];
srintr_hc(hc); srintr_hc(hc);
return; return;
} }

View File

@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $Id: if_sr.c,v 1.18 1999/01/12 01:17:00 eivind Exp $ * $Id: if_sr.c,v 1.19 1999/01/18 07:55:02 julian Exp $
*/ */
/* /*
@ -860,15 +860,20 @@ srattach(struct sr_hardc *hc)
} }
/* /*
* Get the ISA interrupts * N2 Interrupt Service Routine.
* Get the ISA interrupts.
*
* First figure out which SCA gave the interrupt.
*
*/ */
void static void
srintr(void * cookie) srintr(int init)
{ {
struct sr_hardc *hc; struct sr_hardc *hc;
hc = &sr_hardc[unit]; hc = &sr_hardc[unit];
srintr_hc(hc); srintr_hc(hc);
return; return;
} }