Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2001 08:30:49 -0700 (PDT)
From:      Joerg Wunsch <joerg@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/isa fd.c
Message-ID:  <200106291530.f5TFUn284469@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sys/fdcio.h> (formerly <machine/ioctl_fd.h>) 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




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