From owner-cvs-all Thu May 31 15: 8:50 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DFDC337B423; Thu, 31 May 2001 15:08:46 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4VM8ki67740; Thu, 31 May 2001 15:08:46 -0700 (PDT) (envelope-from wpaul) Message-Id: <200105312208.f4VM8ki67740@freefall.freebsd.org> From: Bill Paul Date: Thu, 31 May 2001 15:08:46 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG wpaul 2001/05/31 15:08:46 PDT Modified files: sys/pci if_xl.c if_xlreg.h Log: Close PR #27742: allow the xl driver to receive VLAN tagged frames by setting the 'max packet size' register in window 3. This only works for cards based on the cyclone or newer chipsets (i.e. it won't work with the original 3c905/boomerang cards). There is a trick which will work with the boomerang, which is to turn on the 'large packets ok' bit in the MAC control register, however this lets the chip accept any frame up to 4K in length, which is larger than the mbuf cluster buffers we use to receive frames. If somebody sends us such a frame and the chip DMAs it to us, it could write past the end of the cluster buffer and clobber something. PR: kern/27742 Revision Changes Path 1.93 +16 -4 src/sys/pci/if_xl.c 1.33 +3 -2 src/sys/pci/if_xlreg.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message