summaryrefslogtreecommitdiff
path: root/sys/dev/sr/if_sr_isa.c
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1999-01-12 01:17:01 +0000
committerEivind Eklund <eivind@FreeBSD.org>1999-01-12 01:17:01 +0000
commitb6fb09837c311a2b256fd63e5142958fa827c9d0 (patch)
treeaabc224d75d85e61eb30fb26fdaa996cd4dd5855 /sys/dev/sr/if_sr_isa.c
parenta0359a7c84a97c529293c495bc20c8e8e1b2699b (diff)
downloadsrc-test2-b6fb09837c311a2b256fd63e5142958fa827c9d0.tar.gz
src-test2-b6fb09837c311a2b256fd63e5142958fa827c9d0.zip
Notes
Diffstat (limited to 'sys/dev/sr/if_sr_isa.c')
-rw-r--r--sys/dev/sr/if_sr_isa.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/dev/sr/if_sr_isa.c b/sys/dev/sr/if_sr_isa.c
index e7a2083be2d7..f65559956440 100644
--- a/sys/dev/sr/if_sr_isa.c
+++ b/sys/dev/sr/if_sr_isa.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_sr.c,v 1.16 1998/10/22 05:58:39 bde Exp $
+ * $Id: if_sr.c,v 1.17 1998/12/16 18:42:38 phk Exp $
*/
/*
@@ -270,7 +270,6 @@ struct sr_hardc *srattach_pci(int unit, vm_offset_t plx_vaddr,
void srintr_hc(struct sr_hardc *hc);
static int srattach(struct sr_hardc *hc);
-static ointhand2_t srintr;
static void sr_xmit(struct sr_softc *sc);
static void srstart(struct ifnet *ifp);
static int srioctl(struct ifnet *ifp, u_long cmd, caddr_t data);
@@ -857,25 +856,6 @@ srattach(struct sr_hardc *hc)
return 1;
}
-/*
- * N2 Interrupt Service Routine
- *
- * First figure out which SCA gave the interrupt.
- * Process it.
- * See if there is other interrupts pending.
- * Repeat until there no interrupts remain.
- */
-static void
-srintr(int unit)
-{
- struct sr_hardc *hc;
-
- hc = &sr_hardc[unit];
- srintr_hc(hc);
-
- return;
-}
-
void
srintr_hc(struct sr_hardc *hc)
{