History log of /haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/if_iwm.c
Revision Date Author Comments
# 8da89734 28-Feb-2024 Augustin Cavalier <waddlesplash@gmail.com>

iaxwifi200 & idualwifi7265: Port a fix from OpenBSD.


# 6533df4f 15-Jan-2024 Augustin Cavalier <waddlesplash@gmail.com>

iaxwifi200 & idualwifi7260: Synchronize with OpenBSD.


# 7a3f924a 30-Jun-2023 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260: Synchronize with OpenBSD.


# dd430c69 28-Feb-2023 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: Synchronize with OpenBSD.


# 231f740c 27-Jan-2023 Augustin Cavalier <waddlesplash@gmail.com>

openbsd_network & drivers: Implement the real bus_dmamem functions.

This required the addition of some slight modifications to the main
(FreeBSD compat) bus_dma implementation.

Allows some #ifdefs from iaxwifi/idualwifi to be dropped, and will
ease the porting of some future drivers.

Tested with idualwifi7260, seems to work as before.


# 984e2e52 25-Jan-2023 Augustin Cavalier <waddlesplash@gmail.com>

openbsd_network: Move ifq_*_oactive wrappers to a common header.


# 5b51027c 29-Sep-2022 Augustin Cavalier <waddlesplash@gmail.com>

openbsd_network: Add a real implementation of MCLGETL.

The old alias had a number of shortcomings which made it not match
OpenBSD and thus special-casing had to be used in drivers. The new
version should match OpenBSD's semantics precisely.


# 3f3b8489 27-Sep-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi & iaxwifi: Merge changes from OpenBSD.


# 7ff2f104 01-Jul-2022 Augustin Cavalier <waddlesplash@gmail.com>

OpenBSD wlan drivers: We cannot back out of initialization at preinit.

Otherwise we get KDLs. Fixes #17811.


# c95c5ed8 22-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260: Merge patch from OpenBSD for some 9xxx devices.


# b3dab377 20-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: Enable PCI busmastering.

The FreeBSD KPIs that we emulate expect this to be done manually,
so we have to do it before we begin doing PCI access.

Fixes firmware load failures and device initialization problems
since the introduction of the OpenBSD driver replacing the FreeBSD one.


# 561bb7ba 20-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: Do not return but go to the appropriate fail.

This way, we will actually tear down what state got initialized.


# 2e1033fc 20-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: preinit() can fail.

This will prevent the device from even appearing in Network preferences
if firmware loading does not work.


# f578843d 20-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: Use the Haiku gDriverName instead of hardcoding.

This also will fix what name appears in the syslog.


# e206b2f3 13-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

freebsd_network: Always hold the "Giant" lock during attaches.

Reduces patches to OpenBSD drivers slightly, and could potentially
help with some of the KDLs.


# e6da31ae 13-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260: Add error to panic message.

Should help with diagnosing the KDLs seen in #14298.


# fba03158 08-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260 & iaxwifi200: Adaptations for FreeBSD/Haiku support.

Mostly a few #ifdefs for the dmamem API, if_alloc, probe, and attach hooks.
Basically the same changes in both drivers.

The firmware name map is not really needed anymore; the OpenBSD drivers
have unique firmware names and do not generally use ".ucode" extensions.
So just use the filenames as-is and drop the map.


# d87dd30a 08-Jun-2022 Augustin Cavalier <waddlesplash@gmail.com>

idualwifi7260: Delete FreeBSD driver, import OpenBSD driver.

Again not wired into the build, nor yet modified in any way.