WSL2-Linux-Kernel/drivers
Sudip Mukherjee 231ec2f24d 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>
2019-11-13 19:09:48 +08:00
..
accessibility
acpi Power management fix for 5.4-rc6 2019-11-01 09:30:48 -07:00
amba
android
ata
atm
auxdisplay
base
bcma
block block: drbd: remove a stray unlock in __drbd_send_protocol() 2019-11-08 06:55:22 -07:00
bluetooth
bus
cdrom
char lp: fix sparc64 LPSETTIMEOUT ioctl 2019-11-13 19:08:22 +08:00
clk Fixes for various clk driver issues that happened because of code we 2019-11-08 08:15:01 -08:00
clocksource - Fix scary messages in sh_mtu2 by using platform_irq_count() helper 2019-11-04 18:43:23 +01:00
connector
counter
cpufreq cpufreq: intel_pstate: Fix invalid EPB setting 2019-11-08 11:29:58 +01:00
cpuidle
crypto inet: stop leaking jiffies on the wire 2019-11-01 14:57:52 -07:00
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fpga
fsi fsi: aspeed: Fix OPB0 byte order register values 2019-11-08 11:28:21 +01:00
gnss
gpio Merge 5.4-rc7 into char-misc-next 2019-11-11 06:24:30 +01:00
gpu Merge tag 'drm-fixes-5.4-2019-11-06' of git://people.freedesktop.org/~agd5f/linux into drm-fixes 2019-11-08 13:07:58 +10:00
greybus
hid Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid 2019-11-07 11:54:54 -08:00
hsi
hv
hwmon
hwspinlock
hwtracing Merge 5.4-rc7 into char-misc-next 2019-11-11 06:24:30 +01:00
i2c
i3c
ide
idle
iio Merge 5.4-rc7 into char-misc-next 2019-11-11 06:24:30 +01:00
infiniband
input
interconnect Merge 5.4-rc7 into char-misc-next 2019-11-11 06:24:30 +01:00
iommu
ipack
irqchip
isdn
leds
lightnvm
macintosh
mailbox
mcb drivers: mcb: use symbol namespaces 2019-11-03 19:54:53 +01:00
md
media
memory
memstick
message
mfd
misc mei: add trc detection register to sysfs 2019-11-07 09:37:27 +01:00
mmc
mtd
mux
net Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-queue 2019-11-08 16:50:14 -08:00
nfc NFC: st21nfca: fix double free 2019-11-06 21:48:29 -08:00
ntb
nubus
nvdimm
nvme for-linus-2019-11-08 2019-11-08 18:15:55 -08:00
nvmem nvmem: add Rockchip OTP driver 2019-11-05 18:35:33 +01:00
of
opp
oprofile
parisc
parport parport: load lowlevel driver if ports not found 2019-11-13 19:09:48 +08:00
pci
pcmcia
perf
phy
pinctrl pinctrl: stmfx: fix valid_mask init sequence 2019-11-07 10:06:46 +01:00
platform
pnp
power
powercap
pps
ps3
ptp
pwm pwm: bcm-iproc: Prevent unloading the driver module while in use 2019-11-08 18:38:06 +01:00
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi SCSI fixes on 20191101 2019-11-02 11:15:52 -07:00
sfi
sh
siox
slimbus
soc
soundwire Merge 5.4-rc7 into char-misc-next 2019-11-11 06:24:30 +01:00
spi
spmi
ssb
staging staging: Fix error return code in vboxsf_fill_super() 2019-11-07 16:29:18 +01:00
target SCSI fixes on 20191101 2019-11-02 11:15:52 -07:00
tc
tee
thermal
thunderbolt thunderbolt: Do not start firmware unless asked by the user 2019-11-02 12:13:31 +03:00
tty drivers: mcb: use symbol namespaces 2019-11-03 19:54:53 +01:00
uio
usb
vfio
vhost
video - Some new documentation for GEM shmem madvise helpers 2019-11-08 12:12:57 +10:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog Merge 5.4-rc7 into char-misc-next 2019-11-11 06:24:30 +01:00
xen
zorro
Kconfig
Makefile