Page MenuHomeFreeBSD

D49759.1777735055.diff
No OneTemporary

Size
607 B
Referenced Files
None
Subscribers
None

D49759.1777735055.diff

diff --git a/sys/dev/iwx/if_iwx.c b/sys/dev/iwx/if_iwx.c
--- a/sys/dev/iwx/if_iwx.c
+++ b/sys/dev/iwx/if_iwx.c
@@ -10022,12 +10022,11 @@
const struct iwx_device_cfg *
iwx_find_device_cfg(struct iwx_softc *sc)
{
- uint16_t mac_type, rf_type;
+ uint16_t sdev_id, mac_type, rf_type;
uint8_t mac_step, cdb, jacket, rf_id, no_160, cores;
int i;
- uint16_t sdev_id;
- sdev_id = pci_get_device(sc->sc_dev);
+ sdev_id = pci_get_subdevice(sc->sc_dev);
mac_type = IWX_CSR_HW_REV_TYPE(sc->sc_hw_rev);
mac_step = IWX_CSR_HW_REV_STEP(sc->sc_hw_rev << 2);
rf_type = IWX_CSR_HW_RFID_TYPE(sc->sc_hw_rf_id);

File Metadata

Mime Type
text/plain
Expires
Sat, May 2, 3:17 PM (5 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28541176
Default Alt Text
D49759.1777735055.diff (607 B)

Event Timeline