----------------------------------------------------------------------------
	ATAPI LS-120/ZIP (wfd) driver  Ver 1.5		Sep. 5, 1998

				Junichi Satoh	<junichi@astec.co.jp>
						<junichi@jp.FreeBSD.org>
----------------------------------------------------------------------------


* Introduction

  This package includes a patch against to 'wfd' driver for
  FreeBSD 2.2.7-RELEASE and a tool to control it.

  The wfd driver applied the patch fixes some problems and supports some
  new functions.

	. Add dsgone()
	. Correct ZIP probing messages.
	. Add ioctl for lowlevel format.
	. Add ioctl to control protects, write and read/write, on ZIP.
	. Add ioctl to get drive status.

  New driver allows to read/write following disks:

    - LS-120
	. 120MB
	. 1.44MB
	. 1.25MB (PC-9801 series format, FAT file system) (NOTICE)
	. 1.2MB
	. 720KB

    - ZIP
	. 100MB

    (NOTICE)
      'mount_msdos' doesn't support 1024Byte/sec disks. So, the 1.25MB
      floppy disks can be not mounted.  To read/write it, you need a
      software which supports 1024Byte/sec disks, extended 'mtools'
      or etc..

  It may have some problems. If you find problems, report to me.


* Files

  This package includes these files.

  . wfd-driver-980905.patch
	Patch against to 'wfd' driver for FreeBSD 2.2.7-RELEASE

  . ioctl_wfd.h
	Header file used by new wfd driver and wfdconrtol.

  . wfdcontrol
	Wfd driver control utility (format, write protect, etc..)


* Installation of new wfd driver

  1. Patch to the kernel source.

	# cd /usr/src/sys/i386
	# patch -p < wfd-driver-980905.patch

  2. Copy header file.

	# cp ioctl_wfd.h /usr/include/machine
	# cp ioctl_wfd.h /usr/src/sys/i386/include

  3. Configure the kernel.

  After rebooting by new kernel, you can use new wfd driver.


* Known problems

  . IDE bus is busy during format LS-120. Another device on same IDE
    bus can not be accessed untill format is finished.
    (Except ZIP drive)

  . On ZIP read/write protection password, there are no compatibility
    between the FreeBSD and the Windows. If you set read/write protect
    with password on the Windows, you can't clear it on the FreeBSD.


* TODO

  . Fix known problems.
  . Add ioctl to report format status.
  . Write man page of wfdcontrol.


* ChangeLog

  Ver 0.1  First beta version.
  Ver 0.2  Support PC-98 format.
  Ver 0.5  Correct probing messages.
  Ver 0.6  Fix a problem, when a LS-120 drive is connected to the same
	   IDE interface with a ATAPI CD-ROM drive, the CD-ROM drive is
	   not probed.
  Ver 1.0  Support slice.
  Ver 1.1  Synchronize with the driver commited in 3.0-CURRENT.
		. Major device numbers have been changed.
			(Thanks to Paul Traina)
		. Support ATAPI Zip.
			(Thanks to Mike Smith)
		. Fix a problem, FreeBSD filesystems could be dammaged
		  by repeatedly mounting and unmounting several partitions.
  Ver 1.2  Add dsgone()
  Ver 1.3  Correct probing messages of ZIP
  Ver 1.5  Add ioctl to format LS-120/ZIP
	   Add ioctl to set/unset ZIP write/read protect
	   Add ioctl to get status
