This is an automated email from Gerrit.

"Marc Schink <[email protected]>" just uploaded a new patch set to Gerrit, which you 
can find at https://review.openocd.org/c/openocd/+/9537

-- gerrit

commit 1a0fe85865cd3c3ed853746199a60251dfc933e8
Author: Marc Schink <[email protected]>
Date:   Wed Mar 11 10:45:38 2026 +0100

    Remove ppdev parallel port configuration options
    
    Clean up all configuration options related to ppdev parallel port support,
    which is now the only remaining backend since giveio and Windows support
    were removed.
    
    Change-Id: I172a35e4388e074a86f305a1f4a8cdf0b69d643a
    Signed-off-by: Marc Schink <[email protected]>

diff --git a/README.md b/README.md
index bf26d59038..e7aef54719 100644
--- a/README.md
+++ b/README.md
@@ -306,10 +306,6 @@ For a more or less complete script that does all this for 
you, see `contrib/cros
 
 ### Parallel Port Dongles
 
-If you want to access the parallel port using the PPDEV interface you
-have to specify both `--enable-parport` and `--enable-parport-ppdev`, since
-the later option is an option to the parport driver.
-
 The same is true for the `--enable-parport-giveio` option, you have to
 use both the `--enable-parport` and the `--enable-parport-giveio` option
 if you want to use giveio instead of ioperm parallel port access
diff --git a/configure.ac b/configure.ac
index 9cf116abd3..12b4c533a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -294,11 +294,6 @@ AC_ARG_ADAPTERS([
 AC_ARG_ADAPTERS([HOST_ARM_BITBANG_ADAPTERS],[no])
 AC_ARG_ADAPTERS([HOST_ARM_OR_AARCH64_BITBANG_ADAPTERS],[no])
 
-AC_ARG_ENABLE([parport_ppdev],
-  AS_HELP_STRING([--disable-parport-ppdev],
-      [Disable use of ppdev (/dev/parportN) for parport (for x86 only)]),
-    [parport_use_ppdev=$enableval], [parport_use_ppdev=yes])
-
 AC_ARG_ENABLE([parport_giveio],
     AS_HELP_STRING([--enable-parport-giveio],
       [Enable use of giveio for parport (deprecated, for CygWin only)]),
@@ -339,20 +334,11 @@ AC_ARG_ENABLE([internal-libjaylink],
   [Enable building internal libjaylink]),
   [use_internal_libjaylink=$enableval], [use_internal_libjaylink=no])
 
-AS_CASE(["${host_cpu}"],
-  [i?86|x86*], [],
-  [
-    AS_IF([test "x$parport_use_ppdev" = "xno"], [
-      AC_MSG_ERROR([--disable-parport-ppdev is not supported by the host CPU])
-    ])
-])
-
 can_build_buspirate=yes
 
 AS_CASE([$host_os],
   [cygwin*], [
     is_win32=yes
-    parport_use_ppdev=no
 
     AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[return __MINGW32__;]])],
       [is_mingw=yes],[is_mingw=no])
@@ -373,7 +359,6 @@ AS_CASE([$host_os],
   [mingw* | msys*], [
     is_mingw=yes
     is_win32=yes
-    parport_use_ppdev=no
 
     AS_IF([test "x$parport_use_giveio" = "xno"], [
       AC_MSG_WARN([--disable-parport-giveio is not supported by MinGW32 hosts])
@@ -432,12 +417,6 @@ AS_IF([test "x$ADAPTER_VAR([dummy])" != "xno"], [
   build_bitbang=yes
 ])
 
-AS_IF([test "x$parport_use_ppdev" = "xyes"], [
-  AC_DEFINE([PARPORT_USE_PPDEV], [1], [1 if you want parport to use ppdev.])
-], [
-  AC_DEFINE([PARPORT_USE_PPDEV], [0], [0 if you don't want parport to use 
ppdev.])
-])
-
 AS_IF([test "x$parport_use_giveio" = "xyes"], [
   AC_DEFINE([PARPORT_USE_GIVEIO], [1], [1 if you want parport to use giveio.])
 ], [

-- 

Reply via email to