pkgsrc/x11/modular-xorg-server/patches/patch-hw_xfree86_common_xf86sbusBus.h
tnn e5ae745c80 Update to modular-xorg-server-1.17.1.
Please note that the previous version is still available in
x11/modular-xorg-server112 in case this version does not work for you.
This is relevant for users who need DRI1 and/or XAA as those features have
been deprecated and removed by upstream since xorg-server-1.13.

Note also that this update breaks the driver ABI and that drivers will be need
to be rebuilt.

Summary of the important changes since 1.12:

xorg-server-1.17 (4 February 2015)
- Generic DRM/KMS driver xf86-video-modesetting

xorg-server-1.16 (17 July 2014)
- XWayland DDX
- GLAMOR acceleration
- non-PCI devices support
- systemd-logind support (rootless X)

xorg-server1.15 (27 December 2013)
- DRI3
- "present" extension

xorg-server-1.14 (5 March 2013)
- XInput 2.3

xorg-server1.13 (5 September 2012)
- New DDX driver API
- DRI2
- RandR 1.4
- OpenGL 3.x+ contexts
- XAA support removed
2015-04-25 11:47:03 +00:00

24 lines
693 B
C

$NetBSD: patch-hw_xfree86_common_xf86sbusBus.h,v 1.1 2015/04/25 11:47:03 tnn Exp $
NetBSD/sparc64 support partially from xsrc.
--- hw/xfree86/common/xf86sbusBus.h.orig 2014-02-05 03:08:57.000000000 +0000
+++ hw/xfree86/common/xf86sbusBus.h
@@ -39,6 +39,8 @@
#define SBUS_DEVICE_FFB 0x000b
#define SBUS_DEVICE_GT 0x000c
#define SBUS_DEVICE_MGX 0x000d
+#define SBUS_DEVICE_P9100 0x000e
+#define SBUS_DEVICE_AG10E 0x000f
typedef struct sbus_prom_node {
int node;
@@ -50,7 +52,7 @@ typedef struct sbus_device {
int devId;
int fbNum;
int fd;
- int width, height;
+ int width, height, size;
sbusPromNode node;
const char *descr;
const char *device;