From owner-freebsd-current@FreeBSD.ORG Sat Feb 5 20:06:53 2005 Return-Path: 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 3EB8816A531 for ; Sat, 5 Feb 2005 20:06:53 +0000 (GMT) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C43043D1D for ; Sat, 5 Feb 2005 20:06:52 +0000 (GMT) (envelope-from sos@DeepCore.dk) Received: from [194.192.25.143] (laptop.deepcore.dk [194.192.25.143]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id j15K6iX8041847; Sat, 5 Feb 2005 21:06:47 +0100 (CET) (envelope-from sos@DeepCore.dk) Message-ID: <42052747.7000102@DeepCore.dk> Date: Sat, 05 Feb 2005 21:06:31 +0100 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Konovalov References: <42028F29.1030801@DeepCore.dk> <20050205192139.P54165@mp2.macomnet.net> In-Reply-To: <20050205192139.P54165@mp2.macomnet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-mail-scanned: by DeepCore Virus & Spam killer v1.6 cc: 'FreeBSD Current' Subject: Re: ATA mkIII first official patches - please test! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 05 Feb 2005 20:06:53 -0000 Maxim Konovalov wrote: > On Thu, 3 Feb 2005, 21:52+0100, S?ren Schmidt wrote: >=20 >=20 >>ATA-mkIII first official snapshot. >=20 >=20 > On my Sony VAIO PCG-505BX ioctl(CDIOEJECT) (cdcontrol eject) returns > EOPNOTSUPP. Thanks! I accidentally removed a line in atapi-cd.c, please try below=20 patch it should fic the problem. --- atapi-cd.c 2005/02/03 15:23:35 1.15 +++ atapi-cd.c 2005/02/05 19:59:54 @@ -134,6 +134,7 @@ cdp->block_size =3D 2048; device_set_ivars(dev, cdp); ATA_SETMODE(GRANDPARENT(dev), dev); + acd_get_cap(dev); g_post_event(acd_geom_attach, dev, M_WAITOK, NULL); /* announce we are here */ --=20 -S=F8ren