From owner-cvs-all Tue Jan 30 4:49:35 2001 Delivered-To: cvs-all@freebsd.org Received: from burka.carrier.kiev.ua (burka.carrier.kiev.ua [193.193.193.107]) by hub.freebsd.org (Postfix) with ESMTP id 9432E37B69F; Tue, 30 Jan 2001 04:49:07 -0800 (PST) Received: from netch@localhost by burka.carrier.kiev.ua id OSU87213; Tue, 30 Jan 2001 14:48:48 +0200 (EET) (envelope-from netch) Date: Tue, 30 Jan 2001 14:48:48 +0200 From: Valentin Nechayev To: Bruce Evans Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/ata ata-disk.c Message-ID: <20010130144848.A76120@lucky.net> Reply-To: netch@lucky.net References: <200101300213.f0U2DY459123@mobile.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from bde@zeta.org.au on Tue, Jan 30, 2001 at 10:11:24PM +1100 X-42: On Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Bruce Evans! Tue, Jan 30, 2001 at 22:11:24, bde wrote about "Re: cvs commit: src/sys/dev/ata ata-disk.c": > If I had 512 channels (the maximum number of ad disks supported), it > might be: > > hw.atamodes: dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,:-8,dma,dma,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,dma,dma,pio,dm! a,dma,dma,dma,dma,dma,dma,pio,dma,dma,dma,dma,dma,:-%, > > Quick now, change the mode for ad345 (hint: it's probably not just the 345th > element in the string). > > Supporting this poor user interface isn't even easy for the driver -- it takes > about 40 lines of code to translate the string. You think it should be hw.isa0.ata172.slave.atamode, don't you? (Followup please to -arch with subject "Re: dynamic vs static sysctls?", please;))) /netch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message