Document the use of flags for PIO/DMA/UDMA settings/disable.
This commit is contained in:
parent
ab57245c0f
commit
c0a73358a2
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: cd.4,v 1.8 1998/07/13 12:14:24 hpeyerl Exp $
|
||||
.\" $NetBSD: cd.4,v 1.9 1998/12/02 11:05:59 bouyer Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996
|
||||
.\" Julian Elischer <julian@freebsd.org>. All rights reserved.
|
||||
|
@ -34,7 +34,7 @@
|
|||
.Sh SYNOPSIS
|
||||
.Cd "cd* at scsibus? target ? lun ?"
|
||||
.Cd "cd1 at scsibus0 target 4 lun 0"
|
||||
.Cd "cd* at atapibus? drive ?"
|
||||
.Cd "cd* at atapibus? drive ? flags 0x0000"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm cd
|
||||
|
@ -69,6 +69,9 @@ type devices will be `attached' to the
|
|||
.Nm
|
||||
driver.
|
||||
.Pp
|
||||
For the use of flags with ATAPI devices, see
|
||||
.Xr wd 4 .
|
||||
.Pp
|
||||
The system utility
|
||||
.Xr disklabel 8
|
||||
may be used to read the synthesized
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: sd.4,v 1.6 1998/06/10 11:15:21 fair Exp $
|
||||
.\" $NetBSD: sd.4,v 1.7 1998/12/02 11:05:59 bouyer Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996
|
||||
.\" Julian Elischer <julian@freebsd.org>. All rights reserved.
|
||||
|
@ -34,7 +34,7 @@
|
|||
.Sh SYNOPSIS
|
||||
.Cd sd* at scsibus? target ? lun ?
|
||||
.Cd sd3 at scsibus0 target 3 lun 0
|
||||
.Cd "sd* at atapibus? drive ?"
|
||||
.Cd "sd* at atapibus? drive ? flags 0x0000"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
|
@ -74,6 +74,9 @@ Any devices found which answer as
|
|||
type devices will be attached to the
|
||||
.Nm
|
||||
driver.
|
||||
.Pp
|
||||
For the use of flags with ATAPI devices, see
|
||||
.Xr wd 4 .
|
||||
.\"In
|
||||
.\".Tn FreeBSD
|
||||
.\"releases prior to 2.1, the first found was attached as
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: wd.4,v 1.1 1998/10/19 12:44:15 bouyer Exp $
|
||||
.\" $NetBSD: wd.4,v 1.2 1998/12/02 11:05:59 bouyer Exp $
|
||||
.\"
|
||||
.\"
|
||||
.\" Copyright (c) 1994 James A. Jegers
|
||||
|
@ -30,14 +30,22 @@
|
|||
.Nm wd
|
||||
.Nd WD100x compatible hard disk driver
|
||||
.Sh SYNOPSIS
|
||||
.Cd "wd* at wdc? channel ? drive ?"
|
||||
.Cd "wd* at pciide? channel ? drive ?"
|
||||
.Cd "wd* at wdc? channel ? drive ? flags 0x0000"
|
||||
.Cd "wd* at pciide? channel ? drive ? flags 0x0000"
|
||||
.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.
|
||||
.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.
|
||||
.Sh SEE ALSO
|
||||
.Xr intro 4
|
||||
.Xr wdc 4
|
||||
|
|
Loading…
Reference in New Issue