Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dma_get_best_mode(D3) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       dma_get_best_mode(D3)                          dma_get_best_mode(D3)


       NAME
             dma_get_best_mode - determine best transfer mode for DMA
             command

       SYNOPSIS
             #include <sys/types.h>
             #include <sys/dma.h>
             #include <sys/ddi.h>
             uchar_t dma_get_best_mode(struct dma_cb *dmacbptr);

          Arguments
             dmacbptr  Pointer to a DMA command block.

       DESCRIPTION
             dma_get_best_mode determines the best DMA transfer mode to use
             with the DMA operation specified in the command block whose
             address is given by dmacbptr.

          Return Values
             dma_get_best_mode returns a value that specifies the transfer
             mode.  This value should be used to set the cycles field of
             the dma_cb(D4) structure.

       USAGE
             Prior to the call to dma_get_best_mode, all fields of the
             command block should have been initialized except for cycles.
             The cycles field should be initialized using the return value
             from dma_get_best_mode.

          Level
             Initialization, Base or Interrupt.

          Synchronization Constraints
             Does not sleep.

             Driver-defined basic locks, read/write locks, and sleep locks
             may be held across calls to this function.

       REFERENCES
             dma_cb(D4)

       NOTICES
          Portability
             AT-compatible architectures




                           Copyright 1994 Novell, Inc.               Page 1













      dma_get_best_mode(D3)                          dma_get_best_mode(D3)


         Applicability
            ddi: 1, 2, 3, 4, 5, 5mp, 6, 6mp, 7, 7mp

         Future Directions
            This interface is expected to be replaced or modified in a
            future release.










































                          Copyright 1994 Novell, Inc.               Page 2








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026