Commit Graph

137 Commits

Author SHA1 Message Date
kettenis
9eb4db42c5 Since wscons(4) manages the hardware cursor for us, there's no nee to
fiddle with it here.  Pointed out by miod@.

ok matthieu@
2008-08-25 19:49:29 +00:00
kettenis
fac304a838 Unbreak sparc build. 2008-08-24 21:36:20 +00:00
kettenis
2f23f1f1a3 Make -configure work for SBus/UPA devices instead of crashing.
ok matthieu@
2008-08-24 21:02:23 +00:00
kettenis
afa6528308 Add enough OpenBSD-specific sbus support code to be able to support the
sunffb driver.

ok matthieu@
2008-08-21 20:06:35 +00:00
kettenis
16470a32ee All the resources claimed by xf86StdAccResFromOS() are PC-specific. On sparc64
PCI address space is completely seperate, so we don't have to claim any
resources to avoid clashes with main memory and firmware.  Makes accelerated
graphics work on the Tadpole SPARCLE.

ok matthieu@, oga@
2008-07-31 06:59:34 +00:00
matthieu
48d39de3dc The amd driver has been renamed geode. ok deraadt@ oga@. 2008-07-30 21:43:11 +00:00
matthieu
1dd309dcb0 use the openchrome driver for via chipsets. 2008-07-12 13:02:55 +00:00
matthieu
0a77d3ef3e Add a man page for Xephyr, with information from the README file. 2008-06-15 16:20:07 +00:00
matthieu
97eda17882 Update to xserver 1.4.2. Tested by landry@, ckuethe@, jsing@ mbalmer@. 2008-06-15 00:17:32 +00:00
mbalmer
ef9d4b4b8c Pull in a patch from X.Org-current to let X11 run on AMD Geode LX
CPUs in basic VESA mode:

X86EMU: handle CPUID instruction

Starting X on an AMD Geode LX system such as an Alix board with VGA
connector, the Xorg driver attempts to issue INT 10/0 to go to mode
3 (VGA).  The emulator, running the BIOS code, would then spit out:

	c000:0282: A2 ILLEGAL EXTENDED X86 OPCODE!

The opcode was 0F A2, or CPUID; it was not implemented in the
emulator. With this patch it handles the CPUID instruction in one of
two ways:

1) if ran on __i386__ or __x86_64__ then it calls the CPUID instruction
   directly.

2) if ran elsewhere it returns a canned 486dx4 set of values for function 1.

Tested with & ok matthieu
2008-06-10 22:31:30 +00:00
phessler
f80be2c38a Remove the special case for amd64 using MTRR. Wasn't compiled in in the
first place, and didn't work anyways.

