diff options
author | brucec <brucec@FreeBSD.org> | 2010-02-08 20:57:42 +0000 |
---|---|---|
committer | brucec <brucec@FreeBSD.org> | 2010-02-08 20:57:42 +0000 |
commit | ac84487156119449bfafd9c5ef0a27dd6881aab0 (patch) | |
tree | 8b3777eaddd5ce3a851f1cd3758a772d88cf9c86 /sys/dev/aic7xxx | |
parent | 238dae6d52e9e3738da923cdb4364ceaf2ab10f9 (diff) | |
download | FreeBSD-src-ac84487156119449bfafd9c5ef0a27dd6881aab0.zip FreeBSD-src-ac84487156119449bfafd9c5ef0a27dd6881aab0.tar.gz |
Document the usfs driver and the NO_SYSCTL_DESCR option, and update the comment for umass.
Don't include the sysctl description variables in aic7xxx when NO_SYSCTL_DESCR is used.
Approved by: rrs (mentor)
Diffstat (limited to 'sys/dev/aic7xxx')
-rw-r--r-- | sys/dev/aic7xxx/aic79xx_osm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/aic7xxx/aic79xx_osm.c b/sys/dev/aic7xxx/aic79xx_osm.c index 81eade6..375de63 100644 --- a/sys/dev/aic7xxx/aic79xx_osm.c +++ b/sys/dev/aic7xxx/aic79xx_osm.c @@ -83,11 +83,13 @@ static const char *ahd_sysctl_node_elements[] = { "debug" }; +#ifndef NO_SYSCTL_DESCR static const char *ahd_sysctl_node_descriptions[] = { "root error collection for aic79xx controllers", "summary collection for aic79xx controllers", "debug collection for aic79xx controllers" }; +#endif static const char *ahd_sysctl_errors_elements[] = { "Cerrors", @@ -95,11 +97,13 @@ static const char *ahd_sysctl_errors_elements[] = { "Ferrors" }; +#ifndef NO_SYSCTL_DESCR static const char *ahd_sysctl_errors_descriptions[] = { "Correctable errors", "Uncorrectable errors", "Fatal errors" }; +#endif static int ahd_set_debugcounters(SYSCTL_HANDLER_ARGS) |