Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2001 14:48:48 +0200
From:      Valentin Nechayev <netch@lucky.net>
To:        Bruce Evans <bde@zeta.org.au>
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>
In-Reply-To: <Pine.BSF.4.21.0101302120060.826-100000@besplex.bde.org>; from bde@zeta.org.au on Tue, Jan 30, 2001 at 10:11:24PM %2B1100
References:  <200101300213.f0U2DY459123@mobile.wemm.org> <Pine.BSF.4.21.0101302120060.826-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010130144848.A76120>