Commit c766e07
net: dsa: qca8k: convert to regmap read/write API
Convert qca8k to regmap read/write bulk API. The mgmt eth can write up
to 32 bytes of data at times. Currently we use a custom function to do
it but regmap now supports declaration of read/write bulk even without a
bus.
Drop the custom function and rework the regmap function to this new
implementation.
Rework the qca8k_fdb_read/write function to use the new
regmap_bulk_read/write as the old qca8k_bulk_read/write are now dropped.
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent e03cea6 commit c766e07
3 files changed
+77
-65
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
| 428 | + | |
429 | 429 | | |
430 | | - | |
431 | 430 | | |
432 | 431 | | |
433 | 432 | | |
434 | 433 | | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | 434 | | |
439 | 435 | | |
440 | 436 | | |
| |||
451 | 447 | | |
452 | 448 | | |
453 | 449 | | |
454 | | - | |
| 450 | + | |
455 | 451 | | |
456 | | - | |
457 | 452 | | |
458 | 453 | | |
459 | 454 | | |
460 | 455 | | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | 456 | | |
465 | 457 | | |
466 | 458 | | |
| |||
477 | 469 | | |
478 | 470 | | |
479 | 471 | | |
480 | | - | |
| 472 | + | |
| 473 | + | |
481 | 474 | | |
482 | | - | |
483 | 475 | | |
484 | 476 | | |
485 | 477 | | |
486 | 478 | | |
487 | 479 | | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | 480 | | |
492 | 481 | | |
493 | 482 | | |
| |||
510 | 499 | | |
511 | 500 | | |
512 | 501 | | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
513 | 567 | | |
514 | 568 | | |
515 | 569 | | |
516 | 570 | | |
517 | 571 | | |
518 | | - | |
519 | | - | |
| 572 | + | |
| 573 | + | |
520 | 574 | | |
521 | 575 | | |
522 | 576 | | |
523 | 577 | | |
| 578 | + | |
| 579 | + | |
524 | 580 | | |
525 | 581 | | |
526 | 582 | | |
| |||
2089 | 2145 | | |
2090 | 2146 | | |
2091 | 2147 | | |
2092 | | - | |
2093 | | - | |
2094 | 2148 | | |
2095 | 2149 | | |
2096 | 2150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | 104 | | |
144 | 105 | | |
145 | 106 | | |
| |||
154 | 115 | | |
155 | 116 | | |
156 | 117 | | |
157 | | - | |
158 | | - | |
| 118 | + | |
| 119 | + | |
159 | 120 | | |
160 | 121 | | |
161 | 122 | | |
| |||
196 | 157 | | |
197 | 158 | | |
198 | 159 | | |
199 | | - | |
200 | | - | |
| 160 | + | |
| 161 | + | |
201 | 162 | | |
202 | 163 | | |
203 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | 333 | | |
337 | 334 | | |
338 | 335 | | |
| |||
0 commit comments