~ubuntu-branches/ubuntu/trusty/xserver-xorg-video-sis/trusty

« back to all changes in this revision

Viewing changes to src/sis.h

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2012-08-02 00:35:36 UTC
  • mfrom: (2.1.7)
  • Revision ID: package-import@ubuntu.com-20120802003536-1cd7delv0y2u24ls
Tags: 1:0.10.7-0ubuntu1
Sync from unreleased debian git.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
#include "xf86Resources.h"
82
82
#endif
83
83
#include "xf86.h"
84
 
#include "xf86PciInfo.h"
85
84
#include "xf86Cursor.h"
86
85
#include "xf86cmap.h"
87
86
#include "vbe.h"
227
226
#define INCL_YUV_BLIT_ADAPTOR   /* Include support for YUV->RGB blit adaptors (VRAM queue mode only) */
228
227
#endif
229
228
 
230
 
#if 1
 
229
#ifdef HAVE_XAA_H
231
230
#define SIS_USE_XAA             /* Include code for XAA */
232
231
#endif
233
232
 
269
268
#include "extnsionst.h"                         /* required */
270
269
#include <X11/extensions/panoramiXproto.h>      /* required */
271
270
 
 
271
#include "compat-api.h"
 
272
 
272
273
#undef SISCHECKOSSSE
273
274
#ifdef XORG_VERSION_CURRENT
274
275
#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(6,8,99,13,0)
303
304
#define SISVERBLEVEL 4
304
305
#endif
305
306
 
 
307
#ifndef _XF86_PCIINFO_H
 
308
#define PCI_VENDOR_SIS                  0x1039
 
309
/* SiS */
 
310
#define PCI_CHIP_SG86C201               0x0001
 
311
#define PCI_CHIP_SG86C202               0x0002
 
312
#define PCI_CHIP_SG85C503               0x0008
 
313
#define PCI_CHIP_SIS5597                0x0200
 
314
/* Agregado por Carlos Duclos & Manuel Jander */
 
315
#define PCI_CHIP_SIS82C204              0x0204
 
316
#define PCI_CHIP_SG86C205               0x0205
 
317
#define PCI_CHIP_SG86C215               0x0215
 
318
#define PCI_CHIP_SG86C225               0x0225
 
319
#define PCI_CHIP_85C501                 0x0406
 
320
#define PCI_CHIP_85C496                 0x0496
 
321
#define PCI_CHIP_85C601                 0x0601
 
322
#define PCI_CHIP_85C5107                0x5107
 
323
#define PCI_CHIP_85C5511                0x5511
 
324
#define PCI_CHIP_85C5513                0x5513
 
325
#define PCI_CHIP_SIS5571                0x5571
 
326
#define PCI_CHIP_SIS5597_2              0x5597
 
327
#define PCI_CHIP_SIS530                 0x6306
 
328
#define PCI_CHIP_SIS6326                0x6326
 
329
#define PCI_CHIP_SIS7001                0x7001
 
330
#define PCI_CHIP_SIS300                 0x0300
 
331
#define PCI_CHIP_SIS315H                0x0310
 
332
#define PCI_CHIP_SIS315PRO              0x0325
 
333
#define PCI_CHIP_SIS330                 0x0330
 
334
#define PCI_CHIP_SIS630                 0x6300
 
335
#define PCI_CHIP_SIS540                 0x5300
 
336
#define PCI_CHIP_SIS550                 0x5315
 
337
#define PCI_CHIP_SIS650                 0x6325
 
338
#define PCI_CHIP_SIS730                 0x7300
 
339
 
 
340
#endif
 
341
 
306
342
/* For SiS315/550/650/740/330/660 - these should be moved elsewhere! */
307
343
#ifndef PCI_CHIP_SIS315H
308
344
#define PCI_CHIP_SIS315H        0x0310
1144
1180
    CARD32              ColorExpandBase;
1145
1181
 
1146
1182
    int                 Rotate, Reflect;
1147
 
    void                (*PointerMoved)(int index, int x, int y);
 
1183
    void                (*PointerMoved)(SCRN_ARG_TYPE arg, int x, int y);
1148
1184
 
1149
1185
    /* ShadowFB support */
1150
1186
    Bool                ShadowFB;