OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Damien Bergamini (damiencvs.openbsd.org)
Date: Mon Aug 28 2006 - 14:47:43 CDT


CVSROOT: /cvs
Module name: src
Changes by: damiencvs.openbsd.org 2006/08/28 13:47:43

Modified files:
        sys/dev/pci : if_wpi.c if_wpivar.h if_wpireg.h

Log message:
Completely rework the allocation/management of Rx buffers.
The firmware expects 3KB Rx buffers so we can't just map mbuf clusters
which are only 2KB. Also it seems that Rx buffers must be aligned on
a 1KB boundary which is not necessary the case with mbuf clusters.
We want to make damn sure the firmware will not DMA anything outside the
mapped Rx buffers. The size of the Rx buffers is probably configurable
but Intel will refuse to answer to any question regarding the
programmation of the chipset, and a dump of the device registers led to
nowhere.