]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
rtw88: pci: use macros to access PCI DBI/MDIO registers
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Mon, 18 Nov 2019 09:54:29 +0000 (17:54 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 20 Mar 2020 21:31:27 +0000 (16:31 -0500)
commitdefc473acfcfa52cff531f4f72dc4f5346670002
tree19f0f3b57a1b6de004982042855b98893a9b0078
parentea24841a447ffe7818d806e773fa4aa013cc53a0
rtw88: pci: use macros to access PCI DBI/MDIO registers

BugLink: https://bugs.launchpad.net/bugs/1780590
Add some register and bit macros to access DBI/MDIO register. This
should not change the logic.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
(cherry picked from commit 83a5a2d76f996ff47dc9fbf09d80bbff6bf85e71)
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/wireless/realtek/rtw88/pci.c
drivers/net/wireless/realtek/rtw88/pci.h