From owner-cvs-src@FreeBSD.ORG Sun Jun 15 09:18:59 2003 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 84FBA37B401; Sun, 15 Jun 2003 09:18:59 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAF7443FA3; Sun, 15 Jun 2003 09:18:58 -0700 (PDT) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5FGIw0U073472; Sun, 15 Jun 2003 09:18:58 -0700 (PDT) (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5FGIwP2073471; Sun, 15 Jun 2003 09:18:58 -0700 (PDT) Message-Id: <200306151618.h5FGIwP2073471@repoman.freebsd.org> From: Yar Tikhiy Date: Sun, 15 Jun 2003 09:18:58 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/isa fd.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: Sun, 15 Jun 2003 16:19:00 -0000 yar 2003/06/15 09:18:58 PDT FreeBSD src repository Modified files: sys/isa fd.c Log: Check whether the floppy type pointer has been set before trying to access floppy parameters through it. Note: The DIOCGSECTORSIZE and DIOCGMEDIASIZE handlers withing fdioctl() couldn't be just moved to below the existing check for blocking mode because fd->ft can be non-NULL while still in non-blocking mode (fd->ft can be set with the FD_STYPE ioctl.) PR: kern/52338 No MFC: Not applicable to STABLE Revision Changes Path 1.252 +4 -0 src/sys/isa/fd.c