Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mpr/mprvar.h
Show First 20 Lines • Show All 364 Lines • ▼ Show 20 Lines | #define MPR_FLAGS_ATTACH_DONE (1 << 5) | ||||
uint8_t num_rsvd_entries; | uint8_t num_rsvd_entries; | ||||
uint8_t num_channels; | uint8_t num_channels; | ||||
uint16_t max_dpm_entries; | uint16_t max_dpm_entries; | ||||
uint8_t is_dpm_enable; | uint8_t is_dpm_enable; | ||||
uint8_t track_mapping_events; | uint8_t track_mapping_events; | ||||
uint32_t pending_map_events; | uint32_t pending_map_events; | ||||
uint8_t mt_full_retry; | uint8_t mt_full_retry; | ||||
uint8_t mt_add_device_failed; | uint8_t mt_add_device_failed; | ||||
int use_phynum; | |||||
smh: use a int8_t? | |||||
scottlAuthorUnsubmitted Not Done Inline ActionsAn int is required in order to be type compatible with TUNABLE_INT_FETCH and SYSCTL_ADD_INT. I could work around this with some accessor procedures, but I'm not sure it's worth the extra complication. scottl: An int is required in order to be type compatible with TUNABLE_INT_FETCH and SYSCTL_ADD_INT. I… | |||||
smhUnsubmitted Not Done Inline ActionsAhh not worth the hassle then. smh: Ahh not worth the hassle then. | |||||
/* FW diag Buffer List */ | /* FW diag Buffer List */ | ||||
mpr_fw_diagnostic_buffer_t | mpr_fw_diagnostic_buffer_t | ||||
fw_diag_buffer_list[MPI2_DIAG_BUF_TYPE_COUNT]; | fw_diag_buffer_list[MPI2_DIAG_BUF_TYPE_COUNT]; | ||||
/* Event Recording IOCTL support */ | /* Event Recording IOCTL support */ | ||||
uint32_t events_to_record[4]; | uint32_t events_to_record[4]; | ||||
mpr_event_entry_t recorded_events[MPR_EVENT_QUEUE_SIZE]; | mpr_event_entry_t recorded_events[MPR_EVENT_QUEUE_SIZE]; | ||||
▲ Show 20 Lines • Show All 401 Lines • Show Last 20 Lines |
use a int8_t?