PERFORCE change 109803 for review
Sam Leffler
sam at FreeBSD.org
Sun Nov 12 16:48:28 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109803
Change 109803 by sam at sam_ebb on 2006/11/12 16:47:56
update comments
Affected files ...
.. //depot/projects/arm/src/sys/arm/xscale/ixp425/if_npereg.h#7 edit
Differences ...
==== //depot/projects/arm/src/sys/arm/xscale/ixp425/if_npereg.h#7 (text+ko) ====
@@ -61,15 +61,15 @@
#define ARM_XSCALE_IF_NPEREG_H
/*
- * NPE/NPE tx/rx descriptor format. This data structure has an
- * area used by the driver followed by an area shared with ucode
- * running in the NPE. The latter must be cacheline-aligned;
- * hence the unused space in the s/w area. We allocate NPE_MAXSEG
- * "descriptors" per buffer; this allows us to do minimal s/g.
- * The number of descriptors can be expanded but doing so uses
- * memory so should be done with care.
+ * NPE/NPE tx/rx descriptor format. This is just the area
+ * shared with ucode running in the NPE; the driver-specific
+ * state is defined in the driver. The shared area must be
+ * cacheline-aligned. We allocate NPE_MAXSEG "descriptors"
+ * per buffer; this allows us to do minimal s/g. The number
+ * of descriptors can be expanded but doing so uses memory
+ * so should be done with care.
*
- * These buffers are setup in uncached memory.
+ * The driver sets up buffers in uncached memory.
*/
#define NPE_MAXSEG 3 /* empirically selected */
More information about the p4-projects
mailing list