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/sr | |
| parent | a782a31edc506a454d032c6f3f87236d04042163 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sr')
| -rw-r--r-- | sys/dev/sr/if_sr.c | 5 | ||||
| -rw-r--r-- | sys/dev/sr/if_sr_isa.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c index 236bb42f0d1d4..85cbb7090d9c5 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.14 1998/06/17 13:54:56 bde Exp $ + * $Id: if_sr.c,v 1.15 1998/06/21 14:53:12 bde Exp $ */ /* @@ -270,6 +270,7 @@ 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); @@ -864,7 +865,7 @@ srattach(struct sr_hardc *hc) * See if there is other interrupts pending. * Repeat until there no interrupts remain. */ -void +static void srintr(int unit) { struct sr_hardc *hc; diff --git a/sys/dev/sr/if_sr_isa.c b/sys/dev/sr/if_sr_isa.c index 236bb42f0d1d4..85cbb7090d9c5 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.14 1998/06/17 13:54:56 bde Exp $ + * $Id: if_sr.c,v 1.15 1998/06/21 14:53:12 bde Exp $ */ /* @@ -270,6 +270,7 @@ 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); @@ -864,7 +865,7 @@ srattach(struct sr_hardc *hc) * See if there is other interrupts pending. * Repeat until there no interrupts remain. */ -void +static void srintr(int unit) { struct sr_hardc *hc; |
