Re: [PATCH] Kconfig cleanup (PARPORT_PC dependencies)

From: H. Peter Anvin
Date: Thu Sep 12 2013 - 16:09:26 EST


On 09/12/2013 11:53 AM, Mark Salter wrote:
>
> diff --git a/drivers/parport/Kconfig b/drivers/parport/Kconfig
> index 70694ce..fa005a9 100644
> --- a/drivers/parport/Kconfig
> +++ b/drivers/parport/Kconfig
> @@ -35,9 +35,7 @@ if PARPORT
>
> config PARPORT_PC
> tristate "PC-style hardware"
> - depends on (!SPARC64 || PCI) && !SPARC32 && !M32R && !FRV && !S390 && \
> - (!M68K || ISA) && !MN10300 && !AVR32 && !BLACKFIN && \
> - !XTENSA && !CRIS && !H8300
> + depends on ARCH_MAY_HAVE_PC_PARPORT
>
> ---help---
> You should say Y here if you have a PC-style parallel port. All
>

I'm somewhat astonished that this driver is that problematic. It is
really just a very basic PIO interface, at least in the absence of EPP/ECP.

It is, of course, also largely a dead interface at this point so it
probably doesn't matter.

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/