From 1743f68f80430d043b43bdb652adf9997b1fd407 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 6 Apr 2012 17:42:09 +0200 Subject: [PATCH] : Bring back the DFLTPHYS define. This is needed in pkgsrc, too, at least in graphics/sane-backends, which is needed by KDE4 via ksaneplugin. Until the impact on pkgsrc has been estimated and fixed, this define will stay. --- sys/cpu/i386/include/param.h | 1 + sys/cpu/x86_64/include/param.h | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/cpu/i386/include/param.h b/sys/cpu/i386/include/param.h index a96628f1ae..d792843aaa 100644 --- a/sys/cpu/i386/include/param.h +++ b/sys/cpu/i386/include/param.h @@ -125,6 +125,7 @@ #ifndef BLKDEV_IOSIZE #define BLKDEV_IOSIZE PAGE_SIZE /* default block device I/O size */ #endif +#define DFLTPHYS (64 * 1024) /* default max raw I/O transfer size */ #define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ #define MAXDUMPPGS (MAXPHYS/PAGE_SIZE) diff --git a/sys/cpu/x86_64/include/param.h b/sys/cpu/x86_64/include/param.h index 95cb18b8b9..0c506254ce 100644 --- a/sys/cpu/x86_64/include/param.h +++ b/sys/cpu/x86_64/include/param.h @@ -140,6 +140,7 @@ #ifndef BLKDEV_IOSIZE #define BLKDEV_IOSIZE PAGE_SIZE /* default block device I/O size */ #endif +#define DFLTPHYS (64 * 1024) /* default max raw I/O transfer size */ #define MAXPHYS (128 * 1024) /* max raw I/O transfer size */ #define MAXDUMPPGS (MAXPHYS/PAGE_SIZE) -- 2.11.4.GIT