From owner-freebsd-alpha@FreeBSD.ORG Thu Dec 4 15:18:42 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 7991716A4CE; Thu, 4 Dec 2003 15:18:42 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 323D043F75; Thu, 4 Dec 2003 15:18:40 -0800 (PST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) hB4NIUvq065159 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Fri, 5 Dec 2003 00:18:33 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id hB4NITWK029071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 5 Dec 2003 00:18:30 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.10/8.12.10) with ESMTP id hB4NIT2u039317; Fri, 5 Dec 2003 00:18:29 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.10/8.12.10/Submit) id hB4NITeI039316; Fri, 5 Dec 2003 00:18:29 +0100 (CET) (envelope-from ticso) Date: Fri, 5 Dec 2003 00:18:29 +0100 From: Bernd Walter To: Joerg Wunsch Message-ID: <20031204231828.GG1860@cicely12.cicely.de> References: <20031204181201.321f2cf8.lehmann@ans-netz.de> <20031204224309.E34462@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031204224309.E34462@uriah.heep.sax.de> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-CURRENT alpha User-Agent: Mutt/1.5.4i 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: ticso@cicely.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 23:18:42 -0000 On Thu, Dec 04, 2003 at 10:43:09PM +0100, Joerg Wunsch wrote: > 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... That's way better. Alphas usually have a single 1.44M floppy - some OEM systems have none. I doubt that anyone is using an alpha with an 1.2M or other size floppy of any kind and those still have the option to configure their own requirements. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de