Print this page
12309 errors in section 9e of the manual

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man9e/probe.9e.man.txt
          +++ new/usr/src/man/man9e/probe.9e.man.txt
↓ open down ↓ 4 lines elided ↑ open up ↑
   5    5  NAME
   6    6         probe - determine if a non-self-identifying device is present
   7    7  
   8    8  SYNOPSIS
   9    9         #include <sys/conf.h>
  10   10         #include <sys/ddi.h>
  11   11         #include <sys/sunddi.h>
  12   12  
  13   13  
  14   14  
  15      -       static intprefixprobe(dev_info_t *dip);
       15 +       static int prefixprobe(dev_info_t *dip);
  16   16  
  17   17  
  18   18  INTERFACE LEVEL
  19   19         Solaris DDI specific (Solaris DDI). This entry point is required for
  20   20         non-self-identifying devices.  You must write it for such devices. For
  21      -       self-identifying devices,  nulldev(9F) should be specified in the
       21 +       self-identifying devices, nulldev(9F) should be specified in the
  22   22         dev_ops(9S) structure if a probe routine is not necessary.
  23   23  
  24   24  ARGUMENTS
  25   25         dip
  26      -               Pointer to the device's  dev_info structure.
       26 +               Pointer to the device's dev_info structure.
  27   27  
  28   28  
  29   29  DESCRIPTION
  30   30         probe() determines whether the device corresponding to dip actually
  31   31         exists and is a valid device for this driver. probe() is called after
  32   32         identify(9E) and before attach(9E) for a given dip. For example, the
  33   33         probe() routine can map the device registers using ddi_map_regs(9F)
  34   34         then attempt to access the hardware using ddi_peek(9F) or ddi_poke(9F)
  35   35         and determine if the device exists.  Then the device registers should
  36   36         be unmapped using ddi_unmap_regs(9F).
↓ open down ↓ 40 lines elided ↑ open up ↑
  77   77  
  78   78  SEE ALSO
  79   79         attach(9E), identify(9E), ddi_dev_is_sid(9F), ddi_map_regs(9F),
  80   80         ddi_peek(9F), ddi_poke(9F), nulldev(9F), dev_ops(9S)
  81   81  
  82   82  
  83   83         Writing Device Drivers
  84   84  
  85   85  
  86   86  
  87      -                               November 18, 1992                     PROBE(9E)
       87 +                               February 15, 2020                     PROBE(9E)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX