diff options
| author | Martin Dalecki <dalecki@evision.ag> | 2002-07-30 00:37:06 -0700 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@mandrakesoft.com> | 2002-07-30 00:37:06 -0700 |
| commit | c57f6caedf36f9849d2d77e074ae2f0c500f2b68 (patch) | |
| tree | f25e026d197b5db8ade8555a146ef84c61628514 /Documentation | |
| parent | 3bd271cd260cdd0fa1849144f551f6f040d15dba (diff) | |
[PATCH] 2.5.29 IDE 109
- Include first cut by Adam J. Richter on proper lock protection for
tuning functions.
- Rename ide_register_subdriver() to ata_register_device() and
ide_unregister_subdriver() accordingly to ata_unregister_device(),
since this is reflecting better what those functions are about.
- Remove tons of "curicum vite" style useless documentation here and
there.
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/ide.txt | 50 |
1 files changed, 47 insertions, 3 deletions
diff --git a/Documentation/ide.txt b/Documentation/ide.txt index 9da199ed4108..3adb7cabfbcd 100644 --- a/Documentation/ide.txt +++ b/Documentation/ide.txt @@ -1,9 +1,6 @@ - - Information regarding the Enhanced IDE drive in Linux 2.5 - ============================================================================== @@ -303,6 +300,53 @@ Everything else is rejected with a "BAD OPTION" message. ================================================================================ +IDE ATAPI streaming tape driver +------------------------------- + +This driver is a part of the Linux ide driver and works in co-operation +with linux/drivers/block/ide.c. + +The driver, in co-operation with ide.c, basically traverses the +request-list for the block device interface. The character device +interface, on the other hand, creates new requests, adds them +to the request-list of the block device, and waits for their completion. + +Pipelined operation mode is now supported on both reads and writes. + +The block device major and minor numbers are determined from the +tape's relative position in the ide interfaces, as explained in ide.c. + +The character device interface consists of the following devices: + + ht0 major 37, minor 0 first IDE tape, rewind on close. + ht1 major 37, minor 1 second IDE tape, rewind on close. + ... + nht0 major 37, minor 128 first IDE tape, no rewind on close. + nht1 major 37, minor 129 second IDE tape, no rewind on close. + ... + +Run linux/scripts/MAKEDEV.ide to create the above entries. + +The general magnetic tape commands compatible interface, as defined by +include/linux/mtio.h, is accessible through the character device. + +General ide driver configuration options, such as the interrupt-unmask +flag, can be configured by issuing an ioctl to the block device interface, +as any other ide device. + +Our own ide-tape ioctl's can be issued to either the block device or +the character device interface. + +Maximal throughput with minimal bus load will usually be achieved in the +following scenario: + + 1. ide-tape is operating in the pipelined operation mode. + 2. No buffering is performed by the user backup program. + + + +================================================================================ + Some Terminology ---------------- IDE = Integrated Drive Electronics, meaning that each drive has a built-in |
