xref: /netbsd/share/man/man4/man4.amiga/ahsc.4 (revision bf9ec67e)
1.\"
2.\" Copyright (c) 1994 Christian E. Hopps
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\" 3. All advertising materials mentioning features or use of this software
14.\"    must display the following acknowledgement:
15.\"      This product includes software developed by Christian E. Hopps.
16.\" 4. The name of the author may not be used to endorse or promote products
17.\"    derived from this software without specific prior written permission
18.\"
19.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29.\"
30.\"	$NetBSD: ahsc.4,v 1.8 2001/06/13 23:38:29 wiz Exp $
31.\"
32.Dd August 31, 1994
33.Os
34.Dt AHSC 4 amiga
35.Sh NAME
36.Nm ahsc
37.Nd A3000 low level SCSI interface
38.Sh SYNOPSIS
39.Cd "ahsc0 at mainbus0"
40.Sh DESCRIPTION
41The
42.Tn Amiga
43architecture uses a common machine independent scsi sub-system
44provided in the kernel source.  The machine independent
45drivers that use this code access the hardware through a
46common interface. (see
47.Xr scsibus 4 )
48This common interface interacts with a machine dependent interface,
49such as
50.Nm ahsc ,
51which then handles the hardware specific issues.
52.Pp
53The
54.Nm
55interface handles things such as DMA and interrupts as well as
56actually sending commands, negotiating synchronous or asynchronous
57transfers and handling disconnect/reconnect of SCSI targets.
58The hardware that
59.Nm
60uses is based on the WD33c93 SCSI chip.
61.Sh DIAGNOSTICS
62.Bl -diag
63.It sbicwait TIMEO @%d with asr=x%x csr=x%x
64The 33c93 code (sbic) has been waiting too long for a SCSI chip
65operation to complete. %d is the line in the source file
66.Pa amiga/dev/sbic.c
67at which the SCSI chip timed-out.  Asr and csr are status registers
68within the SCSI chip.
69.It ahsc%d: abort %s: csr = 0x%02x, asr = 0x%02x
70A SCSI operation %s was aborted due to an error.
71.It ahsc%d: csr == 0x%02i
72A error has occurred within the SCSI chip code.
73.It ahsc%d: unexpected phase %d in icmd from %d
74The target described by
75.Sq from %d
76has taken the SCSI bus into a phase which is not
77expected during polled IO.
78.It ahsc%d: unexpected phase %d in icmd from %d
79The target described by
80.Sq from %d
81has taken the SCSI bus into a phase which is not
82expected during DMA IO setup.
83.El
84.Sh SEE ALSO
85.Xr scsibus 4
86.Sh HISTORY
87The
88.Nm
89interface first appeared in
90.Nx 1.0
91