Date: Thu, 31 May 2001 15:08:46 -0700 (PDT) From: Bill Paul <wpaul@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h Message-ID: <200105312208.f4VM8ki67740@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105312208.f4VM8ki67740>