From owner-cvs-src@FreeBSD.ORG Sat Mar 26 06:05:07 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7425916A4CE; Sat, 26 Mar 2005 06:05:07 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48C3F43D5F; Sat, 26 Mar 2005 06:05:07 +0000 (GMT) (envelope-from ken@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j2Q657ZH017938; Sat, 26 Mar 2005 06:05:07 GMT (envelope-from ken@repoman.freebsd.org) Received: (from ken@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2Q657d7017937; Sat, 26 Mar 2005 06:05:07 GMT (envelope-from ken) Message-Id: <200503260605.j2Q657d7017937@repoman.freebsd.org> From: "Kenneth D. Merry" Date: Sat, 26 Mar 2005 06:05:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/cam/scsi scsi_cd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 06:05:07 -0000 ken 2005-03-26 06:05:06 UTC FreeBSD src repository Modified files: sys/cam/scsi scsi_cd.c Log: Fix a problem with the cd(4) driver -- the CAMGETPASSTHRU ioctl wouldn't succeed if there was no media in the drive. This was broken in rev 1.72 when the media check was added to cdioctl(). For now, check the ioctl group to decide whether to check for media or not. (We only need to check for media on CD-specific ioctls.) Reported by: bland MFC after: 3 days Revision Changes Path 1.93 +7 -1 src/sys/cam/scsi/scsi_cd.c