1999-03-16 04:19:14 +03:00
|
|
|
.\" $NetBSD: wd.4,v 1.3 1999/03/16 01:19:19 garbled Exp $
|
1998-01-09 11:03:16 +03:00
|
|
|
.\"
|
1994-12-14 04:11:40 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1994 James A. Jegers
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. The name of the author may not be used to endorse or promote products
|
|
|
|
.\" derived from this software without specific prior written permission
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
1998-10-19 16:44:15 +04:00
|
|
|
.Dd October 15, 1998
|
|
|
|
.Dt WD 4
|
1999-03-16 04:19:14 +03:00
|
|
|
.Os
|
1994-12-14 04:11:40 +03:00
|
|
|
.Sh NAME
|
|
|
|
.Nm wd
|
|
|
|
.Nd WD100x compatible hard disk driver
|
|
|
|
.Sh SYNOPSIS
|
1998-12-02 14:05:59 +03:00
|
|
|
.Cd "wd* at wdc? channel ? drive ? flags 0x0000"
|
|
|
|
.Cd "wd* at pciide? channel ? drive ? flags 0x0000"
|
1994-12-14 04:11:40 +03:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm wd
|
1998-10-19 16:44:15 +04:00
|
|
|
driver supports hard disk which emulate the Western
|
|
|
|
Digital WD100x. This includes standard MFM, RLL, ESDI, IDE and EIDE
|
|
|
|
drives.
|
1998-12-02 14:05:59 +03:00
|
|
|
.Pp
|
|
|
|
The flags are used only with controllers with mode settings support (like
|
|
|
|
some PCIIDE controllers). The first 4 bytes of the flags define the PIO mode
|
|
|
|
to use, the second DMA mode and the third UltraDMA mode. For each group of 4
|
|
|
|
bytes, the 3 lower define the mode to use, and the last one must be 1 for the
|
|
|
|
setting to be used. For DMA and UDMA, 0xf means 'disable'. For example, 0x0fac
|
|
|
|
means 'use PIO mode 4 DMA mode 2, disable UltraDMA'. 0x0000 means "use whatever
|
|
|
|
the drive claims to support.
|
1994-12-14 04:11:40 +03:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr intro 4
|
1998-10-19 16:44:15 +04:00
|
|
|
.Xr wdc 4
|
|
|
|
.Xr pciide 4
|
|
|
|
.Xr scsi 4
|