22087975 Second phase for implementing PSARC/2009/224: X changes
authorhenryzh <henry.zhao@oracle.com>
Fri, 19 Feb 2016 16:57:44 -0800
changeset 1609 d5bab3427828
parent 1608 2682cfadffdc
child 1610 77a2e608a1ff
22087975 Second phase for implementing PSARC/2009/224: X changes
open-src/driver/xf86-video-ast/22115519.patch
--- a/open-src/driver/xf86-video-ast/22115519.patch	Fri Feb 19 16:44:30 2016 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-diff --git a/src/ast.h b/src/ast.h
-index 4cae16b..ea1eb5b 100644
---- a/src/ast.h
-+++ b/src/ast.h
-@@ -1,5 +1,6 @@
- /*
-  * Copyright (c) 2005 ASPEED Technology Inc.
-+ * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved
-  *
-  * Permission to use, copy, modify, distribute, and sell this software and its
-  * documentation for any purpose is hereby granted without fee, provided that
-@@ -361,12 +362,6 @@ typedef struct  vis_pci_cfg {
- #define VIS_SETIOREG                    (VIOC | 17)
- #define VIS_GETIOREG                    (VIOC | 18)
- 
--#ifdef __sparc
--#define ASTIOC                  ('Y' << 8)
--#define AST_GET_INDEX          (ASTIOC | 14)
--#define AST_SET_INDEX          (ASTIOC | 15)
--#endif
--
- typedef struct vis_io_reg {
-         uchar_t         offset;
-         uchar_t         value;
-diff --git a/src/ast_vgatool.h b/src/ast_vgatool.h
-index ded26e3..71445f2 100644
---- a/src/ast_vgatool.h
-+++ b/src/ast_vgatool.h
-@@ -1,5 +1,6 @@
- /*
-  * Copyright (c) 2005 ASPEED Technology Inc.
-+ * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved
-  *
-  * Permission to use, copy, modify, distribute, and sell this software and its
-  * documentation for any purpose is hereby granted without fee, provided that
-@@ -73,6 +74,10 @@ _GetRegFromFd(uchar_t off, int fd)
-        return io_reg.value;
- }
- 
-+#define ASTIOC                  ('Y' << 8)
-+#define AST_GET_INDEX          (ASTIOC | 14)
-+#define AST_SET_INDEX          (ASTIOC | 15)
-+
- #define GetReg(off)            _GetRegFromFd(off, pAST->fd)
- 
- #define SetReg(off, val)       do {                                    \