HomeFreeBSD

[iwm] Simplify device id matching code a bit.

Description

[iwm] Simplify device id matching code a bit.

  • Just add the struct iwm_cfg pointers to the iwm_devices array, to get rid of the large switch clause.

Obtained from: dragonflybsd.git 35f0e6c86c1654323d6b19f7a077f4ab8ac85868

Details

Provenance
adrianAuthored on
Parents
rS314073: [iwm] Remove OpenBSD-specific comment. Beautify pci cfg space accesses.
Branches
Unknown
Tags
Unknown