From owner-freebsd-current@FreeBSD.ORG Thu Aug 26 06:31:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5560516A4CE for ; Thu, 26 Aug 2004 06:31:35 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 941FE43D5D for ; Thu, 26 Aug 2004 06:31:34 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i7Q6VPPp015431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Aug 2004 09:31:26 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i7Q6VTFp027268; Thu, 26 Aug 2004 09:31:29 +0300 (EEST) (envelope-from ru) Date: Thu, 26 Aug 2004 09:31:29 +0300 From: Ruslan Ermilov To: Nate Lawson Message-ID: <20040826063129.GE26879@ip.net.ua> References: <20040825.161733.103236573.imp@bsdimp.com> <20040825222345.GB79209@ip.net.ua> <412D12D4.1000401@root.org> <20040825.163521.103131991.imp@bsdimp.com> <412D2087.4000306@root.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3Gf/FFewwPeBMqCJ" Content-Disposition: inline In-Reply-To: <412D2087.4000306@root.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: phk@phk.freebsd.dk cc: current@freebsd.org cc: "M. Warner Losh" Subject: Re: No more floppy drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 06:31:35 -0000 --3Gf/FFewwPeBMqCJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 25, 2004 at 04:28:07PM -0700, Nate Lawson wrote: > M. Warner Losh wrote: > >In message: <412D12D4.1000401@root.org> > > Nate Lawson writes: > >: There are only two ways currently to find fd0 on ISA systems: ACPI _FD= E=20 > >: probing and hints. The acpi probe automatically falls back to the hin= ts=20 > >: system if _FDE fails so you should leave the hint.fd.0 lines in but=20 > >: comment out hint.fdc lines (as you've done). > > > >I think this is a bad idea, but may be what we have to do for 5.3. We > >can find out what drives are on the system by asking the rtc() if > >there's no _FDE, which is what the old, pre-acpi code did (which is > >why people are seeing their drives disappear now). >=20 > This is incorrect. The acpi commits did not remove any rtc probe; there= =20 > never was one. There were only two commits by me to fdc.c so check them= =20 > out to see what I mean. All I did was move the existing hints probe=20 > into its own function, fdc_hints_probe(). The easiest way to see how=20 > fdX gets probed is to look for callers to fdc_add_child(). They are=20 > fdc_acpi_probe_children() and fdc_hints_probe(). The latter is called=20 > by the ISA attachment or the ACPI attachment if the _FDE method is not=20 > present. (BTW, it seems the pccard attachment doesn't probe this way?) >=20 It doesn't look like an ACPI problem to me, since I don't use an ACPI (due to it assigning an incorrect IRQ to my NIC). If I try with ACPI, I don't see any change in behavior. (Thought I'd mention this again.) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --3Gf/FFewwPeBMqCJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBLYPBqRfpzJluFF4RAnhOAJ9LartYl0qKsbEgbXprv8DapiEj4wCZAdtW m5Vsf9mCXbjbU4jFfINoHGs= =SYYs -----END PGP SIGNATURE----- --3Gf/FFewwPeBMqCJ--