pata_legacy: Properly document module parameters
authorMaciej W. Rozycki <macro@orcam.me.uk>
Sun, 21 Mar 2021 19:55:22 +0000 (20:55 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Apr 2021 15:27:30 +0000 (09:27 -0600)
commit426e2c6a2c383c9b1f9c74b7815252da89b3b8ab
tree8fbcdb71f38fb8311a9fe071e2e121941abdc365
parentfa4b42b2a968dc137f15e3104a3ec669875dd669
pata_legacy: Properly document module parameters

Most pata_legacy module parameters lack MODULE_PARM_DESC documentation
and none is described in kernel-parameters.txt.  Also several comments
are inaccurate or wrong.

Add the missing documentation pieces then and reorder parameters into a
consistent block.  Remove inaccuracies as follows:

- `all' affects primary and secondary port ranges only rather than all,

- `probe_all' affects tertiary and further port ranges rather than all,

- `ht6560b' is for HT 6560B rather than HT 6560A.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2103211909560.21463@angie.orcam.me.uk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/admin-guide/kernel-parameters.txt
drivers/ata/pata_legacy.c