]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit870e6b9c8c9f9d5bccd0d6f2cfb421006fdd224c
tree8fbcdb71f38fb8311a9fe071e2e121941abdc365
parent1b28d4a9502c728415d969e99d6c10ad44e7046f
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