From owner-cvs-all Fri Jun 29 8:30:54 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CBDB537B405; Fri, 29 Jun 2001 08:30:49 -0700 (PDT) (envelope-from joerg@FreeBSD.org) Received: (from joerg@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5TFUn284469; Fri, 29 Jun 2001 08:30:49 -0700 (PDT) (envelope-from joerg) Message-Id: <200106291530.f5TFUn284469@freefall.freebsd.org> From: Joerg Wunsch Date: Fri, 29 Jun 2001 08:30:49 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/isa fd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG joerg 2001/06/29 08:30:49 PDT Modified files: sys/isa fd.c Log: Use the new-born BIO_CMD1 instead of fudging a bio_flag value for reading the sector ID. Based on numerous comments made by Bruce, rewrite a good part of the old fdformat() function, and merge it with fdreadid() into a single unified fdmisccmd() function. Various style and a couple of more serious bugs fixed there. While i was at it, i also fixed the long-standing "TODO: don't allocate buffer on stack." in fdcioctl(), fixed a number of style bugs there, and finally implemented the FD_DEBUG ioctl command that has been advertised in (formerly ) for almost seven years now. ;-) Submitted by: bde (a lot of fixes for fdformat()) Revision Changes Path 1.210 +73 -117 src/sys/isa/fd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message