diff options
author | peter <peter@FreeBSD.org> | 2001-06-07 03:17:26 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-07 03:17:26 +0000 |
commit | c1df44ae51f0e038d79f66d82849ae33f48b5c94 (patch) | |
tree | 960c8e41da0d34051d7134bc7acba89f5dc172de /sys/dev | |
parent | b10afe2606f64b9c728011eef198b5998dfe418e (diff) | |
download | FreeBSD-src-c1df44ae51f0e038d79f66d82849ae33f48b5c94.zip FreeBSD-src-c1df44ae51f0e038d79f66d82849ae33f48b5c94.tar.gz |
Back out part of my previous commit. This was a last minute change
and I botched testing. This is a perfect example of how NOT to do
this sort of thing. :-(
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ata/ata-disk.c | 6 | ||||
-rw-r--r-- | sys/dev/ata/atapi-all.c | 2 | ||||
-rw-r--r-- | sys/dev/sound/pcm/sound.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c index d1950af..ebf789b 100644 --- a/sys/dev/ata/ata-disk.c +++ b/sys/dev/ata/ata-disk.c @@ -85,9 +85,9 @@ static MALLOC_DEFINE(M_AD, "AD driver", "ATA disk driver"); static int ata_dma = 1; static int ata_wc = 0; static int ata_tags = 0; -TUNABLE_INT("hw.ata.ata_dma", &ata_dma); -TUNABLE_INT("hw.ata.wc", &ata_wc); -TUNABLE_INT("hw.ata.tags", &ata_tags); +TUNABLE_INT("hw.ata.ata_dma", ata_dma); +TUNABLE_INT("hw.ata.wc", ata_wc); +TUNABLE_INT("hw.ata.tags", ata_tags); /* sysctl vars */ SYSCTL_DECL(_hw_ata); diff --git a/sys/dev/ata/atapi-all.c b/sys/dev/ata/atapi-all.c index ac15c7e..bb31746 100644 --- a/sys/dev/ata/atapi-all.c +++ b/sys/dev/ata/atapi-all.c @@ -55,7 +55,7 @@ static char *atapi_skey2str(u_int8_t); /* internal vars */ static MALLOC_DEFINE(M_ATAPI, "ATAPI generic", "ATAPI driver generic layer"); static int atapi_dma = 0; -TUNABLE_INT("hw.ata.atapi_dma", &atapi_dma); +TUNABLE_INT("hw.ata.atapi_dma", atapi_dma); /* systcl vars */ SYSCTL_DECL(_hw_ata); diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c index a9590a3..a8b3910 100644 --- a/sys/dev/sound/pcm/sound.c +++ b/sys/dev/sound/pcm/sound.c @@ -93,7 +93,7 @@ static devclass_t pcm_devclass; #ifdef USING_DEVFS static int snd_unit = 0; -TUNABLE_INT("hw.snd.unit", &snd_unit); +TUNABLE_INT("hw.snd.unit", snd_unit); #endif SYSCTL_NODE(_hw, OID_AUTO, snd, CTLFLAG_RD, 0, "Sound driver"); |