Page MenuHomeFreeBSD

D28023.diff
No OneTemporary

D28023.diff

diff --git a/sys/dev/isci/scil/sci_controller_constants.h b/sys/dev/isci/scil/sci_controller_constants.h
--- a/sys/dev/isci/scil/sci_controller_constants.h
+++ b/sys/dev/isci/scil/sci_controller_constants.h
@@ -157,7 +157,7 @@
* posted to hardware always contain pairs of elements (with second
* element set to zeroes if not needed).
*/
-#define __MAXPHYS_ELEMENTS ((128 * 1024 / PAGE_SIZE) + 1)
+#define __MAXPHYS_ELEMENTS ((maxphys / PAGE_SIZE) + 1)
#define SCI_MAX_SCATTER_GATHER_ELEMENTS ((__MAXPHYS_ELEMENTS + 1) & ~0x1)
#endif

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 4:26 PM (21 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14742518
Default Alt Text
D28023.diff (545 B)

Event Timeline