HomeFreeBSD

ath10k/rtw89: make compile again after LinuxKPI changes

Description

ath10k/rtw89: make compile again after LinuxKPI changes

Both drivers are not yet attached to the build so this change is
for people currently trying them out.

In 96ab16ebab6319dce9b3041961b0ab6e20a4fecc the sys/rman.h include
was removed. In various wireless drivers we prefer to directly use
bus_dma functions rather than io* LinuxKPI once. In order to cast
the pointer we need sys/rman.h back for our native 'struct resource'
in their pci.c implementations.
Long-term we should consider providing some lkpi_-FreeBSD-specific
wrapper functions to avoid this problem.

MFC after: 3 days

Details

Provenance
bzAuthored on Jan 8 2024, 3:29 PM
Parents
rG118d0ff54d4f: rtw89: improve debugging and fix a sleep issue
Branches
Unknown
Tags
Unknown