Repository navigation
Commit 5cdaaf8
rapdio/tsi721: Use PCI Express Capability accessors
Use PCI Express Capability access functions to simplify tsi721 driver.
[bhelgaas: use word (16-bit) accesses for PCI_EXP_DEVCTL, PCI_EXP_DEVCTL2]
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Alexandre Bounine <alexandre.bounine@idt.com>1 parent 32195ae commit 5cdaaf8
1 file changed
Lines changed: 7 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2212 | 2212 | | |
2213 | 2213 | | |
2214 | 2214 | | |
2215 | | - | |
| 2215 | + | |
2216 | 2216 | | |
2217 | | - | |
2218 | 2217 | | |
2219 | 2218 | | |
2220 | 2219 | | |
| |||
2320 | 2319 | | |
2321 | 2320 | | |
2322 | 2321 | | |
2323 | | - | |
2324 | | - | |
| 2322 | + | |
2325 | 2323 | | |
2326 | 2324 | | |
2327 | | - | |
2328 | | - | |
2329 | | - | |
2330 | | - | |
2331 | | - | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
2332 | 2329 | | |
2333 | 2330 | | |
2334 | | - | |
2335 | | - | |
2336 | | - | |
| 2331 | + | |
2337 | 2332 | | |
2338 | 2333 | | |
2339 | 2334 | | |
| |||
0 commit comments