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/linux (1 of 2 files). Show all

Unified · Split

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