///////////////////////////////////////////////////////////////////////////////
called from ioctl:

plxreadlocal0
update_shadow
sis1100_remote_reg_read
sis1100_remote_reg_write
update_remote_shadow
sis1100readreg
sis1100_update_swapping
sis3100_get_timeouts
sis3100_set_timeouts
sis1100_front_io
sis1100_front_pulse
sis1100_front_latch
sis1100_read_pipe
sis1100_write_pipe
sis1100_tmp_read
sis1100_tmp_write
sis1100_read_block
sis1100_write_block
sis1100_irq_ctl
sis1100_irq_ack
sis1100_irq_wait
sis1100_dma_alloc
sis1100_dma_free
sis1100_reset
sis5100writeremreg
ioctl_setvmespace
ioctl_vme_probe
ioctl_vme_read
ioctl_vme_write
ioctl_vme_block_read
ioctl_vme_block_write
ioctl_local_ctrl_read
ioctl_local_ctrl_write
ioctl_remote_ctrl_read
ioctl_remote_ctrl_write
ioctl_pipe
ioctl_mapsize
ioctl_last_error
ioctl_ident
ioctl_fifomode
ioctl_irq_ctl
ioctl_irq_get
ioctl_irq_ack
ioctl_irq_wait
ioctl_mindmalen
ioctl_front_io
ioctl_front_pulse
ioctl_front_latch
ioctl_vme_super_block_read
ioctl_write_pipe
ioctl_dma_alloc
ioctl_dma_free
ioctl_cccz
ioctl_cccc
ioctl_ccci
ioctl_cnaf
ioctl_swap
ioctl_3100_timeouts
ioctl_reset
ioctl_remote_reset
ioctl_devtype
ioctl_driverversion


///////////////////////////////////////////////////////////////////////////////

ssize_t
_sis1100_write_dma() /* netbsd */

called:
    from 
returns:
        uvm_vslock
        count (bytes)

///////////////////////////////////////////////////////////////////////////////

sis1100_write_block

int
sis1100_write_block()

called:
    from _sis1100_write
returns:
        ok: 0
        sis1100_write_dma; sis1100_write_loop

///////////////////////////////////////////////////////////////////////////////

_sis1100_write

static int
_sis1100_write()

called:
    from sis1100_write
returns:
    ok: 0
    ENOTTY; sis1100_write_block

///////////////////////////////////////////////////////////////////////////////

sis1100_write

#ifdef __NetBSD__
int
sis1100_write()
#elif __linux__
ssize_t
sis1100_write(struct file* file, const char* buf, size_t count, loff_t* ppos)
#endif

called:
    from kernel
returns:
    NetBSD:
        _sis1100_write
    linux:
        _sis1100_write<0?_sis1100_write:count_written

    NetBSD:
    linux:
        ok: count_written (bytes)
        error: -errno

///////////////////////////////////////////////////////////////////////////////

sis1100_write_dma

///////////////////////////////////////////////////////////////////////////////

sis1100_write_loop

///////////////////////////////////////////////////////////////////////////////

