cam: Bump deprecated sysctl removal to 16
The descriptions for these unmapped_io and rotating sysctls indicated that they're deprecated and being removed for FreeBSD 15.0. That did not happen, so update to FreeBSD 16 instead. Sponsored by: The FreeBSD Foundation
This commit is contained in:
@@ -1557,11 +1557,11 @@ adasysctlinit(void *context, int pending)
|
||||
SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree),
|
||||
OID_AUTO, "unmapped_io", CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MPSAFE,
|
||||
&softc->flags, (u_int)ADA_FLAG_UNMAPPEDIO, adabitsysctl, "I",
|
||||
"Use unmapped I/O. This sysctl is *DEPRECATED*, gone in FreeBSD 15");
|
||||
"Use unmapped I/O. This sysctl is *DEPRECATED*, gone in FreeBSD 16");
|
||||
SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree),
|
||||
OID_AUTO, "rotating", CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MPSAFE,
|
||||
&softc->flags, (u_int)ADA_FLAG_ROTATING, adabitsysctl, "I",
|
||||
"Rotating media. This sysctl is *DEPRECATED*, gone in FreeBSD 15");
|
||||
"Rotating media. This sysctl is *DEPRECATED*, gone in FreeBSD 16");
|
||||
|
||||
#ifdef CAM_TEST_FAILURE
|
||||
/*
|
||||
|
||||
@@ -2408,11 +2408,11 @@ dasysctlinit(void *context, int pending)
|
||||
SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree),
|
||||
OID_AUTO, "rotating", CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MPSAFE,
|
||||
&softc->flags, (u_int)DA_FLAG_ROTATING, dabitsysctl, "I",
|
||||
"Rotating media *DEPRECATED* gone in FreeBSD 15");
|
||||
"Rotating media *DEPRECATED* gone in FreeBSD 16");
|
||||
SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree),
|
||||
OID_AUTO, "unmapped_io", CTLTYPE_INT | CTLFLAG_RD | CTLFLAG_MPSAFE,
|
||||
&softc->flags, (u_int)DA_FLAG_UNMAPPEDIO, dabitsysctl, "I",
|
||||
"Unmapped I/O support *DEPRECATED* gone in FreeBSD 15");
|
||||
"Unmapped I/O support *DEPRECATED* gone in FreeBSD 16");
|
||||
|
||||
#ifdef CAM_TEST_FAILURE
|
||||
SYSCTL_ADD_PROC(&softc->sysctl_ctx, SYSCTL_CHILDREN(softc->sysctl_tree),
|
||||
|
||||
Reference in New Issue
Block a user