Re: ATA mkIII first official patches - please test!

From: Søren Schmidt <sos_at_DeepCore.dk>
Date: Sat, 05 Feb 2005 21:06:31 +0100
Maxim Konovalov wrote:
> On Thu, 3 Feb 2005, 21:52+0100, S?ren Schmidt wrote:
> 
> 
>>ATA-mkIII first official snapshot.
> 
> 
> 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 
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
_at__at_ -134,6 +134,7 _at__at_
      cdp->block_size = 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 */



-- 

-Søren
Received on Sat Feb 05 2005 - 19:06:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC