wd(4) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
WD(4)                     NetBSD Programmer's Manual                     WD(4)


NAME
wd - WD100x compatible hard disk driver
SYNOPSIS
wd* at wdc? channel ? drive ? flags 0x0000 wd* at pciide? channel ? drive ? flags 0x0000 wd* at umass?
DESCRIPTION
The wd driver supports hard disk which emulate the Western Digital WD100x. This includes standard MFM, RLL, ESDI, IDE and EIDE drives. 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.
SEE ALSO
intro(4), pciide(4), scsi(4), umass(4), wdc(4), atactl(8) NetBSD 1.6 October 15, 1998 1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.