Misc fixes from Soren Jacobsen in PR 23350.

This commit is contained in:
wiz 2003-11-03 09:56:37 +00:00
parent 38ecd597c4
commit 0128b312f7

View File

@ -1,4 +1,4 @@
.\" $NetBSD: wd.4,v 1.11 2003/10/15 08:38:10 wiz Exp $
.\" $NetBSD: wd.4,v 1.12 2003/11/03 09:56:37 wiz Exp $
.\"
.\"
.\" Copyright (c) 1994 James A. Jegers
@ -35,21 +35,21 @@
.Sh DESCRIPTION
The
.Nm wd
driver supports hard disk which emulate the Western
Digital WD100x. This includes standard MFM, RLL, ESDI, IDE and EIDE
drives.
driver supports hard disks that emulate the Western
Digital WD100x.
This includes standard MFM, RLL, ESDI, IDE, and EIDE drives.
.Pp
The flags are used only with controllers that support DMA operations and
mode settings (like some pciide controllers).
The lowest order nibble (rightmost digit) of the flags define the PIO mode
to use, the next set of four bits the DMA mode and the third nibble the
The lowest order nibble (rightmost digit) of the flags defines the PIO mode,
the next four bits define the DMA mode and the third nibble defines the
UltraDMA mode.
For each set of four bits, the 3 lower bits define the mode to use
and the last bit must be set to 1 for this setting to be used.
For DMA and UDMA, 0xf (1111) means 'disable'.
For example, a flags value of 0x0fac (1111 1010 1100)
means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
0x0000 means "use whatever the drive claims to support.
0x0000 means "use whatever the drive claims to support."
.Sh SEE ALSO
.Xr ata 4 ,
.Xr intro 4 ,