summaryrefslogtreecommitdiff
path: root/include/linux/parport_pc.h
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@orcam.me.uk>2023-01-08 21:56:51 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-20 13:12:00 +0100
commitf01dda1cb85e14a1d51c3cedad0feaaf71a93b4b (patch)
tree1a7a4a25d3a786af76f02e0da36b0d6c8e2a2b10 /include/linux/parport_pc.h
parent1c4b7d967e8a18c18ef8ef6354395d4f96a10f0e (diff)
parport_pc: Let chipset drivers mask unsupported modes
Rename `parport_pc_probe_port' to `__parport_pc_probe_port' and add a `mode_mask' parameter so that callers can specify a mask of unsupported modes to exclude even if mode probing seems to indicate otherwise. Add a `parport_pc_probe_port' wrapper with an implicit mask of 0 for the current callers to use. No functional change at this point, but the configuration of data write handlers is now no longer intertwined with determination and reporting of available modes. Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk> Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Link: https://lore.kernel.org/r/20230108215656.6433-2-sudipm.mukherjee@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/parport_pc.h')
0 files changed, 0 insertions, 0 deletions