From owner-freebsd-current Wed Jan 27 13:10:36 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA10856 for freebsd-current-outgoing; Wed, 27 Jan 1999 13:10:36 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA10831 for ; Wed, 27 Jan 1999 13:10:32 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.2/8.8.5) id OAA53490; Wed, 27 Jan 1999 14:10:17 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199901272110.OAA53490@panzer.plutotech.com> Subject: Re: devstat and atapi-cd.c In-Reply-To: <199901272024.VAA36888@peedub.muc.de> from Gary Jennejohn at "Jan 27, 99 09:24:32 pm" To: garyj@muc.de (Gary Jennejohn) Date: Wed, 27 Jan 1999 14:10:17 -0700 (MST) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gary Jennejohn wrote... > Are there any plans to add devstat support to atapi-cd.c, a la scsi_cd.c ? > > Is it even considered to be desirable ? I think it is desireable. I think the best person to do it is probably Soren or someone else who is familar with the driver. The thing you have to make sure of is that you have exactly one devstat_start_transaction() call for each transaction that you send to the device, and exactly one devstat_end_transaction() call for each transaction you get back. That includes any error cases, as well as the "normal" cases. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message