[8512] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Re; ncr53c400a

daemon@ATHENA.MIT.EDU (Stephen R. van den Berg)
Mon Apr 3 15:20:13 2000

Date:	Mon, 3 Apr 2000 21:08:32 +0200
From: "Stephen R. van den Berg" <srb@cuci.nl>
To: linux-scsi@vger.rutgers.edu
Message-ID: <20000403210832.F2989@cuci.nl>
Mail-Followup-To: linux-scsi@vger.rutgers.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
In-Reply-To: <FSGF6L$I1dPF3EGr_RWm6u6TjkI93HL1OAWd_MK5O4vFGs_B@bol.com.br>; from vorlon-kosh on Mon, Apr 03, 2000 at 03:54:21PM -0300

vorlon-kosh wrote:
>Someone can teach me how to boot to linux using loadlin?
>If not, I'm giving up about using the NCR53c400a scsi 
>card, someone can indicate me a good one?

Do not despair.  Rescue is on the way :-).
Actually, I disassembled the mini400i.sys driver, and found the
magic incantation which enables the HP-card and maps it into the
IO-space.

The mapping seems to work just fine.  The only part I'm still struggling
with is the fact that the NCR5380.c driver apears to be *hopelessly* non-SMP
safe (and I happen to be running an SMP box).

In case anyone cares (I'll be including this in an official patch
later, which also fixes the SMP-compliance, I hope), this is what the
HP card needs to get mapped at port 0x280:

            /* wakeup sequence for the HP-NCR53C400A */

            outb(0x0f, 0x779);
            outb(0x22, 0x379);
            outb(0xf0, 0x379);
            outb(0x20, 0x379);
            outb(0x80, 0x379);
            outb(0x80, 0x379);

No need to boot from DOS anymore.
-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg (AKA BuGless).
"Your mouse has moved.   Windows NT must be restarted for the change to
 take effect.   Reboot now?  [ OK ]"

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post