Commit 45c4c5a
ata: libata: Add support to parse equal sign in libata.force
Currently, no libata.force parameter supports an arbitrary value.
All allowed values, e.g. udma/16, udma/25, udma/33, udma/44, udma/66,
udma/100, udma/133 have hardcoded entries in the force_tbl table.
Add code to allow a libata.force param with the format
libata.force=param=param_value, where param_value can be an arbitrary
value.
This code will be used in a follow up commit.
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>1 parent dfd9751 commit 45c4c5a
1 file changed
Lines changed: 36 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6490 | 6490 | | |
6491 | 6491 | | |
6492 | 6492 | | |
| 6493 | + | |
| 6494 | + | |
| 6495 | + | |
| 6496 | + | |
| 6497 | + | |
| 6498 | + | |
| 6499 | + | |
6493 | 6500 | | |
6494 | 6501 | | |
6495 | 6502 | | |
| |||
6577 | 6584 | | |
6578 | 6585 | | |
6579 | 6586 | | |
6580 | | - | |
| 6587 | + | |
6581 | 6588 | | |
| 6589 | + | |
6582 | 6590 | | |
6583 | 6591 | | |
6584 | 6592 | | |
| |||
6621 | 6629 | | |
6622 | 6630 | | |
6623 | 6631 | | |
6624 | | - | |
| 6632 | + | |
| 6633 | + | |
| 6634 | + | |
| 6635 | + | |
| 6636 | + | |
| 6637 | + | |
| 6638 | + | |
| 6639 | + | |
| 6640 | + | |
| 6641 | + | |
| 6642 | + | |
6625 | 6643 | | |
6626 | 6644 | | |
6627 | 6645 | | |
| 6646 | + | |
| 6647 | + | |
| 6648 | + | |
| 6649 | + | |
| 6650 | + | |
| 6651 | + | |
| 6652 | + | |
| 6653 | + | |
| 6654 | + | |
| 6655 | + | |
| 6656 | + | |
| 6657 | + | |
| 6658 | + | |
| 6659 | + | |
| 6660 | + | |
| 6661 | + | |
6628 | 6662 | | |
6629 | 6663 | | |
6630 | 6664 | | |
| |||
0 commit comments