*BSD News Article 45994


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!xlink.net!rz.uni-karlsruhe.de!news.uni-ulm.de!news.belwue.de!fu-berlin.de!cs.tu-berlin.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: floppy tape config, take 2
Date: 25 Jun 1995 16:49:30 +0200
Organization: Private FreeBSD site, Dresden.
Lines: 47
Message-ID: <3sjt1q$h7j@uriah.heep.sax.de>
References: <DAEGn4.5Fv@mv.mv.com> <3sbm9s$om@bonnie.tcd-dresden.de> <3sgo9c$6jo@uriah.heep.sax.de> <3shrj5$6ik@hydra.msgi.com>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Coranth Gryphon <gryphon@msgi.com> wrote:

>>Is your tape (erroneusly) announced as an Insight tape?
>
>Nope, shows up as a Colorado. I've verified the behavior (and
>need for the flag setting) using both -c and a new kernel.

My Colorado shows up without it.  Please, verify that the file
/sys/i386/isa/ft.c your kernel has been built with does indeed
containt the code snippet i've been posting, and that the following
patch is already applied to /sys/i386/isa/fd.c.  This should be the
case for fd.c revision 1.59 and higher:


Index: fd.c
===================================================================
RCS file: /usr/home/cvs/src/sys/i386/isa/fd.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- 1.58        1995/04/20 03:17:44
+++ 1.59        1995/05/06 19:34:25
@@ -53,9 +53,6 @@
 #endif
 #include "fd.h"
 
-/* Flags */
-#define FT_PROBE               0x1
-
 #if NFDC > 0
 
 #include <sys/param.h>
@@ -605,8 +602,7 @@
                        unithasfd = 0;
                        if (fdu < NFD && fd->type != NO_TYPE)
                                unithasfd = 1;
-                       if ((dev->id_flags & FT_PROBE) &&
-                           ftattach(dev, fdup, unithasfd))
+                       if (ftattach(dev, fdup, unithasfd))
                                continue;
                        if (fdsu < DRVS_PER_CTLR) 
                                fd->type = NO_TYPE;
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)