From owner-cvs-all@FreeBSD.ORG Wed Jul 12 08:12:34 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 D5DD916A4E1; Wed, 12 Jul 2006 08:12:34 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8981043D6D; Wed, 12 Jul 2006 08:12:29 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.92] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k6C8CQ6v068799 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 Jul 2006 01:12:27 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <44B4AED2.9010301@FreeBSD.org> Date: Wed, 12 Jul 2006 01:12:02 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Nate Lawson References: <200607120049.k6C0nlHN034350@repoman.freebsd.org> <200607112059.39655.jkim@FreeBSD.org> <44B48F0E.1050704@FreeBSD.org> <44B495BF.6080503@root.org> In-Reply-To: <44B495BF.6080503@root.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 08:12:35 -0000 Nate Lawson wrote: > 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. Ah, makes sense! -Maxim