mirror of https://github.com/OpenIPC/firmware.git
15 lines
434 B
Diff
15 lines
434 B
Diff
--- linux-4.9.37/include/linux/blkdev.h 2017-07-12 16:42:41.000000000 +0300
|
|
+++ linux-4.9.y/include/linux/blkdev.h 2021-06-07 13:01:34.000000000 +0300
|
|
@@ -1174,7 +1174,11 @@
|
|
enum blk_default_limits {
|
|
BLK_MAX_SEGMENTS = 128,
|
|
BLK_SAFE_MAX_SECTORS = 255,
|
|
+#ifndef CONFIG_GOKE_MC
|
|
BLK_DEF_MAX_SECTORS = 2560,
|
|
+#else
|
|
+ BLK_DEF_MAX_SECTORS = 8192,
|
|
+#endif
|
|
BLK_MAX_SEGMENT_SIZE = 65536,
|
|
BLK_SEG_BOUNDARY_MASK = 0xFFFFFFFFUL,
|
|
};
|