From owner-freebsd-current@FreeBSD.ORG Mon Dec 20 22:40:45 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE1BF106566C; Mon, 20 Dec 2010 22:40:45 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 99AAB8FC0C; Mon, 20 Dec 2010 22:40:45 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.4/8.14.4) with ESMTP id oBKMeiWV010462; Mon, 20 Dec 2010 14:40:44 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.4/8.14.4/Submit) id oBKMeiK8010461; Mon, 20 Dec 2010 14:40:44 -0800 (PST) (envelope-from david) Date: Mon, 20 Dec 2010 14:40:44 -0800 From: David Wolfskill To: John Baldwin Message-ID: <20101220224044.GG1494@albert.catwhisker.org> References: <20101218203020.1cec8dc7@ukr.net> <201012201602.46538.jhb@freebsd.org> <20101220233857.762cabc8@ukr.net> <201012201726.15729.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/Zw+/jwnNHcBRYYu" Content-Disposition: inline In-Reply-To: <201012201726.15729.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: Ivan Klymenko , freebsd-current@freebsd.org Subject: Re: dev/psm0 not found X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 20 Dec 2010 22:40:45 -0000 --/Zw+/jwnNHcBRYYu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 20, 2010 at 05:26:15PM -0500, John Baldwin wrote: > On Monday, December 20, 2010 4:38:57 pm Ivan Klymenko wrote: > > ?? Mon, 20 Dec 2010 16:02:46 -0500 > > John Baldwin ??????????: > >=20 > > Not working :( >=20 > This was debugging, not a fix. Try this possible fix: >=20 > Index: atkbdc_isa.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- atkbdc_isa.c (revision 216591) > +++ atkbdc_isa.c (working copy) > @@ -272,14 +272,16 @@ > * list entry so we can use a standard bus_get_resource() > * method. > */ > - if (sc->irq =3D=3D NULL) { > - if (resource_int_value(name, unit, "irq", &t) !=3D 0) > - t =3D -1; > - } else > - t =3D rman_get_start(sc->irq); > - if (t > 0) > - resource_list_add(&ivar->resources, SYS_RES_IRQ, ivar->rid, > - t, t, 1); > + if (order =3D=3D KBDC_RID_KBD) { > + if (sc->irq =3D=3D NULL) { > + if (resource_int_value(name, unit, "irq", &t) !=3D 0) > + t =3D -1; > + } else > + t =3D rman_get_start(sc->irq); > + if (t > 0) > + resource_list_add(&ivar->resources, SYS_RES_IRQ, > + ivar->rid, t, t, 1); > + } > =20 > if (resource_disabled(name, unit)) > device_disable(child); Worked for me: FreeBSD 9.0-CURRENT #81 r216588M: Mon Dec 20 14:35:37 PST 20= 10 Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --/Zw+/jwnNHcBRYYu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk0P22oACgkQmprOCmdXAD0JfACfUKzph2xmaYmwCusfEn8jg/Bz kUoAn0xpQKxacGi3o466EDyaOmmkDoYI =fWLF -----END PGP SIGNATURE----- --/Zw+/jwnNHcBRYYu--