[Linux-parport] [PATCH] parport: parport_pc: PCI SIO access should also depend on SIO option
gregkh at linuxfoundation.org
Sat Apr 30 13:56:40 PDT 2016
On Wed, Apr 20, 2016 at 01:09:51PM +0530, Sudip Mukherjee wrote:
> From: "Maciej S. Szmigiero" <mail at maciej.szmigiero.name>
> CONFIG_PARPORT_PC_SUPERIO toggles Super IO chip support in parport_pc
> code, however only code accessing SIO chip via ISA (or LPC) bus was
> conditional on it.
> This patch makes SIO chip accesses via PCI bus also dependent on this
> config option.
> It should be noted that Super IO support in parport_pc is needed only when
> firmware has failed to make parallel port available either via PNP or
> on standard I/O ranges and user has one of a few supported SIOs.
> Signed-off-by: Maciej S. Szmigiero <mail at maciej.szmigiero.name>
> Hi Greg,
> This patch is not tested on any superio chip based hardware. (I also
> don't have one).
> I know you dislike adding #ifdef so its upto you.
It's really a messy patch, surely there is a better solution.
More information about the Linux-parport