diff options
| author | Guillem Jover <guillem@debian.org> | 2004-09-18 20:26:10 +0000 |
|---|---|---|
| committer | Guillem Jover <guillem@debian.org> | 2004-09-18 20:26:10 +0000 |
| commit | ec599ca7c872fbb4af6eee553fb390d611b90fc6 (patch) | |
| tree | 9012c653772ed1705ac7067d06800cc00e75997d /debian/patches | |
| parent | 229d47897a696265c102342dc3029af89c1a93f9 (diff) | |
Use AS_HELP_STRING.
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/13_ide_dma.patch | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/debian/patches/13_ide_dma.patch b/debian/patches/13_ide_dma.patch index cde41cb..e007740 100644 --- a/debian/patches/13_ide_dma.patch +++ b/debian/patches/13_ide_dma.patch @@ -1,5 +1,8 @@ #DPATCHLEVEL=0 +Not --enable-forcedma by default, it's too dangerous on non-DMA supporting +hardware. + diff -Naur i386.orig/linux/configure.ac i386/linux/configure.ac --- i386.orig/linux/configure.ac 2004-09-17 01:03:19.000000000 +0200 @@ -8,10 +11,10 @@ diff -Naur i386.orig/linux/configure.ac i386/linux/configure.ac AC_DRIVER([ide], [CONFIG_BLK_DEV_IDE], [ \ cmd640.o ide-cd.o ide.o rz1000.o triton.o]) -+AC_ARG_ENABLE([forcedma], [], [forcedma=$enableval], [forcedma=no]) -+if test x"$forcedma" = xno; then -+ AC_DEFINE([CONFIG_BLK_DEV_FORCE_DMA], [], [Force DMA on block devices]) -+fi ++AC_ARG_ENABLE([forcedma], ++ AS_HELP_STRING([--enable-forcedma], [enable forced use of DMA]), ++ [test x"$enableval" = xno && ++ AC_DEFINE([CONFIG_BLK_DEV_FORCE_DMA], [], [Force DMA on block devices])]) + dnl SCSI Disk controllers |
