summaryrefslogtreecommitdiff
path: root/linux/configfrag.ac
diff options
context:
space:
mode:
authorSergio Lopez <koro@sinrega.org>2012-09-23 00:40:52 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-09-23 00:43:06 +0200
commit0ec3a87748d9e90d21116038e386cace5ea4a460 (patch)
tree6451b0579ab1c3b9aecaeffb45697254a3ba3162 /linux/configfrag.ac
parenta564ecbc2cb4441ebac32ac5300bc7840569eb30 (diff)
Update DMA auto-enabling, make forcing DMA an option
* linux/configfrag.ac (--enable-ide-forcedma): Add option. * linux/src/drivers/block/ide.c (ide_probe_promise_20246): Do not call ide_init_promise. (probe_for_hwifs): Add SI, VIA, AL PCI probing. * linux/src/drivers/block/ide.h (hwif_chipset_t): Add hpt343, udma and ultra66 chipsets. * linux/src/drivers/block/triton.c: Update to upstream 1.14 version. * linux/src/include/linux/hdreg.h (HDIO_GET_IDENTITY): Rename to ... (HDIO_OBSOLETE_IDENTITY): ... new macro. (HDIO_GET_IDENTITY): New macro. (hd_driveid): Add fields for extended identification.
Diffstat (limited to 'linux/configfrag.ac')
-rw-r--r--linux/configfrag.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/configfrag.ac b/linux/configfrag.ac
index db77fdc..f5af666 100644
--- a/linux/configfrag.ac
+++ b/linux/configfrag.ac
@@ -149,6 +149,11 @@ AC_Linux_DRIVER_qemu([ide],
[IDE disk controllers],
[CONFIG_BLK_DEV_IDE])
+AC_ARG_ENABLE([ide-forcedma],
+ AS_HELP_STRING([--enable-ide-forcedma], [enable forced use of DMA on IDE]),
+ [test x"$enableval" = xno ||
+ AC_DEFINE([CONFIG_BLK_DEV_FORCE_DMA], [1], [Force DMA on IDE block devices])])
+
dnl SCSI controllers.
AC_OPTION_Linux_group([scsi], [SCSI drivers])