Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 1996 15:02:25 -0500
From:      bab@cypress.com (Barry Boes/CADC Datacomm CAD)
To:        jkh@time.cdrom.com
Cc:        hackers@freebsd.org, committers@freebsd.org, bab@cypress.com
Subject:   Re: IDE cd-rom drivers
Message-ID:  <199607182002.PAA21143@onyx.cadc>
In-Reply-To: <16217.837716289@time.cdrom.com> (jkh@time.cdrom.com)

next in thread | previous in thread | raw e-mail | index | archive | help

> far better than I do, could I perhaps convince you to grab a copy of
> the relevant kernel sources from -current and do the merge?  I'll
> be happy to take things from that stage forward.

I'd be glad to.  Of course I'd like to receive any feedback as to
whether my driver actually helps anyone elses problems and I guess
-current would be the best way to find that out.  I don't know how
to get the relevant -current source - can I FTP down the days
latest from the web site?  I'll look.
  I also don't know how I would go about testing my changes
to the -current driver.  Can someone tell me if it'd be possible
for me to download the -current source, compile a kernel from it,
and boot with that kernel on my 2.1.0 system?  Not everything
would have to work, just enough for me to ensure that the ATA bus,
mounting, etc works.  My guess is I probably could.  Probably
don't even need to make a backup first :-)
  How do people go about doing their first level hardware tests
on new drivers?  I've only got one cd-rom drive to test mine on
unless I can talk all of my friends into pulling their drives
out and letting me borrow them for a day.
  While I'm at it - one more question.  I'm trying to do DMA
transfers from the ATA bus and am having no success.  I know 
there is question as to whether this is even very useful, but
I'm trying to do it.
  However, there are some missing pieces I can't figure out how
to do.  I've downloaded the ATA spec and looked at lots of
PC books but can't figure it out.
  Is there a good reference on the internet for how to program
the AT dma controllers?  I need that information and I also
am trying to figure out how to tell the ATA controller what
DMA channel to use.  There is only a single DMA request line
on the ATA bus, so something somewhere must be programmable
to translate this DMA line into the correct DMA channel, but
for the life of me I can't find it.
  Guess I should add myself to the -current and -hackers e-mail
lists.
					Thanks in advance,
					     Barry



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