summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/sr/if_sr.c22
-rw-r--r--sys/dev/sr/if_sr_isa.c22
-rw-r--r--sys/i386/isa/if_sr.c22
-rw-r--r--sys/i386/isa/istallion.c5
4 files changed, 6 insertions, 65 deletions
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c
index e7a2083..f655599 100644
--- a/sys/dev/sr/if_sr.c
+++ b/sys/dev/sr/if_sr.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)
{
diff --git a/sys/dev/sr/if_sr_isa.c b/sys/dev/sr/if_sr_isa.c
index e7a2083..f655599 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)
{
diff --git a/sys/i386/isa/if_sr.c b/sys/i386/isa/if_sr.c
index e7a2083..f655599 100644
--- a/sys/i386/isa/if_sr.c
+++ b/sys/i386/isa/if_sr.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)
{
diff --git a/sys/i386/isa/istallion.c b/sys/i386/isa/istallion.c
index d0d172d..51db908 100644
--- a/sys/i386/isa/istallion.c
+++ b/sys/i386/isa/istallion.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: istallion.c,v 1.21 1998/08/23 08:26:40 bde Exp $
+ * $Id: istallion.c,v 1.22 1998/08/23 09:57:09 bde Exp $
*/
/*****************************************************************************/
@@ -540,7 +540,6 @@ struct tty *stlidevtotty(dev_t dev);
* Internal function prototypes.
*/
static stliport_t *stli_dev2port(dev_t dev);
-static int stli_chksharemem(void);
static int stli_isaprobe(struct isa_device *idp);
static int stli_eisaprobe(struct isa_device *idp);
static int stli_mcaprobe(struct isa_device *idp);
@@ -3548,6 +3547,7 @@ static int stli_brdattach(stlibrd_t *brdp)
* FIX: need to start this optimization somewhere...
*/
+#ifdef notdef
static int stli_chksharemem()
{
stlibrd_t *brdp, *nxtbrdp;
@@ -3597,6 +3597,7 @@ static int stli_chksharemem()
return(0);
}
+#endif /* notdef */
/*****************************************************************************/
OpenPOWER on IntegriCloud