*BSD News Article 14386


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!uwm.edu!caen!umeecs!niagara.eecs.umich.edu!khushro
From: khushro@niagara.eecs.umich.edu (Khushro Shahookar)
Subject: Adaptec 1542C Fix
Message-ID: <1993Apr13.024350.5730@zip.eecs.umich.edu>
Sender: news@zip.eecs.umich.edu (Mr. News)
Reply-To: khushro@niagara.eecs.umich.edu (Khushro Shahookar)
Organization: University of Michigan Engineering, Ann Arbor
Date: Tue, 13 Apr 1993 02:43:50 GMT
Lines: 27

Can someone more experienced than me please follow up on this:

From:  eric@tantalus.nrl.navy.mil 
	When we first tried the 1542C with linux, we had the same problem.  We
were probing for the card with a few simple commands (there is an echo command
that should echo a byte back to you), and this works fine with the 1542B.  For
some reason the 1542C needs to have the mailboxes set up before this command
will work.  Once I added a command to the linux kernel to set up the mailboxes,
the 1542C is recognized and works just fine.  I have not idea if this will help
you with 386bsd, but I just thought that I would mention it.

>What are mailboxes, and how are they setup?

        The Adaptec communicates via mailboxes.  The way we use them with
linux, we have one mailbox per outstanding command.  If we want the Adaptec to
be able to handle 8 outstanding commands (usually to 8 different devices), then
we tell the Adaptec that there are 8 outgoing and 8 incoming mailboxes.  There
is a simple command which is used to tell the Adaptec about this, and all we
had to do with linux is move this up a little bit.

-Eric

--
Copyright KHUSHRO SHAHOOKAR,   $0.02
khushro@eecs.umich.edu   Univ. of Michigan, Ann Arbor