.th RK05 VI 4/21/86
.sh NAME
RK05 - kernel interface to RK05 disk drives
.sh DESCRIPTION
The RK05 disk drive is a small single-platter removable disk storage unit.
The RK05 driver software supports up to eight 
drives on a single controller.
.s3
The drives are identified to the kernel by their SEIDs.  The first
component of a disk drive SEID is the name space field and its value is
\'device_nsp'.  The second field (unique id 0) indicates the drive type
(RK05).  The third field (unique id 1) corresponds to the unit number
of the drive.  For RK05 drives the unique id 0 field is 1.
.s3
There are five basic functions of the RK05 driver.
They are implemented with the following system calls:
K_open, K_read_block, K_write_block, K_device_function and K_close.
.s3
.lp 20 15
K_open	Before any data may be passed between the device and a process,
that process must open the device.
The K_open system call is used to perform this function.
Note that opening the device is a higher level function of the
kernel I/O system and has no effect on the device itself or the
device driver.
.s3
.lp 20 15
K_read_block	The K_read_block kernel call
causes a transfer of data from the device to the
process.
Asynchronous I/O is supported.
The contents of the RK Error Register
is returned in the device dependent field of the status.
.s3
.lp 20 15
K_write_block	The K_write_block kernel call
causes a transfer of data from the process to the device.
Asynchronous I/O is supported. 
The contents of the RK Error Register
is returned in the device dependent field of the status.
.s3
.lp 20 15
K_device_function	The RK05 device driver supports the following
functions: READ, WRITE, VOLUMEVALID, VOLUMEINVALID and UNLOAD.
.s3
.lp 20 15
K_close	The K_close kernel call has no effect
on the device driver, but prevents further access
by the process to the device.
.i0
.sh "SEE ALSO"
K_close(II),
K_open(II),
K_read_block(II),
K_write_block(II),
ioFunction(IIa),
ioStatus(IIa),
seid(IIa)
