Date: Thu, 6 Sep 2007 21:36:14 GMT From: Igor Mozolevsky <igor@hybrid-lab.co.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/116169: [PATCH] acpi_ibm => psm0 not found problem Message-ID: <200709062136.l86LaEhG059858@www.freebsd.org> Resent-Message-ID: <200709062140.l86Le2js094822@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709062136.l86LaEhG059858>