提交 59fc5313 编写于 作者: E Eric W. Biederman 提交者: Linus Torvalds

[PATCH] sysctl: register the sysctl number used by the arlan driver

Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 7735362a
...@@ -1216,7 +1216,7 @@ static ctl_table arlan_table[MAX_ARLANS + 1] = ...@@ -1216,7 +1216,7 @@ static ctl_table arlan_table[MAX_ARLANS + 1] =
static ctl_table arlan_root_table[] = static ctl_table arlan_root_table[] =
{ {
{ {
.ctl_name = 254, .ctl_name = CTL_ARLAN,
.procname = "arlan", .procname = "arlan",
.maxlen = 0, .maxlen = 0,
.mode = 0555, .mode = 0555,
......
...@@ -70,6 +70,7 @@ enum ...@@ -70,6 +70,7 @@ enum
CTL_BUS=8, /* Busses */ CTL_BUS=8, /* Busses */
CTL_ABI=9, /* Binary emulation */ CTL_ABI=9, /* Binary emulation */
CTL_CPU=10, /* CPU stuff (speed scaling, etc) */ CTL_CPU=10, /* CPU stuff (speed scaling, etc) */
CTL_ARLAN=254, /* arlan wireless driver */
CTL_APPLDATA=2120, /* s390 appldata */ CTL_APPLDATA=2120, /* s390 appldata */
CTL_S390DBF=5677, /* s390 debug */ CTL_S390DBF=5677, /* s390 debug */
CTL_SUNRPC=7249, /* sunrpc debug */ CTL_SUNRPC=7249, /* sunrpc debug */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册