start address for a.out executables. This is useful in the case that
kernel text starts in the second physical page, in which case the
clever hack to work around the problem is defeated.
This option was patterned after the -T flag documented in the ld(1)
man page. (It does not support the undocumented '-Ttext <addr>'
usage, however, since that would require a parser or getopt(3) hacks.)
The method for doing this is to try and use the DATA COMPRESSION mode page
first, followed by the DEVICE CONFIGURATION page (this is because most newer
tape devices are now using DATA COMPRESSION instead of DEVICE CONFIGURATION
pages).
Add in the logical && hardware read position and set position ioctls. Oddly
enough, because NetBSD is limited in having the driver track file && record
numbers, the usual agony over what to do once you use logical or hardware
block positioning can be avoided. Amusing.
Make a minor change so that for SCSIVERBOSE cases that SCSI_SILENT in
the xs' flags is still observed.
[1] add EN_ENIDMAFIX - the byte-aligner on the ENI version of the card
appears to lose under heavy load so avoid using it. see comment
in midway.c for full details.
note that the Adaptec version of the card works properly under
load.
detected by Kenjiro Cho <kjc@csl.sony.co.jp> [confirmed by chuck]
fix by chuck & kjc
[2] update some freebsd specific code [from kjc]
[3] for circular buffers: ensure there is always one free slot so
that we can easily tell the difference between a full and
empty list. re-structure a few loops to reflect this.
fixes a problem with mbufs being free'd while still in DMA,
and makes drive a bit more robust.
detected and fixed by kjc
- Back to use `rdev' which the name of raw partition, since now opendisk(3)
initializes `buf' except in very trivial case (it is `buf' is NULL).
- Use `rdev' instead of `dev' in verbose output.
- Output `rdev' when warn ioctl failure.
- Use `dev' instead of `rdev' to warn, since latter may not initialized.
- Don't use device file name as a format of warn(). Instead, pass "%s"
explicitly.