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/lnc | |
| parent | a782a31edc506a454d032c6f3f87236d04042163 (diff) | |
Notes
Diffstat (limited to 'sys/dev/lnc')
| -rw-r--r-- | sys/dev/lnc/if_lnc.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index e31c600c823f..e5f6c7341714 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_lnc.c,v 1.45 1998/08/24 02:28:15 bde Exp $ + * $Id: if_lnc.c,v 1.46 1998/09/17 13:09:16 jkh Exp $ */ /* @@ -177,6 +177,7 @@ static int pcnet_probe __P((struct lnc_softc *sc)); static int lnc_attach_sc __P((struct lnc_softc *sc, int unit)); static int lnc_attach __P((struct isa_device *isa_dev)); static void lnc_init __P((struct lnc_softc *sc)); +static ointhand2_t lncintr; static __inline int mbuf_to_buffer __P((struct mbuf *m, char *buffer)); static __inline struct mbuf *chain_to_cluster __P((struct mbuf *m)); static void lnc_start __P((struct ifnet *ifp)); @@ -1273,8 +1274,10 @@ lnc_attach(struct isa_device * isa_dev) { int unit = isa_dev->id_unit; struct lnc_softc *sc = &lnc_softc[unit]; + int result; - int result = lnc_attach_sc (sc, unit); + isa_dev->id_ointr = lncintr; + result = lnc_attach_sc (sc, unit); if (result == 0) return (0); @@ -1592,7 +1595,7 @@ lncintr_sc(struct lnc_softc *sc) } } -void +static void lncintr(int unit) { struct lnc_softc *sc = &lnc_softc[unit]; |
