.. | .. |
---|
28 | 28 | |
---|
29 | 29 | /** |
---|
30 | 30 | * octeon_mbox_read: |
---|
31 | | - * @oct: Pointer mailbox |
---|
| 31 | + * @mbox: Pointer mailbox |
---|
32 | 32 | * |
---|
33 | 33 | * Reads the 8-bytes of data from the mbox register |
---|
34 | 34 | * Writes back the acknowldgement inidcating completion of read |
---|
.. | .. |
---|
260 | 260 | dev_info(&oct->pci_dev->dev, |
---|
261 | 261 | "got a request for FLR from VF that owns DPI ring %u\n", |
---|
262 | 262 | mbox->q_no); |
---|
263 | | - pcie_capability_set_word( |
---|
264 | | - oct->sriov_info.dpiring_to_vfpcidev_lut[mbox->q_no], |
---|
265 | | - PCI_EXP_DEVCTL, PCI_EXP_DEVCTL_BCR_FLR); |
---|
| 263 | + pcie_flr(oct->sriov_info.dpiring_to_vfpcidev_lut[mbox->q_no]); |
---|
266 | 264 | break; |
---|
267 | 265 | |
---|
268 | 266 | case OCTEON_PF_CHANGED_VF_MACADDR: |
---|
.. | .. |
---|
287 | 285 | } |
---|
288 | 286 | |
---|
289 | 287 | /** |
---|
290 | | - *octeon_mbox_process_message: |
---|
| 288 | + * octeon_mbox_process_message |
---|
| 289 | + * @mbox: mailbox |
---|
291 | 290 | * |
---|
292 | 291 | * Process the received mbox message. |
---|
293 | 292 | */ |
---|