kern/120915: [de] [patch] GENERIC does not boot: if_de is broken
John Baldwin
jhb at FreeBSD.org
Wed Mar 26 21:10:02 UTC 2008
The following reply was made to PR kern/120915; it has been noted by GNATS.
From: John Baldwin <jhb at FreeBSD.org>
To: bug-followup at FreeBSD.org, pmc at citylink.dinoex.sub.org
Cc:
Subject: Re: kern/120915: [de] [patch] GENERIC does not boot: if_de is broken
Date: Wed, 26 Mar 2008 17:01:24 -0400
This patch is a slight variant on the above and other places in the driver use
the DEVICEPROBE test to determine if the mediaselect testpacket bit is being
done:
Index: if_de.c
===================================================================
RCS file: /usr/cvs/src/sys/dev/de/if_de.c,v
retrieving revision 1.183
diff -u -r1.183 if_de.c
--- if_de.c 7 Jun 2007 00:28:47 -0000 1.183
+++ if_de.c 26 Mar 2008 20:58:19 -0000
@@ -4053,7 +4053,8 @@
/*
* bounce a copy to the bpf listener, if any.
*/
- BPF_MTAP(sc->tulip_ifp, m);
+ if (!(sc->tulip_flags & TULIP_DEVICEPROBE))
+ BPF_MTAP(sc->tulip_ifp, m);
/*
* The descriptors have been filled in. Now get ready
--
John Baldwin
More information about the freebsd-bugs
mailing list