From a58f9feb7e9ec69ece64b76d9ea48f66d94e12da Mon Sep 17 00:00:00 2001 From: des Date: Mon, 3 Nov 2003 09:25:02 +0000 Subject: Move sysctl declarations next to the corresponding tunable declarations. Add a sysctl declaration for hw.ata.atapi_dma, which had gone MIA (though setting it in loader.conf still worked, it was not visible at runtime) Approved by: sos --- sys/dev/ata/ata-disk.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys/dev/ata/ata-disk.c') diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c index e0d38bf..926f8f6 100644 --- a/sys/dev/ata/ata-disk.c +++ b/sys/dev/ata/ata-disk.c @@ -67,13 +67,6 @@ static int ad_version(u_int16_t); static MALLOC_DEFINE(M_AD, "AD driver", "ATA disk driver"); static u_int32_t adp_lun_map = 0; -/* sysctl vars */ -SYSCTL_DECL(_hw_ata); -SYSCTL_INT(_hw_ata, OID_AUTO, ata_dma, CTLFLAG_RDTUN, &ata_dma, 0, - "ATA disk DMA mode control"); -SYSCTL_INT(_hw_ata, OID_AUTO, wc, CTLFLAG_RDTUN, &ata_wc, 0, - "ATA disk write caching"); - void ad_attach(struct ata_device *atadev) { -- cgit v1.1