Permalink
Browse files

<machine/param.h>: 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.
  • Loading branch information...
1 parent d679f65 commit 1743f68f80430d043b43bdb652adf9997b1fd407 Sascha Wildner committed Apr 6, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 sys/cpu/i386/include/param.h
  2. +1 −0 sys/cpu/x86_64/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)
@@ -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)

0 comments on commit 1743f68

Please sign in to comment.