Print this page
5255 uts shouldn't open-code ISP2

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/drm/drmP.h
          +++ new/usr/src/uts/common/io/drm/drmP.h
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34   */
  35   35  
  36   36  /*
  37   37   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  38   38   * Use is subject to license terms.
  39   39   */
  40   40  
  41   41  #ifndef _DRMP_H
  42   42  #define _DRMP_H
  43   43  
       44 +#include <sys/sysmacros.h>
  44   45  #include <sys/types.h>
  45   46  #include <sys/conf.h>
  46   47  #include <sys/modctl.h>
  47   48  #include <sys/stat.h>
  48   49  #include <sys/file.h>
  49   50  #include <sys/cmn_err.h>
  50   51  #include <sys/varargs.h>
  51   52  #include <sys/pci.h>
  52   53  #include <sys/ddi.h>
  53   54  #include <sys/sunddi.h>
↓ open down ↓ 264 lines elided ↑ open up ↑
 318  319  typedef uint64_t        u64;
 319  320  typedef uint32_t        u32;
 320  321  typedef uint16_t        u16;
 321  322  typedef uint8_t         u8;
 322  323  typedef uint_t          irqreturn_t;
 323  324  
 324  325  #define DRM_SUPPORT     1
 325  326  #define DRM_UNSUPPORT   0
 326  327  
 327  328  #define __OS_HAS_AGP    1
 328      -
 329      -#define __offsetof(type, field) ((size_t)(&((type *)0)->field))
 330      -#define offsetof(type, field)   __offsetof(type, field)
 331  329  
 332  330  typedef struct drm_pci_id_list
 333  331  {
 334  332          int vendor;
 335  333          int device;
 336  334          long driver_private;
 337  335          char *name;
 338  336  } drm_pci_id_list_t;
 339  337  
 340  338  #define DRM_AUTH        0x1
↓ open down ↓ 764 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX