diff options
author | hm <hm@FreeBSD.org> | 2001-10-24 14:12:47 +0000 |
---|---|---|
committer | hm <hm@FreeBSD.org> | 2001-10-24 14:12:47 +0000 |
commit | 842198f766d8a26706006f225aea45743ce335d0 (patch) | |
tree | 50a6ead67b61f6d1be4dd06d43979b98ba7b140d /sys/i4b/driver | |
parent | 03f3f444737b68ca5b8f8bbf39e8695133ab0bb1 (diff) | |
download | FreeBSD-src-842198f766d8a26706006f225aea45743ce335d0.zip FreeBSD-src-842198f766d8a26706006f225aea45743ce335d0.tar.gz |
fix kvprintf panic in attach routine
Diffstat (limited to 'sys/i4b/driver')
-rw-r--r-- | sys/i4b/driver/i4b_ipr.c | 7 |
1 files changed, 1 insertions, 6 deletions
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__ |