From owner-cvs-all@FreeBSD.ORG Wed Jul 12 06:25:20 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 230E916A4E0; Wed, 12 Jul 2006 06:25:20 +0000 (UTC) (envelope-from nate@root.org) Received: from ylpvm12.prodigy.net (ylpvm12-ext.prodigy.net [207.115.57.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA1AC43D46; Wed, 12 Jul 2006 06:25:19 +0000 (GMT) (envelope-from nate@root.org) Received: from pimout7-ext.prodigy.net (pimout7-int.prodigy.net [207.115.4.147]) by ylpvm12.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id k6C6PHTX022702; Wed, 12 Jul 2006 02:25:17 -0400 X-ORBL: [71.139.3.149] Received: from [10.0.5.51] (ppp-71-139-3-149.dsl.snfc21.pacbell.net [71.139.3.149]) by pimout7-ext.prodigy.net (8.13.6 out.dk/8.13.6) with ESMTP id k6C6PHCm173808; Wed, 12 Jul 2006 02:25:17 -0400 Message-ID: <44B495BF.6080503@root.org> Date: Tue, 11 Jul 2006 23:25:03 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: Maxim Sobolev References: <200607120049.k6C0nlHN034350@repoman.freebsd.org> <200607112059.39655.jkim@FreeBSD.org> <44B48F0E.1050704@FreeBSD.org> In-Reply-To: <44B48F0E.1050704@FreeBSD.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Jung-uk Kim Subject: Re: cvs commit: src/sys/dev/fdc fdc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 06:25:20 -0000 Maxim Sobolev wrote: > Jung-uk Kim wrote: >> On Tuesday 11 July 2006 08:49 pm, Jung-uk Kim wrote: >>> jkim 2006-07-12 00:49:47 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> sys/dev/fdc fdc.c >>> Log: >>> Assume floppy disk is not inserted when we have exhausted >>> retries. This significantly reduces booting time when there is >>> broken floppy disk drive, controller, cable, BIOS, etc. >>> When the floppy controller interface is correctly implemented, >>> disk change signal (DSKCHG) is reflected in the Digital Input >>> Register (DIR) at 0x3f7. However, there are many cases that the >>> signal is unusable. Moreover, some BIOS does not reserve the port >>> at all. In those cases, the register may not function. >>> >>> Revision Changes Path >>> 1.311 +3 -0 src/sys/dev/fdc/fdc.c >> >> Linux device driver seems to have 'broken_dcl' boot time option to >> work around this issue, i.e., assuming disk change for every floppy >> disk access, which is quite ugly, IMHO. Does anybody have better idea >> to fix these cases? > > Not really relevant, but who cares about floppy in 2006 when one can buy > 256MB USB flash for the price of the pack of floppies? ;-) > > No offense intended, just curious. > > -Maxim You CAN'T get rid of the fdc, even if you want to. It's an embedded part of the Super I/O chips even if your machine has no floppy drive (i.e. laptop). So anything that slows down probing of it will slow down your boot. That's why it's great Jung-uk has done this work. -- Nate