From owner-freebsd-current@FreeBSD.ORG Fri Apr 7 18:21:53 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7884116A403; Fri, 7 Apr 2006 18:21:53 +0000 (UTC) (envelope-from iwasaki@jp.FreeBSD.org) Received: from locore.org (ns01.locore.org [218.45.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA89F43D49; Fri, 7 Apr 2006 18:21:52 +0000 (GMT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (ns01.locore.org [218.45.21.227]) by locore.org (8.13.1/8.13.1/iwasaki) with ESMTP/inet id k37ILo7a076042; Sat, 8 Apr 2006 03:21:50 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Sat, 08 Apr 2006 03:21:51 +0900 (JST) Message-Id: <20060408.032151.07645075.iwasaki@jp.FreeBSD.org> To: acpi@freebsd.org, current@freebsd.org From: Mitsuru IWASAKI X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: CFR: ACPI Dock driver 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: Fri, 07 Apr 2006 18:21:53 -0000 Hi all I wrote ACPI Dock driver for RELENG_6 and put at http://www.freebsd.org/~iwasaki/acpi/acpi_dock-RELENG_6-20060408.tar.gz Please review and test it. Testing was done on ThinkPad X40 and X4 UltraBase. BTW, I'm trying to port this for 7-CURRENT, but the ACPICA function AcpiNsInitOneDevice() is no longer public in newer version of ACPICA. Any hints? Note: ATA devices are not dock-aware, so you need to detach ATA devices by `atacontrol detach ata1' before undocking, otherwise the system will freeze. # I had not idea where to add DEVMETHOD(device_detach, ata_detach)... Thanks