Re request for 4.1BSD TU77 driver
chris at umcp-cs.UUCP
chris at umcp-cs.UUCP
Thu Jul 26 16:00:00 AEST 1984
Don't need it anymore; we finally got our 4.2 license stuff taken
care of and have converted the 4.2 driver for use until 4.2 is up.
By the way, if anyone is interested in installing the beast, there
are a few things to look out for, besides the regular stuff one
expects when converting 4.2 code to 4.1 or vice versa:
../h/mtio.h needs a MT_ISMT type (0x04).
../dev/autoconf.c needs to have the ``tm04/tu78 unsupported'' code
turned off.
../dev/mba.c needs to be modified to not check for a ``ready'' bit
on tapes; also, the ``mi->mi_tab.b_active = 0'' in mbintr()
(``if (mi->mi_driver->md_ndint) { switch ...'') needs to
be moved inside the ``case MBN_DONE'' (just after the case
label will do).
(This one bit me - I didn't notice that the TU78 had the
ready bit moved!)
../dev/autoconf.c needs to pass the slave number (ms->ms_slave if
I recall correctly) to the slave-attach routine for tapes.
(Alternatively, you could get the slave index the way ht.c
does, but it seemed nicer to just pass it on down. In fact
I modified htslave() to depend on it too.) It's probably
also a good idea to check the return value (and give ht.c's
htslave() one) before setting ms->ms_alive and so forth.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690
UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet: chris at umcp-cs ARPA: chris at maryland
More information about the Comp.unix.wizards
mailing list