*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> i386/wdc (4)              
Title
Content
Arch
Section
 

WD(4)

Contents


NAME    [Toc]    [Back]

     wd, wdc -- generic WD100x/IDE disk controller driver

SYNOPSIS    [Toc]    [Back]

     device wdc0 at isa? port IO_WD1 irq 14 [flags flags]
     device wd0 at wdc0 drive 0
     device wd1 at wdc0 drive 1 [flags flags]

DESCRIPTION    [Toc]    [Back]

     This driver provides access to disks connected to controllers that emulate
 the Western Digital WD100x series.  This range of controllers
     includes WD1003 type ST412 controllers, WD1007 ESDI controllers and also
     the generic IDE controllers found on most motherboards.

     Your controller documentation is usually quick to point out any WD100x
     compatibility.

     You can convey a number of hints and instructions to the driver using the
     flags parameter.

     For each drive there are six bit-fields encoded in a 16 bit integer:

     0x8000  Test and use the 32bit transfer capability of the drive.

     0x4000  If drive looks like it's coming out of sleep mode, assume it's
	     confused and reinitialize it.

     0x2000  Probe for and use the bus-mastering DMA capabilities of modern
	     PCI chipsets.

     0x1000  Use LBA addressing instead of the default CHS addressing.

     0x0f00  Force number of heads to ((flags & 0xf00)>>8), recalculate number
	     of cylinders to match.

     0x00ff  Test and use multi-sector transfer mode of this drive, max number
	     of sectors attempted is (flags & 0x00ff).

     The flags can be specified on the line for the drive as a 16 bit int, or
     on the controller line as a 32 bit int, where the top 16 bit is relevant
     to the highest numbered drive.

FILES    [Toc]    [Back]

     /dev/wd*			       wd device nodes
     /sys/i386/conf/GENERIC	       sample generic kernel config file for
				       (a.o.) wd based systems
     /sys/i386/isa/wd.c 	       driver source

NOTES    [Toc]    [Back]

     This driver will soon be completely replaced by the ata and ad drivers.


FreeBSD 5.2.1			August 31, 1994 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
wdc OpenBSD WD100x compatible hard disk controller driver
ast FreeBSD generic ATA/ATAPI disk controller driver
afd FreeBSD generic ATA/ATAPI disk controller driver
ad FreeBSD generic ATA/ATAPI disk controller driver
acd FreeBSD generic ATA/ATAPI disk controller driver
ata FreeBSD generic ATA/ATAPI disk controller driver
wd OpenBSD WD100x compatible hard disk driver
xy OpenBSD Xylogics 450 or 451 VME SMD disk controller driver
xd OpenBSD Xylogics 753 or 7053 VME SMD disk controller driver
fdc FreeBSD PC architecture floppy disk controller driver
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service