summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_le.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-11-24 14:29:38 +0000
committerdg <dg@FreeBSD.org>1994-11-24 14:29:38 +0000
commit68acac5e7669e7382032efb3be686d7d31127ff7 (patch)
treef24c94cbed7412ca371d1f76bc07b9dfdcdbc432 /sys/i386/isa/if_le.c
parent72223a20dbcc102ebb53c5b477fb878dadf67674 (diff)
downloadFreeBSD-src-68acac5e7669e7382032efb3be686d7d31127ff7.zip
FreeBSD-src-68acac5e7669e7382032efb3be686d7d31127ff7.tar.gz
Moved conversion of ether_type to host byte order out of ethernet drivers
and into ether_input(). It was silly to have bpf want this one way and ether_input want it another way. Ripped out trailer support from the few remaining drivers that still had it.
Diffstat (limited to 'sys/i386/isa/if_le.c')
-rw-r--r--sys/i386/isa/if_le.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/sys/i386/isa/if_le.c b/sys/i386/isa/if_le.c
index d3ab8cf..68ed29f 100644
--- a/sys/i386/isa/if_le.c
+++ b/sys/i386/isa/if_le.c
@@ -21,9 +21,22 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_le.c,v 1.8 1994/10/19 01:59:03 wollman Exp $
+ * $Id: if_le.c,v 1.9 1994/10/23 21:27:22 wollman Exp $
*
* $Log: if_le.c,v $
+ * Revision 1.9 1994/10/23 21:27:22 wollman
+ * Finished device configuration database work for all ISA devices (except `ze')
+ * and all SCSI devices (except that it's not done quite the way I want). New
+ * information added includes:
+ *
+ * - A text description of the device
+ * - A ``state''---unknown, unconfigured, idle, or busy
+ * - A generic parent device (with support in the m.i. code)
+ * - An interrupt mask type field (which will hopefully go away) so that
+ * . ``doconfig'' can be written
+ *
+ * This requires a new version of the `lsdev' program as well (next commit).
+ *
* Revision 1.8 1994/10/19 01:59:03 wollman
* Add support for devconf to a large number of device drivers, and do
* the right thing in dev_goawayall() when kdc_goaway is null.
@@ -476,7 +489,6 @@ le_input(
return;
}
MEMCPY(&eh, seg1, sizeof(eh));
- eh.ether_type = ntohs(eh.ether_type);
#if NBPFILTER > 0
if (sc->le_bpf != NULL && seg2 == NULL) {
OpenPOWER on IntegriCloud