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)
This commit is contained in:
parent
c383d55b77
commit
31615ef723
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=203685
@ -385,6 +385,11 @@ options KDTRACE_HOOKS
|
||||
#
|
||||
options SYSCTL_DEBUG
|
||||
|
||||
#
|
||||
# NO_SYSCTL_DESCR omits the sysctl node descriptions to save space in the
|
||||
# resulting kernel.
|
||||
options NO_SYSCTL_DESCR
|
||||
|
||||
#
|
||||
# DEBUG_MEMGUARD builds and enables memguard(9), a replacement allocator
|
||||
# for the kernel used to detect modify-after-free scenarios. See the
|
||||
@ -2596,8 +2601,10 @@ device uhid
|
||||
device ukbd
|
||||
# USB printer
|
||||
device ulpt
|
||||
# USB Iomega Zip 100 Drive (Requires scbus and da)
|
||||
# USB mass storage driver (Requires scbus and da)
|
||||
device umass
|
||||
# USB mass storage driver for device-side mode
|
||||
device usfs
|
||||
# USB support for Belkin F5U109 and Magic Control Technology serial adapters
|
||||
device umct
|
||||
# USB modem support
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user