Subject: kern/10118: Quirks entry for OnStream ADR50
To: None <gnats-bugs@gnats.netbsd.org>
From: S.P.Zeidler <spz@serpens.swb.de>
List: netbsd-bugs
Date: 05/14/2000 04:09:15
>Number:         10118
>Category:       kern
>Synopsis:       Quirks entry for OnStream ADR50
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 14 04:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     S.P.Zeidler
>Release:        NetBSD 1.4Y of 14.May.2000
>Organization:
dis-
>Environment:
	see below
System: NetBSD sagitta.1st.de 1.4Y NetBSD 1.4Y (SAGITTA) #26: Sun May 14 12:00:19 MEST 2000 spz@sagitta.1st.de:/data/cvs/NetBSD/src/sys/arch/i386/compile/SAGITTA i386


>Description:
	OnStream ADR50 is quirky and not listed in the quirks-table yet

	Note that this is NOT the SC50, but the brand spanking new 
	"multi-platform" version of the OnStream streamers.
	With the ADR50 out, writing a driver for the SC50 was too much 
	for my innate lazyness, as the SC50 would require its own driver 
	instead of fixes to st.c. Anyone in .de want a SC50 relatively 
	cheap? I know of two surplus, and there's a pointer to the OEM manual
	available too. SCNR :-)

>How-To-Repeat:
	Well, connect one and see it barf at every command because it doesn't
        like mode select. It's fixed blocksize, too.

>Fix:

% diff st.c.orig st.c
278a279,285
>       {{T_SEQUENTIAL, T_REMOV,
>        "OnStream", "ADR50 Drive", ""},     {ST_Q_UNIMODAL, 0, {
>               {ST_Q_FORCE_BLKSIZE, 512, 0},                           /* minor 0-3 */
>               {ST_Q_FORCE_BLKSIZE, 512, 0},                           /* minor 4-7 */
>               {ST_Q_FORCE_BLKSIZE, 512, 0},                           /* minor 8-11 */
>               {ST_Q_FORCE_BLKSIZE, 512, 0}                            /* minor 12-15 */
>       }}},

>Release-Note:
>Audit-Trail:
>Unformatted: