From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 6 21:40:02 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FA9C16A418 for ; Thu, 6 Sep 2007 21:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4579613C494 for ; Thu, 6 Sep 2007 21:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l86Le2Rc094823 for ; Thu, 6 Sep 2007 21:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l86Le2js094822; Thu, 6 Sep 2007 21:40:02 GMT (envelope-from gnats) Resent-Date: Thu, 6 Sep 2007 21:40:02 GMT Resent-Message-Id: <200709062140.l86Le2js094822@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Igor Mozolevsky Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38A5C16A421 for ; Thu, 6 Sep 2007 21:36:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E2B6D13C46A for ; Thu, 6 Sep 2007 21:36:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l86LaEkH059859 for ; Thu, 6 Sep 2007 21:36:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l86LaEhG059858; Thu, 6 Sep 2007 21:36:14 GMT (envelope-from nobody) Message-Id: <200709062136.l86LaEhG059858@www.freebsd.org> Date: Thu, 6 Sep 2007 21:36:14 GMT From: Igor Mozolevsky To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/116169: [PATCH] acpi_ibm => psm0 not found problem X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 21:40:02 -0000 >Number: 116169 >Category: kern >Synopsis: [PATCH] acpi_ibm => psm0 not found problem >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 06 21:40:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Igor Mozolevsky >Release: RELENG_6 from cvs >Organization: >Environment: >Description: psm driver fails to allocate irq 12 because acpi_ibm has already grabbed it >How-To-Repeat: build kernel with both acpi_ibm and psm included >Fix: patch acpi_ibm.c and psm.c as per attached file Patch attached with submission follows: --- /usr/src/sys/dev/acpi_support/acpi_ibm.c.orig 2007-09-06 22:19:39.000000000 +0100 +++ /usr/src/sys/dev/acpi_support/acpi_ibm.c 2007-09-06 22:20:27.000000000 +0100 @@ -317,7 +317,7 @@ device_set_desc(dev, "IBM ThinkPad ACPI Extras"); - return (0); + return (BUS_PROBE_LOW_PRIORITY); } static int --- /usr/src/sys/dev/atkbdc/psm.c.orig 2007-09-06 22:20:13.000000000 +0100 +++ /usr/src/sys/dev/atkbdc/psm.c 2007-09-06 22:21:15.000000000 +0100 @@ -1254,7 +1254,7 @@ /* done */ kbdc_set_device_mask(sc->kbdc, mask | KBD_AUX_CONTROL_BITS); kbdc_lock(sc->kbdc, FALSE); - return (0); + return (BUS_PROBE_DEFAULT); } static int >Release-Note: >Audit-Trail: >Unformatted: