From owner-freebsd-net Fri Jan 5 2:46:22 2001 From owner-freebsd-net@FreeBSD.ORG Fri Jan 5 02:46:20 2001 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from euitt.upm.es (haddock.euitt.upm.es [138.100.52.102]) by hub.freebsd.org (Postfix) with ESMTP id 3A37C37B400 for ; Fri, 5 Jan 2001 02:46:19 -0800 (PST) Received: from deneb.euitt.upm.es (deneb.euitt.upm.es [138.100.52.12]) by euitt.upm.es (8.9.3/8.9.3) with ESMTP id LAA18683 for ; Fri, 5 Jan 2001 11:46:07 +0100 (MET) Date: Fri, 5 Jan 2001 11:46:07 +0100 (CET) From: "Pedro J. Lobo" To: freebsd-net@freebsd.org Subject: Updated fxp VLAN patch for 4.2-RELEASE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, all. I've put in my web page (http://www.euitt.upm.es/~pjlobo/fbsdvlan.html) an updated version of the patch to add vlan support to the fxp driver. This patch differs from the previous releases in two major aspects: - It doesn't modify if_vlan.c anymore. Instead, it uses ifi_hdrlen to tell if_vlan.c that it supports long frames. - It adds hardware support for long frames for the 82558/9 controllers. The code is taken from the OpenBSD driver. I'd suggest that this patch should be merged into the main tree, but there is still a minor problem: the physical device's output byte counter is still broken. All other counters (input and output) work as expenced, and the virtual devices's counters are all ok. I still haven't found the time to investigate it. Any comment, suggestion, etc., is welcome. Cheers, Pedro. -- -------------------------------------------------------------------- Pedro José Lobo Perea Tel: +34 913367819 / Fax: +34 913319229 Centro de Cálculo e-mail: pjlobo@euitt.upm.es E.U.I.T. Telecomunicación Universidad Politécnica de Madrid Ctra. de Valencia, Km. 7 E-28031 Madrid - España / Spain To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message