Print this page
8634 epoll fails to wake on certain edge-triggered conditions
8635 epoll should not emit POLLNVAL
8636 recursive epoll should emit EPOLLRDNORM
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Igor Kozhukhov <igor@dilos.org>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/1394/targets/dcam1394/dcam.h
          +++ new/usr/src/uts/common/sys/1394/targets/dcam1394/dcam.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16   * If applicable, add the following below this CDDL HEADER, with the
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
  23   23   * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
       25 + * Copyright 2017 Joyent, Inc.
  25   26   */
  26   27  
  27   28  #ifndef _SYS_1394_TARGETS_DCAM1394_DCAM_H
  28   29  #define _SYS_1394_TARGETS_DCAM1394_DCAM_H
  29   30  
  30      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  31      -
  32   31  #include <sys/modctl.h>
  33   32  #include <sys/ksynch.h>
  34   33  #include <sys/types.h>
  35   34  #include <sys/dditypes.h>
  36   35  #include <sys/1394/t1394.h>
  37   36  #include <sys/dcam/dcam1394_io.h>
  38   37  
  39   38  #ifdef  __cplusplus
  40   39  extern "C" {
  41   40  #endif
↓ open down ↓ 71 lines elided ↑ open up ↑
 113  112          ixl1394_command_t               *ixlp;
 114  113  
 115  114          ring_buff_t                     *ring_buff_p;
 116  115          unsigned int                    seq_count;
 117  116          uint_t                          reader_flags[MAX_NUM_READ_PTRS];
 118  117          uint_t                          flags;
 119  118          int                             cur_vid_mode;
 120  119          int                             cur_frame_rate;
 121  120          int                             cur_ring_buff_capacity;
 122  121          int                             param_status;
 123      -        struct pollhead                 dcam_pollhead;
 124  122          int                             camera_online;
 125  123          int                             pm_open_count;
 126  124          int                             pm_cable_power;
 127  125          int                             suspended;
 128  126          ddi_callback_id_t               event_id;
 129  127  } dcam_state_t;
 130  128  
 131  129  int _init(void);
 132  130  int _info(struct modinfo *modinfop);
 133  131  int _fini(void);
↓ open down ↓ 41 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX