From owner-freebsd-alpha@FreeBSD.ORG Thu Dec 4 03:11:21 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85A3416A4CE for ; Thu, 4 Dec 2003 03:11:21 -0800 (PST) Received: from pegasus.freiberg-net.de (pegasus.freibergnet.de [80.243.43.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15D0D43FCB for ; Thu, 4 Dec 2003 03:11:17 -0800 (PST) (envelope-from holm@pegasus.freiberg-net.de) Received: from pegasus.freiberg-net.de (localhost.freiberg-net.de [127.0.0.1]) hB4BBGOr003365 for ; Thu, 4 Dec 2003 12:11:16 +0100 (CET) (envelope-from holm@pegasus.freiberg-net.de) Received: (from holm@localhost) by pegasus.freiberg-net.de (8.12.10/8.12.10/Submit) id hB4BBGBF003364 for freebsd-alpha@freebsd.org; Thu, 4 Dec 2003 12:11:16 +0100 (CET) (envelope-from holm) Date: Thu, 4 Dec 2003 12:11:16 +0100 From: Holm Tiffe To: freebsd-alpha@freebsd.org Message-ID: <20031204111116.GC2531@pegasus.freiberg-net.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.1i Organization: FreibergNet Internet Services Priority: normal X-Phone: +49-3731-781279 X-Fax: +49-3731-781377 X-PGP-fingerprint: 86 EC A5 63 B5 28 78 13 8B FC E9 09 04 6E 86 FC Subject: Floppy detection on miata: solved. X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: holm@freibergnet.de List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2003 11:11:21 -0000 I can remember that I've read something about the not detected floppy on the alphas. My friend, Jörg Wunsch, told me, that there is a mechanism in the driver, that gets drives and parameters from device.hints. after putting the lines: hint.fd.0.at="fdc0" hint.fd.0.drive="0" hint.fd.0.flags="4" in device.hints, the kernel is detecting the drive: fdc0: at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: interrupting at ISA irq 6 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 and it seems, that this drive is working. There are some other problems with it, the automatic generation of subdevices does'nt work (eg. fd0.1), and this one: # dd if=/dev/fd0 of=/dev/null bs=1440k dd: /dev/fd0: Invalid argument 1+0 records in 1+0 records out 1474560 bytes transferred in 47.773982 secs (30865 bytes/sec) greetings, Holm -- L&P::Kommunikation GbR Holm Tiffe * Administration, Development FreibergNet.de Internet Systems phone +49 3731 41930 Bereich Server & Technik fax +49 3731 4196026 D-09599 Freiberg * Nonnengasse 31a http://www.freibergnet.de