kern/116169: [PATCH] acpi_ibm => psm0 not found problem

Igor Mozolevsky igor at hybrid-lab.co.uk
Thu Sep 6 14:40:02 PDT 2007


>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:


More information about the freebsd-bugs mailing list