From 842198f766d8a26706006f225aea45743ce335d0 Mon Sep 17 00:00:00 2001 From: hm Date: Wed, 24 Oct 2001 14:12:47 +0000 Subject: fix kvprintf panic in attach routine --- sys/i4b/driver/i4b_ipr.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/i4b/driver/i4b_ipr.c') diff --git a/sys/i4b/driver/i4b_ipr.c b/sys/i4b/driver/i4b_ipr.c index fd307e6..fc5266f 100644 --- a/sys/i4b/driver/i4b_ipr.c +++ b/sys/i4b/driver/i4b_ipr.c @@ -29,7 +29,7 @@ * * $FreeBSD$ * - * last edit-date: [Fri Jan 12 15:43:51 2001] + * last edit-date: [Wed Oct 24 16:04:53 2001] * *---------------------------------------------------------------------------* * @@ -366,12 +366,7 @@ i4biprattach() sc->sc_dialresp = DSTAT_NONE; /* no response */ sc->sc_lastdialresp = DSTAT_NONE; -#if defined(__FreeBSD_version) && ((__FreeBSD_version >= 500009) || (410000 <= __FreeBSD_version && __FreeBSD_version < 500000)) - /* do not call bpfattach in ether_ifattach */ - ether_ifattach(&sc->sc_if, 0); -#else if_attach(&sc->sc_if); -#endif #if NBPFILTER > 0 || NBPF > 0 #ifdef __FreeBSD__ -- cgit v1.1