History

Input: userio - allow setting other id values

Previously, only the type value was settable. The proto value is used internally for choosing the right drivers, so we should expose it. The other values make sense to expose as well.

Vicki Pfau committed 5 months ago

Commit c6f13631 parent 37340ac3 files · +55 −3Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/userio.h+4−1
@@ -27,7 +27,10 @@ · 26 unmodified lines
27enum userio_cmd_type {27enum userio_cmd_type {
28 USERIO_CMD_REGISTER = 0,28 USERIO_CMD_REGISTER = 0,
29 USERIO_CMD_SET_PORT_TYPE = 1,29 USERIO_CMD_SET_PORT_TYPE = 1,
30 USERIO_CMD_SEND_INTERRUPT = 230 USERIO_CMD_SEND_INTERRUPT = 2,
31 USERIO_CMD_SET_PORT_EXTRA = 3,
32 USERIO_CMD_SET_PORT_ID = 4,
33 USERIO_CMD_SET_PORT_PROTO = 5,
31};34};
32 35
33/*36/*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t