			4.3BSD DIALOUT MODS
			-------------------

	N.B.:  These changes should work for 4.2BSD as well; but
	the `original' code shown in the diff listings will not
	quite match.  You will have to install the changes by
	hand---`patch' will not work.

Installation instructions for the dial devices:

1.  Save copies of the files you will edit.  These include vax/conf.c
    and at least one of the device drivers in vaxuba (vaxuba/dh.c,
    vaxuba/dz.c, etc.)

2.  Apply the changes shown to the device driver(s).  For other
    devices you will need to extrapolate the changes.  Look at dh.c
    and dz.c to see what needs to be done, and read the `dial
    device' document.
    
    N.B.:  For dmf32s the changes can be rather tricky.  I have a
    dmf32 driver that does dial out, but it is not the standard
    4.3BSD version, so I cannot make diff listings.

3.  Add the device(s) to the `cdevsw' table in vax/conf.c.  The
    diff listing included here is heavily edited and should be used
    only as an example.  You will need to assign major device
    numbers yourself.  We used 41 and 42 for the dz and dh
    respectively; but the first number free in the distributed
    kernel is much lower---near 25, as I recall.

4.  Compile a new kernel, and reboot.

5.  Make `/dev' entries for the dial devices.  (See the `dial device'
    document.)

6.  Test.  Included is a C program that can talk to dial lines.
    The program may need slight changes for 4.2BSD, though I think
    I have removed most system dependencies already.  (You will,
    however, need `getopt'.)


		May the stars shine upon your kernel for ever,
						Chris Torek
						University of Maryland
						22 December 1983
