From owner-freebsd-alpha@FreeBSD.ORG Thu Dec 4 13:50:13 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 3F3A916A4D7; Thu, 4 Dec 2003 13:50:13 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 436CF43FB1; Thu, 4 Dec 2003 13:50:06 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id WAA03759; Thu, 4 Dec 2003 22:50:05 +0100 (CET) Received: from uriah.heep.sax.de (localhost.heep.sax.de [127.0.0.1]) by uriah.heep.sax.de (8.12.9/8.12.6) with ESMTP id hB4Lh9Ej036893; Thu, 4 Dec 2003 22:43:09 +0100 (MET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.12.9/8.12.6/Submit) id hB4Lh9NL036892; Thu, 4 Dec 2003 22:43:09 +0100 (MET) (envelope-from j) Date: Thu, 4 Dec 2003 22:43:09 +0100 From: Joerg Wunsch To: John Baldwin Message-ID: <20031204224309.E34462@uriah.heep.sax.de> References: <20031204181201.321f2cf8.lehmann@ans-netz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Thu, Dec 04, 2003 at 02:43:19PM -0500 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GnuPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 X-Spam-Status: No, hits=-32.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: alpha@FreeBSD.org Subject: Re: Floppy detection on miata: solved. X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joerg Wunsch 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 21:50:13 -0000 As John Baldwin wrote: (Hardcoding 1.44 MB floppy drives in the driver source code.) > The patch looks simple enough. Basically, for arch's that duon't support > asking the BIOS about the floppy size, it just assumes a size of 1.44. > 4.x already does this apparently. I object. The driver must not make assumptions about things it doesn't know from a certain source. When I restructured the code in 5.x, I explicitly intented to get rid of the old hacks. I wouldn't object if /boot/device.hints on the alpha arch shipped with a default of hint.fd.0.flags="4" though, which basically has the same effect, but should at least give the careful reader a hint to read the man page... -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)