Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147659289
D49759.1784004132.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
607 B
Referenced Files
None
Subscribers
None
D49759.1784004132.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 14, 4:42 AM (22 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29123590
Default Alt Text
D49759.1784004132.diff (607 B)
Attached To
Mode
D49759: iwx: Look up subdevice rather than device
Attached
Detach File
Event Timeline
Log In to Comment