home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / catD / devflag.z / devflag
Encoding:
Text File  |  2002-10-03  |  2.4 KB  |  66 lines

  1.  
  2.  
  3.  
  4. ddddeeeevvvvffffllllaaaagggg((((DDDD1111))))                                                        ddddeeeevvvvffffllllaaaagggg((((DDDD1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _dddd_eeee_vvvv_ffff_llll_aaaa_gggg - driver flags
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_cccc_oooo_nnnn_ffff_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
  14.      _iiii_nnnn_tttt _p_r_e_f_i_x_dddd_eeee_vvvv_ffff_llll_aaaa_gggg _==== _0000_;;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      Every driver must define a global integer variable called _p_r_e_f_i_x_dddd_eeee_vvvv_ffff_llll_aaaa_gggg.
  18.      This variable contains a bitmask of flags used to specify the driver's
  19.      characteristics to the system.
  20.  
  21.      The valid flags that may be set in _p_r_e_f_i_x_dddd_eeee_vvvv_ffff_llll_aaaa_gggg are:
  22.  
  23.           _DDDD______MMMM_PPPP                The driver is multithreaded (it handles its own
  24.                               locking and serialization).
  25.  
  26.           _DDDD______WWWW_BBBB_AAAA_CCCC_KKKK             Writes back cache before strategy routine.
  27.  
  28.           _DDDD______OOOO_LLLL_DDDD               The driver uses the old-style interface (pre-5.0
  29.                               release).
  30.  
  31.      If no flags are set for the driver, then _p_r_e_f_i_x_dddd_eeee_vvvv_ffff_llll_aaaa_gggg should be set to
  32.      0. If this is not done, then _llll_bbbb_oooo_oooo_tttt will assume that this is an old style
  33.      drive, and it will set _DDDD______OOOO_LLLL_DDDD flag as a default.
  34.  
  35. RRRREEEEFFFFEEEERRRREEEENNNNCCCCEEEESSSS
  36.      _pppp_hhhh_yyyy_ssss_iiii_oooo_cccc_kkkk(D3)
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                                                         PPPPaaaaggggeeee 1111
  62.  
  63.  
  64.  
  65.