SCSI SUPPORT FOR ADAPTEC AHA-1542A BOARD AND TAPEDRIVE FIXES
Joerg Lohse:
The current aha1542 driver "as" supports only AHA-1542B controllers.
This patch extends the support to AHA-1542A controllers. The kernel's driver
"as.c" and the sources for "asboot" and "bootas" are patched. The makefile
in directory /sys/i386/stand is extended.
James da Silva:
The SCSI driver as.c assumed fixed-block-size tapedrives.
(Fix produced by Scott Burris)
as.c didn't write file marks. The driver still doesn't write two filemarks
for end-of-medium, but that is less important.
as.c couldn't read multi-file tapes. It didn't have any no-rewind devices.
The no-rewind devices have a minor number one greater than the
base number for the target (eg same as partition b for disks).
Here's what I did with a tape at target 2:
# ln /dev/ras2a /dev/rst2
# mknod /dev/nrst2 c 13 17
Now I refer to the tape as "/dev/rst2" and "/dev/nrst2".
The tape at SCSI target 4 doesn't work. The solution is that the devices for
ras4[ad] in the distribution are wrong. The major numbers should be 13,
not 11. Try:
# rm /dev/ras4[ad]
# mknod /dev/ras4a c 13 32
# mknod /dev/ras4d c 13 35
(but you don't really need the d partition for tapes)
(this fix is from Bill Jolitz)
Rodney W. Grimes:
The target directory in the Makefile was wrong, it tried to install
this stuff in //stand.
AUTHOR: Joerg Lohse (lohse@tech7.informatik.uni-hamburg.de)
AUTHOR: James da Silva (jds@cs.umd.edu) et al
AUTHOR: Rodney W. Grimes (rgrimes@agora.rain.com)
386BSD-Patchkit: patch00088