ok deraadt, oga, matthieu
2008-06-09 22:55:10 +00:00
matthieu
48bc822959 regen. 2008-05-24 20:39:01 +00:00
matthieu
1b5891c504 implement the --disable-ioport configure option to disable the build of
ioport and its symlinks and use that option. Requested by kettenis@
and others.
2008-05-24 20:36:04 +00:00
matthieu
67dcbeb5eb If privsep support isn't compiled in, use open() to open the agp device. 2008-04-01 21:08:01 +00:00
matthieu
7830df18ed Regen with autoconf 2.59-p2, with AM_SANITY check zapped. 2008-03-15 18:08:24 +00:00
miod
5fb9099459 Don't #define DEBUG anymore 2008-02-16 21:40:44 +00:00
miod
a1df61e9c2 Remove unused global. 2008-02-16 21:40:29 +00:00
miod
af5d7dc88a Correctly link ioperm_noop.c to the build on m68k. ok matthieu@ 2008-02-13 21:33:29 +00:00
miod
d00b6d3f21 Remove a unused static function which references a function which had been
removed in the 1.4 update, it prevents wsfb from working on platforms without
lazy binding.
2008-02-13 21:29:52 +00:00
matthieu
4bd8c8049d Remove a bunch of files that get generated during a normal build. 2008-02-11 23:05:25 +00:00
matthieu
daec730aa0 Remove empty unused files. 2008-02-11 22:59:20 +00:00
matthieu
37eae9b7cf Fix m68k builds. Similar to the fix that miod used. 2008-01-27 14:03:40 +00:00
matthieu
478587a2d7 Fix from X.Org for CVE-2007-5760 - XFree86 Misc extension out of
bounds array index.
2008-01-17 15:41:18 +00:00
matthieu
dc769e8a75 Based on a suggestion and an initial patch by kettenis@, build
both the old i810 and the new intel drivers on i386, and let X
autoconfiguration code choose the one that is used based on the chipset.
Tested by landry@ and a few others.
2008-01-16 23:20:50 +00:00
jsing
6189593aff regen 2008-01-04 14:01:04 +00:00
jsing
458c03da50 Add support for xserver on OpenBSD/sgi and enable build.
ok matthieu@
2008-01-04 13:44:23 +00:00
todd
6ff94f4734 more gcc2 fixes; ok mathieu@ 2008-01-01 23:31:01 +00:00
todd
fefd79e203 fix for gcc2 (declaration 1st within each scope)
ok matthieu@
2007-12-29 03:09:26 +00:00
matthieu
067fedef2d Adapt OpenBSD/wscons kdrive drivers to changes in xserver 1.4.
Still not working but at least building again.
2007-12-23 14:28:10 +00:00
matthieu
d99925b594 Make that build with gcc 2.95 2007-12-23 08:01:09 +00:00
matthieu
460b683f36 Don't call xcalloc() in functions called by the big SIGIO handler.
Problem initially reported by sthen@, fix tested by many.
2007-12-21 06:42:23 +00:00
matthieu
67952fe293 Add back files that I removed before import to minimize cvs noise. That
was a mistake. sorry.
2007-12-13 21:51:47 +00:00
matthieu
b29102d7af Merge xserver 1.4.0.90. This includes fixes for some of the regressions
introduced by xserver 1.4, such as the keyboad caps/num-lock leds updates.
Tested by many.
2007-12-13 21:47:48 +00:00
matthieu
2fcd9ee667 xserver 1.4.0.90 2007-12-13 21:06:02 +00:00
matthieu
10fefb5e1b Fix logic error in the new dynamic array of pci devices that made
xf86scanpci() exit early if pciInit() had been called already.
Fix tested by krw@.
2007-12-10 06:35:24 +00:00
matthieu
35aebf7135 regen 2007-12-03 12:45:41 +00:00
matthieu
c19e24c0ad Revert xf86EnableIO()/xf86DisableIO() on macpcc to NOP for now. 2007-12-03 12:45:10 +00:00
matthieu
a7908c655f Support the new AGP device. Work by oga@ and me, with some ideas from
dim@ long ago.
2007-11-25 18:41:23 +00:00
matthieu
fa710f4099 merge xserver 1.4, 1st pass 2007-11-24 19:04:00 +00:00
matthieu
b14d6de7aa xserver 1.4 2007-11-24 17:55:21 +00:00
matthieu
3ef0e68671 regen 2007-06-23 21:49:28 +00:00
matthieu
9dc24fdb26 More stuff, mostly copied from Xwsfb and Xvesa 2007-05-29 20:14:43 +00:00
matthieu
b9d330da8e add a TODO list in case someone wants to help 2007-05-29 20:14:08 +00:00
matthieu
255c61fb6a - rename some functions for consistancy
- fill more code
2007-05-27 05:17:06 +00:00
matthieu
871e6b9af8 sync 2007-05-27 05:13:15 +00:00
matthieu
487eac25a8 It's a bad idea to include rcs keywords in Makefile.am if
the generated Makefile.in  are also placed under CVS
unless you want an infinite number of commits.
2007-05-27 04:59:44 +00:00
matthieu
7778a382c8 Fill more holes. Still doesn't work. 2007-05-27 00:56:29 +00:00
matthieu
e3df64a137 Avoid using an unitialized variable as mouse info. 2007-05-27 00:55:09 +00:00
matthieu
6a7c974258 Force restore of text mode on exit. 2007-05-27 00:53:47 +00:00
matthieu
dae27eca2b Add support for 'W' axis. From "Gareth" garf at loveandnature dot co dot za.
Thanks.
2007-05-26 17:06:15 +00:00
matthieu
e7974dfd9e Start filling the holes. 2007-05-25 19:10:43 +00:00
matthieu
f23981ee52 sync 2007-05-25 18:19:55 +00:00
matthieu
fd0b119d1a Xwscons doesn't need agp support for now. 2007-05-25 18:15:57 +00:00
matthieu
bb17b92929 add 2007-05-25 18:13:35 +00:00
matthieu
a5e6045240 add 2007-05-25 16:46:59 +00:00
matthieu
c7ebbd40e4 regen 2007-05-25 16:20:45 +00:00
matthieu
6949127de8 required bits to build Xwscons 2007-05-25 15:47:16 +00:00
matthieu
5bda13aab6 Add skeleton implentation of Xwscons a kdrive based X server for
wscons's dumb framebuffer mode. This is an empty shell for now.
2007-05-25 15:33:32 +00:00
matthieu
f502a94636 Don't fall back to wsfb on autoconfig 2007-04-20 10:25:12 +00:00
matthieu
fdc55d19a6 regen 2007-04-17 22:06:12 +00:00
matthieu
87c262d3c6 fix APM support. 2007-04-17 22:03:42 +00:00
matthieu
6637a9a36e regen with automake 1.9.6p2 2007-03-18 22:29:12 +00:00
matthieu
fbd644a9c8 Remove one more generated file from source tree. Now the build date
in Xorg.0.log should be correct. Brought to my attention by Joerg Zinke.
2007-03-18 15:04:05 +00:00
matthieu
9dc3987317 regen 2007-03-03 11:33:26 +00:00
matthieu
8460feeb57 merge xserver 1.2.0 2007-03-03 11:31:18 +00:00
matthieu
8d298bc0f7 Import xserver version 1.2.0 (X.Org 7.2 final). 2007-03-03 11:09:19 +00:00
matthieu
b9526a46a9 Clean up sockets after Xorg -configure. 2007-02-04 20:20:19 +00:00
matthieu
60329c3c4e Build fixes for OpenBSD/alpha. 2007-01-03 13:20:49 +00:00
matthieu
c8b5b0c730 Don't force the addition of a "mouse" section if none was found.
This heuristic to fix configuration errors is wrong when
a touch screen is the primary input device (zaurus).
2007-01-02 10:18:26 +00:00
matthieu
79f814011d regen 2006-12-17 22:17:44 +00:00
matthieu
880fa97d14 don't bother installing linux or solaris specific init scripts. 2006-12-17 22:12:21 +00:00
matthieu
c3d0302235 - merge xserver 1.1.99.903
- regen generated files
2006-12-16 20:59:13 +00:00
matthieu
09421e78f7 xserver 1.1.99.903 from X.Org 7.2RC3 2006-12-16 20:09:36 +00:00
matthieu
d5cad6f3f9 regen 2006-12-05 23:00:47 +00:00
matthieu
907ebadafc gcc 2.95 doesn't use the same serch rules for '-include' as gcc 3.
So fix build in a separate obj directory with gcc 2.95.
2006-12-05 23:00:22 +00:00
matthieu
7bb03d2e25 Sparc bus driver logic from XF4. Slightly different from the one in
X.Org, yet I missed it during previous merge.
2006-12-05 21:49:29 +00:00
matthieu
31b4956e7f More files generated by the build system. Pointed out by todd@. 2006-12-04 21:53:59 +00:00
matthieu
3c9b7bfbe8 regen 2006-12-03 20:57:55 +00:00
matthieu
3ac80eece3 Build fixes for OpenBSD/zaurus:
- __arm32__ isn't defined by gcc on OpenBSD/arm
- ioperm_noop.c is needed in libxorgos
2006-12-03 20:57:39 +00:00
matthieu
7a36764563 regen 2006-12-01 20:38:55 +00:00
matthieu
ecbd4d28b3 Install xprint config in $datadir 2006-12-01 20:34:52 +00:00
matthieu
11e9fb01f9 regen 2006-11-28 20:33:06 +00:00
matthieu
c155af5f9a OpenBSD local modifications:
- privilege separation
- some snprintf/strlc{at,py} conversions
- support for more architectures
- signal handler fixes
- default mouse wheel support in config tools
- sunmouse protocol
2006-11-28 20:29:31 +00:00
matthieu
02c41bfd30 Remove RCS Id 2006-11-28 12:06:23 +00:00
matthieu
7589183e65 regenerate with OpenBSD autotools 2006-11-27 13:10:10 +00:00
matthieu
97bfc260ee regen with OpenBSD autotools 2006-11-26 19:09:56 +00:00
matthieu
889b860699 Importing xserver from X.Org 7.2RC2 2006-11-26 18:13:41 +00:00