Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Feb 2005 21:06:31 +0100
From:      =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk>
To:        Maxim Konovalov <maxim@macomnet.ru>
Cc:        'FreeBSD Current' <freebsd-current@freebsd.org>
Subject:   Re: ATA mkIII first official patches - please test!
Message-ID:  <42052747.7000102@DeepCore.dk>
In-Reply-To: <20050205192139.P54165@mp2.macomnet.net>
References:  <42028F29.1030801@DeepCore.dk> <20050205192139.P54165@mp2.macomnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42052747.7000102>