ata: pata_parport: probe all units automatically
authorOndrej Zary <linux@zary.sk>
Sat, 18 Feb 2023 22:01:22 +0000 (23:01 +0100)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 23 Mar 2023 01:29:24 +0000 (10:29 +0900)
commit4f747dc1af38fe0f9db9d49e76c303c42eef1dbe
tree2b8291a7d59c64ab90665c908a1add5663137f7f
parentd0b3f883c4046642c65bfd5997ef76dbd6b71ab9
ata: pata_parport: probe all units automatically

Only unit 0 is probed after registering a protocol driver or attaching
a new parport. This causes bpck and bpck6 devices to be not detected
automatically.
Probe all units just like in manual device creation (using sysfs).

Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Ondrej Zary <linux@zary.sk>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/pata_parport/pata_parport.c