| * Copyright (C) 2003 Christoph Hellwig. |
| #include <linux/kernel.h> |
| #include <linux/sysctl.h> |
| #include "scsi_logging.h" |
| static struct ctl_table scsi_table[] = { |
| { .procname = "logging_level", |
| .data = &scsi_logging_level, |
| .maxlen = sizeof(scsi_logging_level), |
| .proc_handler = proc_dointvec }, |
| static struct ctl_table scsi_dir_table[] = { |
| static struct ctl_table scsi_root_table[] = { |
| .child = scsi_dir_table }, |
| static struct ctl_table_header *scsi_table_header; |
| int __init scsi_init_sysctl(void) |
| scsi_table_header = register_sysctl_table(scsi_root_table); |
| void scsi_exit_sysctl(void) |
| unregister_sysctl_table(scsi_table_header); |