Author: markj Date: Thu Nov 7 23:36:10 2019 New Revision: 354505 URL: https://svnweb.freebsd.org/changeset/base/354505
Log: iwm: Define the mqrx_supported capability. The firmware for 9000-series and newer devices has a different receive API which supports multiple queues. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iwm/if_iwm_9000.c head/sys/dev/iwm/if_iwm_9260.c head/sys/dev/iwm/if_iwm_config.h Modified: head/sys/dev/iwm/if_iwm_9000.c ============================================================================== --- head/sys/dev/iwm/if_iwm_9000.c Thu Nov 7 23:35:54 2019 (r354504) +++ head/sys/dev/iwm/if_iwm_9000.c Thu Nov 7 23:36:10 2019 (r354505) @@ -92,4 +92,6 @@ const struct iwm_cfg iwm9560_cfg = { .fw_name = IWM9000_FW, IWM_DEVICE_9000_COMMON, .host_interrupt_operation_mode = 0, + .mqrx_supported = 1, + .integrated = 1, }; Modified: head/sys/dev/iwm/if_iwm_9260.c ============================================================================== --- head/sys/dev/iwm/if_iwm_9260.c Thu Nov 7 23:35:54 2019 (r354504) +++ head/sys/dev/iwm/if_iwm_9260.c Thu Nov 7 23:36:10 2019 (r354505) @@ -92,4 +92,5 @@ const struct iwm_cfg iwm9260_cfg = { .fw_name = IWM9260_FW, IWM_DEVICE_9260_COMMON, .host_interrupt_operation_mode = 0, + .mqrx_supported = 1, }; Modified: head/sys/dev/iwm/if_iwm_config.h ============================================================================== --- head/sys/dev/iwm/if_iwm_config.h Thu Nov 7 23:35:54 2019 (r354504) +++ head/sys/dev/iwm/if_iwm_config.h Thu Nov 7 23:36:10 2019 (r354505) @@ -131,13 +131,15 @@ enum iwm_nvm_type { */ struct iwm_cfg { const char *name; - const char *fw_name; - uint16_t eeprom_size; - enum iwm_device_family device_family; - int host_interrupt_operation_mode; - uint8_t nvm_hw_section_num; - int apmg_wake_up_wa; - enum iwm_nvm_type nvm_type; + const char *fw_name; + uint16_t eeprom_size; + enum iwm_device_family device_family; + int host_interrupt_operation_mode; + int mqrx_supported; + int integrated; + uint8_t nvm_hw_section_num; + int apmg_wake_up_wa; + enum iwm_nvm_type nvm_type; }; /* _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"