aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-11-24 18:28:44 +0000
committerWarner Losh <imp@FreeBSD.org>2023-11-24 18:28:44 +0000
commit67d2bd974d34d918255307321107273562f11dde (patch)
treef6ae08828c3d3dff9ae1f053e1a9fb35a4144c0b
parente0e508153866947115d1f855a31d83cdaf49aa68 (diff)
downloadsrc-67d2bd974d34d918255307321107273562f11dde.tar.gz
src-67d2bd974d34d918255307321107273562f11dde.zip
stand: Retire setting hw.ata.wc: it doesn't exist.
hw.ata.wc was disconnected as part ot the 2013 cam-ification of ata. No need to continue setting it. It's been unused in FreeBSD 10.x and newer. Sponsored by: Netflix
-rw-r--r--stand/forth/menu-commands.4th2
-rw-r--r--stand/lua/core.lua2
-rw-r--r--stand/lua/core.lua.81
3 files changed, 0 insertions, 5 deletions
diff --git a/stand/forth/menu-commands.4th b/stand/forth/menu-commands.4th
index 8121272114d0..2c3d787c65e1 100644
--- a/stand/forth/menu-commands.4th
+++ b/stand/forth/menu-commands.4th
@@ -126,7 +126,6 @@ also menu-namespace also menu-command-helpers
s" set kern.smp.disabled=1" evaluate
s" set hw.ata.ata_dma=0" evaluate
s" set hw.ata.atapi_dma=0" evaluate
- s" set hw.ata.wc=0" evaluate
s" set kern.eventtimer.periodic=1" evaluate
s" set kern.geom.part.check_integrity=0" evaluate
;
@@ -135,7 +134,6 @@ also menu-namespace also menu-command-helpers
s" kern.smp.disabled" unsetenv
s" hw.ata.ata_dma" unsetenv
s" hw.ata.atapi_dma" unsetenv
- s" hw.ata.wc" unsetenv
s" kern.eventtimer.periodic" unsetenv
s" kern.geom.part.check_integrity" unsetenv
;
diff --git a/stand/lua/core.lua b/stand/lua/core.lua
index 4c121319eb36..5c3c65463e51 100644
--- a/stand/lua/core.lua
+++ b/stand/lua/core.lua
@@ -176,14 +176,12 @@ function core.setSafeMode(safe_mode)
loader.setenv("kern.smp.disabled", "1")
loader.setenv("hw.ata.ata_dma", "0")
loader.setenv("hw.ata.atapi_dma", "0")
- loader.setenv("hw.ata.wc", "0")
loader.setenv("kern.eventtimer.periodic", "1")
loader.setenv("kern.geom.part.check_integrity", "0")
else
loader.unsetenv("kern.smp.disabled")
loader.unsetenv("hw.ata.ata_dma")
loader.unsetenv("hw.ata.atapi_dma")
- loader.unsetenv("hw.ata.wc")
loader.unsetenv("kern.eventtimer.periodic")
loader.unsetenv("kern.geom.part.check_integrity")
end
diff --git a/stand/lua/core.lua.8 b/stand/lua/core.lua.8
index f0f27ee5ae13..5274ba4c2143 100644
--- a/stand/lua/core.lua.8
+++ b/stand/lua/core.lua.8
@@ -126,7 +126,6 @@ Sets or unsets
.Ev kern.smp.disabled ,
.Ev hw.ata.ata_dma ,
.Ev hw.ata.atapi_dma ,
-.Ev hw.ata.wc ,
.Ev kern.eventtimer.periodic ,
and
.Ev kern.geom.part.check_integrity .