equal
deleted
inserted
replaced
|
1 +++ a/src/ast.h Fri Mar 15 10:45:43 2013 |
|
2 --- /net/overthere/export/home/x-s12-clone/open-src/driver/xf86-video-ast/ast.h Fri Mar 15 13:49:13 2013 |
|
3 @@ -341,9 +341,19 @@ |
|
4 #define VIS_SETIOREG (VIOC | 17) |
|
5 #define VIS_GETIOREG (VIOC | 18) |
|
6 |
|
7 +#ifdef __sparc |
|
8 +#define ASTIOC ('Y' << 8) |
|
9 +#define AST_GET_INDEX (ASTIOC | 14) |
|
10 +#define AST_SET_INDEX (ASTIOC | 15) |
|
11 +#endif |
|
12 + |
|
13 typedef struct vis_io_reg { |
|
14 uchar_t offset; |
|
15 uchar_t value; |
|
16 +#ifdef __sparc |
|
17 + uchar_t offset1; |
|
18 + uchar_t value1; |
|
19 +#endif |
|
20 } vis_io_reg_t; |
|
21 #endif |
|
22 extern struct pci_device *ASTGetPciInfo(ASTRecPtr); |