From owner-freebsd-hackers Tue Aug 27 18:15:05 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA13008 for hackers-outgoing; Tue, 27 Aug 1996 18:15:05 -0700 (PDT) Received: from red.jnx.com (ppp-206-170-2-23.sntc01.pacbell.net [206.170.2.23]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA12999; Tue, 27 Aug 1996 18:15:02 -0700 (PDT) Received: from base.jnx.com (base.jnx.com [208.197.169.238]) by red.jnx.com (8.7.5/8.7.3) with ESMTP id SAA11634; Tue, 27 Aug 1996 18:15:00 -0700 (PDT) Received: from base.jnx.com (localhost.jnx.com [127.0.0.1]) by base.jnx.com (8.7.5/8.7.3) with ESMTP id SAA10394; Tue, 27 Aug 1996 18:14:57 -0700 (PDT) Message-Id: <199608280114.SAA10394@base.jnx.com> To: freebsd-hackers@freebsd.org cc: julian@freebsd.org Subject: support for DDS2 tape drives? Date: Tue, 27 Aug 1996 18:14:57 -0700 From: Paul Traina Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Is anyone else having problems with DDS2 tape-drives not being properly identified? I made these patches, but I really don't know what the hell I'm doing. cvs server: Diffing . Index: scsiconf.h =================================================================== RCS file: /cvs/freebsd-dom/src/sys/scsi/scsiconf.h,v retrieving revision 1.44 diff -c -r1.44 scsiconf.h *** scsiconf.h 1996/06/24 04:54:31 1.44 --- scsiconf.h 1996/08/28 01:14:50 *************** *** 521,526 **** --- 521,528 ---- 0x16 48 10000 MFM C X3.193-1990 1 0x17 48 42500 MFM C X3B5/91-174 1 + 0x24 1 128200 DDS2 CS X3B5/88-185A 4 + where Code means: NRZI Non Return to Zero, change on ones GCR Group Code Recording *************** *** 556,561 **** --- 558,565 ---- #define QIC_1320 0x12 #define DDS 0x13 #define DAT_1 0x13 + #define DDS2 0x24 + #define DAT_2 0x24 #define QIC_3080 0x29 Index: st.c =================================================================== RCS file: /cvs/freebsd-dom/src/sys/scsi/st.c,v retrieving revision 1.72 diff -c -r1.72 st.c *** st.c 1996/07/23 21:52:31 1.72 --- st.c 1996/08/28 01:14:50 *************** *** 707,712 **** --- 707,713 ---- case HALFINCH_1600: case HALFINCH_6250: case DDS: + case DDS2: case QIC_525: case QIC_1320: case QIC_3080: