summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2019-10-16 17:45:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-13 14:09:48 +0300
commit231ec2f24dad18d021b361045bbd618ba62a274e (patch)
tree942b7ee1db2fd7d10c180a58367780ce0a4dd28e /include
parente962cd9cf9cfb1f5db6bbad6a6470e5ccf56e290 (diff)
downloadlinux-231ec2f24dad18d021b361045bbd618ba62a274e.tar.xz
parport: load lowlevel driver if ports not found
Usually all the distro will load the parport low level driver as part of their initialization. But we can get into a situation where all the parallel port drivers are built as module and we unload all the modules at a later time. Then if we just do "modprobe parport" it will only load the parport module and will not load the low level driver which will actually register the ports. So, check the bus if there is any parport registered, if not, load the low level driver. We can get into the above situation with all distro but only Suse has setup the alias for "parport_lowlevel" and so it only works in Suse. Users of Debian based distro will need to load the lowlevel module manually. Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Link: https://lore.kernel.org/r/20191016144540.18810-3-sudipm.mukherjee@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions