opnsense-src/sys/dev/amr
John Baldwin ce4857d146 The amr(4) firmware contains a rather dubious "feature" where it
assumes for small buffers (< 64k) that the OS driver is actually using
a buffer rounded up to the next power of 2.  It also assumes that the
buffer is at least 4k in size.  Furthermore, there is at least one
known instance of megarc sending a request with a 12k buffer where the
firmware writes out a 24k-ish reply.

To workaround the data corruption triggered by this "feature", ensure
that buffers for user commands use a minimum size of 32k, and that
buffers between 32k and 64k use a 64k buffer.

PR:		kern/155658
Submitted by:	Andreas Longwitz  longwitz incore de
Reviewed by:	scottl
MFC after:	1 week
2012-04-20 20:27:31 +00:00
..
amr.c The amr(4) firmware contains a rather dubious "feature" where it 2012-04-20 20:27:31 +00:00
amr_cam.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
amr_disk.c Implement BIO_FLUSH handling for da(4), amr(4), ata(4) and ataraid(4). 2006-10-31 21:19:25 +00:00
amr_linux.c Second-to-last commit implementing Capsicum capabilities in the FreeBSD 2011-08-11 12:30:23 +00:00
amr_pci.c Convert a number of drivers to obtaining their parent DMA tag from their 2012-03-12 08:03:51 +00:00
amr_tables.h
amrio.h Mega update to the LSI MegaRAID driver: 2005-12-14 03:26:49 +00:00
amrreg.h Remove an errant definition for AMR_CONFIG_ENQ3_SOLICITED NOTIFY that was 2008-02-06 14:26:31 +00:00
amrvar.h Fix clang warning on empty statement. 2010-07-28 16:24:11 +00:00