From owner-freebsd-current@FreeBSD.ORG Mon Dec 20 22:26:30 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 2DABD106566B for ; Mon, 20 Dec 2010 22:26:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 010268FC16 for ; Mon, 20 Dec 2010 22:26:30 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id ABD1846B17; Mon, 20 Dec 2010 17:26:29 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 85A078A009; Mon, 20 Dec 2010 17:26:28 -0500 (EST) From: John Baldwin To: Ivan Klymenko Date: Mon, 20 Dec 2010 17:26:15 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20101102; KDE/4.4.5; amd64; ; ) References: <20101218203020.1cec8dc7@ukr.net> <201012201602.46538.jhb@freebsd.org> <20101220233857.762cabc8@ukr.net> In-Reply-To: <20101220233857.762cabc8@ukr.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201012201726.15729.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Mon, 20 Dec 2010 17:26:28 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=4.2 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: 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:26:30 -0000 On Monday, December 20, 2010 4:38:57 pm Ivan Klymenko wrote: > =D0=92 Mon, 20 Dec 2010 16:02:46 -0500 > John Baldwin =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 > Not working :( This was debugging, not a fix. Try this possible fix: 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 =2D-- 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. */ =2D if (sc->irq =3D=3D NULL) { =2D if (resource_int_value(name, unit, "irq", &t) !=3D 0) =2D t =3D -1; =2D } else =2D t =3D rman_get_start(sc->irq); =2D if (t > 0) =2D resource_list_add(&ivar->resources, SYS_RES_IRQ, ivar->rid, =2D 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); =2D-=20 John Baldwin