[comp.sys.ibm.pc] adaptec 2372b controller

jose.dias@crs1.uucp (JOSE DIAS) (03/16/90)

Hi there!

I have a problem here for you...  I have an Adaptec 2372B RLL controller
that works just fine from DOS, but I need to rewrite a device driver so I
can use it from Minix.  The story so far:

I use the controller with dos 4.01 with no problems at all.  Lately I've
been trying to get a Unix like OS called Minix to work with my at (8mhz)
but have been stumped by the controller problem.  The original device
driver assumed a *standard* mfm controller with 17 sectors 4 heads, but I
don't have that here.  I fixed the sector/head problem, but when the driver
tries to talk to the controller nothing goes through...  The controller
just *looks bored and ignores the driver*...

So I need to do some work on the driver, but the thing is not all that well
commented.  What I need is a list of what I/O ports the controller uses and
for what purposes.  I would also need a list of commands, and the numerical
value of the command and where its parameters go, that the controller
supports.

I tried calling adaptec, but I got the "leave a message after the beep"
story and never got a message from any body...  Can you help?

Jos
---
 ~ DeLuxe 1.11 #1744

davidsen@sixhub.UUCP (Wm E. Davidsen Jr) (03/18/90)

  The adaptec should look exactly like a WD controller. I suggest that
you go back to the original driver with fewer heads and tracks than you
have and try that. If that works then you know that your change to the
correct drive parameters caused the problem. It is possible that the
kernal assumes some things about the disk, or that there is some table
which still says 17 sectors.

  Good luck!
-- 
bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
    sysop *IX BBS and Public Access UNIX
    moderator of comp.binaries.ibm.pc
"Getting old is bad, but it beats the hell out of the alternative" -anon