• Andrew Morton's avatar
    [PATCH] s390: tape driver. · 08f64b97
    Andrew Morton authored
    From: Martin Schwidefsky <schwidefsky@de.ibm.com>
    
     - Add module license gpl.
     - Add debug messages.
     - Make blocksize persistent after close. Limit blocksize to 64k.
     - Check tape state against TS_INIT/TS_UNUSED for special case of
       medium sense and assign.
     - Assign tape as soon as they are set online and unassign when set offline.
     - Correct implementation of MT_EOD.
     - Add backward compatible tape.agent hotplug support (to be removed as soon
       as a full blown tape class is implemented).
     - Add state to differentiate between character device and block device access.
     - Make tape block device usable.
     - Add 34xx seek speedup code.
     - Fix device reference counting.
     - Fix online-offline-online cycle.
     - Add timeout to standard assign function.
     - Correct calculation of device index in tape_get_device().
     - Check idal buffer for fixed block size reads and writes.
     - Adapt to notify api change in cio.
     - Add sysfs attributes for tape state, first minor, current operation and
       current blocksize.
    08f64b97
tape.h 10.7 KB