History

stm class: Make dummy's master/channel ranges configurable

To allow for more flexible testing of the stm class, make it possible to specify the ranges of masters and channels that the dummy_stm devices cover. This is done via module parameters.

Alexander Shishkin committed 8 years ago

Commit 4f0c7c61 parent 9ea393d2 files · +25 −3Browse files

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

Unified · Split

include/uapi/linux/stm.h+4−0
@@ -12,6 +12,10 @@ · 11 unmodified lines
1212
1313 #include <linux/types.h>
1414
15+/* Maximum allowed master and channel values */
16+#define STP_MASTER_MAX 0xffff
17+#define STP_CHANNEL_MAX 0xffff
18+
1519 /**
1620 * struct stp_policy_id - identification for the STP policy
1721 * @size: size of the structure including real id[] length

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