Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Corrected description of "flags" parameter (b...



details:   https://anonhg.NetBSD.org/src/rev/3056e9712b88
branches:  trunk
changeset: 472201:3056e9712b88
user:      mjl <mjl%NetBSD.org@localhost>
date:      Sun Apr 25 00:00:05 1999 +0000

description:
Corrected description of "flags" parameter (bytes -> bits, reformulation
mostly taken from i386/GENERIC kernel config)

diffstat:

 share/man/man4/wd.4 |  20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diffs (34 lines):

diff -r 103078b11efa -r 3056e9712b88 share/man/man4/wd.4
--- a/share/man/man4/wd.4       Sat Apr 24 23:54:56 1999 +0000
+++ b/share/man/man4/wd.4       Sun Apr 25 00:00:05 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: wd.4,v 1.3 1999/03/16 01:19:19 garbled Exp $
+.\"    $NetBSD: wd.4,v 1.4 1999/04/25 00:00:05 mjl Exp $
 .\"
 .\"
 .\" Copyright (c) 1994 James A. Jegers
@@ -39,13 +39,17 @@
 Digital WD100x.  This includes standard MFM, RLL, ESDI, IDE and EIDE
 drives.
 .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.
+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
+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.
 .Sh SEE ALSO
 .Xr intro 4
 .Xr wdc 4



Home | Main Index | Thread Index | Old Index