Daniel Stone
335b503c5e
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-10-13 18:10:45 +03:00
Matthias Hopf
1b94c117e0
Fixing probably long-standing bug in domain support.
2006-10-10 19:37:22 +02:00
Keith Packard
b4659faf9b
Merge branch 'master' into randr-1.2
2006-10-04 14:46:04 -07:00
Daniel Stone
518db35ca3
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-09-29 00:35:21 +03:00
Michel Dänzer
54d371e7a4
Add wrapper for new ioctl to update drawable information in the DRM.
2006-09-27 10:48:41 +02:00
Daniel Stone
ad321fad4b
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-09-24 17:56:43 +03:00
Donnie Berkholz
d812f486a0
Really fix sparc on 64-bit kernel/32-bit userland.
...
Commit b3a3020fd0
used a sparc64 ifdef instead of
sparc. But for 32-bit userland, __sparc64__ is not defined so the wrong code is
used.
2006-09-20 15:39:39 -07:00
Keith Packard
2be1ac15ae
Remove smashing of CFLAGS from server build.
...
CFLAGS is a user variable, extracted from the environment at configure time
and settable by the user at build time. We must not override this variable.
2006-09-18 12:11:18 -07:00
Jesse Barnes
b3a3020fd0
the new PCI mapping routines are broken on sparc64 (in fact they look
...
broken for any 32 bit X server running on a 64 bit kernel) so #ifdef
them out for now. the PCI rework tree will make all this crap go away,
so I think we can tolerate the extra #ifdef for the next release.
2006-09-10 11:13:18 -07:00
Ian Romanick
21291d6ca7
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-08-25 09:34:21 -07:00
Daniel Stone
d6433be3cc
Merge branch 'master' into input-hotplug
2006-08-12 21:50:52 +03:00
Bastian Blank
f7919c2879
xfree86: don't do legacy IO on ARM or S/390 (Debian #362641 )
...
Don't attempt to poke legacy IO ranges on ARM or S/390.
2006-08-12 20:43:25 +03:00
Daniel Stone
59dcc62906
xfree86: remove Xqueue support completely
2006-08-12 20:39:08 +03:00
Samuel Thibault
e641000b98
xfree86: add Hurd support ( #5613 )
...
Add support for GNU/Hurd.
2006-08-12 19:41:59 +03:00
Daniel Stone
008aa7eb6e
completely remove OS keyboard layer
...
Completely axe the keyboard layer from os-support.
2006-08-12 18:56:05 +03:00
Ian Romanick
5508f7646f
Remove prototypes from some functions that were previously removed.
2006-08-08 16:43:31 -07:00
Ian Romanick
9df53d903e
Rename xf86ReadDomainMemory to xf86ReadLegacyVideoBIOS, since that's
...
what it is actually used for. Modify a few routines in linuxPci.c to
take pci_device structures as parameters in stead of PCITAGs.
2006-08-08 16:42:23 -07:00
Ian Romanick
5bfb2ee965
Remove the last remants of the pci{Read,Write}{Long,Word,Byte}
...
functionality. This also allows the removal of PCI_CPU, PCI_CPU16,
and a few other dangling bits of cruft.
2006-08-02 13:29:21 -07:00
Ian Romanick
23f44df900
Remove pciConfigPtr and all of the associated cruft.
2006-08-02 09:55:32 -07:00
Ian Romanick
a94176627c
Eliminate all uses of the businfo field of pciDevice / pciConfigPtr.
2006-07-31 14:33:58 -07:00
Ian Romanick
28ba8d5691
Gut anything having to do with the PciBusPtr (or PciBusRec) type.
...
Bump required version of libpciaccess to 0.5.0 so that
pci_device_get_bridge_buses can be used.
2006-07-25 15:38:09 -07:00
Ian Romanick
380b51d605
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/common/xf86Init.c
hw/xfree86/int10/pci.c
hw/xfree86/scanpci/xf86PciData.h
hw/xfree86/scanpci/xf86PciStdIds.h
hw/xfree86/scanpci/xf86PciStr.h
hw/xfree86/scanpci/xf86ScanPci.h
hw/xfree86/utils/pcitweak/pcitweak.c
hw/xfree86/utils/scanpci/scanpci.c
Re-removed most of the conflicting files.
2006-07-25 11:30:04 -07:00
Ian Romanick
2fd6b995ff
Global s/xf86MapDomainIO/xf86MapLegacyIO/. Let's call a duck a duck,
...
okay? Since xf86MapLegacyIO is called from only one place, cut the
parameter list down to the one parameter that actually conveys some
information: the one that gives a PCI device. Change from using a
PCITAG to a pci_device.
2006-07-24 13:33:34 -07:00
Ian Romanick
aed6fe0bb1
Refactor linuxGetSizesStruct to take a pci_device pointer instead of a
...
PCITAG. Modify xf86BusAccWindowsFromOS and xf86AccResFromOS to call
linuxGetSizesStruct directly with a pci_device pointer. Remove
linuxGetSizes.
2006-07-24 13:13:05 -07:00
Ian Romanick
e487627992
Modify xf86BusAccWindowsFromOS and xf86AccResFromOS to use the
...
libpciaccess interfaces.
2006-07-24 12:23:23 -07:00
Ian Romanick
4b474cbc1a
The functions xf86PciBusAccWindowsFromOS and xf86BusAccWindowsFromOS
...
are identical. Just have one call the other.
2006-07-24 12:17:27 -07:00
Ian Romanick
525257eb98
Fix stupid typos.
2006-07-21 19:16:38 -07:00
Ian Romanick
e18d34f423
Make the various implementations of xf86ExtendedInitInt10 use the
...
libpciaccess interfaces. This eliminates all calls to mapPciRom,
which in turn allows the elimination of hw/xfree86/int10/pci.c.
2006-07-21 16:47:45 -07:00
Daniel Stone
e7ac27ad81
revert accidental deletion of lnx_io.c; re-delete lnx_kbd.c
...
Thinko'd which file to remove after merging from master.
2006-07-21 19:29:28 -04:00
Daniel Stone
81913a1291
remove undead files from master
...
Remove dead files which worked their way back in when merging from master.
Ugh.
2006-07-21 19:10:26 -04:00
Daniel Stone
7465010d59
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-07-21 19:05:41 -04:00
Ian Romanick
07ad92d2c4
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/common/xf86DoScanPci.c
hw/xfree86/common/xf86Init.c
hw/xfree86/common/xf86pciBus.c
2006-07-21 15:25:35 -07:00
Adam Jackson
0aaac95b0d
Remove RCS tags. Fix Xprint makefile braindamage.
2006-07-21 17:56:00 -04:00
Kristian Høgsberg
3eeb62e8f5
bug #890 : completely remove deprecated keyboard driver
...
Remove all remnants of the old built-in keyboard driver.
2006-07-21 16:33:28 -04:00
Ian Romanick
2f98841fde
Remove unused variable.
2006-07-20 16:08:27 -07:00
Ian Romanick
c69c00d652
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
2006-07-20 12:08:38 -07:00
Daniel Stone
84683f19b4
get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE
...
Get rid of almost all uses of these definitions. They're still defined for
delinquent out-of-tree drivers, and also for the Mesa build. As well as
for miinitext.c. But largely gone.
2006-07-18 18:17:38 -04:00
Adam Jackson
881953813c
Fix the Linux ACPI reopen code to use a repeating timer, rather than a
...
one-shot sleep-and-reopen attempt.
2006-07-17 13:50:38 -04:00
Ian Romanick
d3ee49bcba
Refactor common code from the generic.c and linux.c version of
...
xf86ExtendedInitInt10 to xf86int10GetBiosLocationType and
xf86int10GetBiosSegment.
These changes were tested on MGA hardware on x86-64 with various
combinations of InitPrimary and BiosLocation.
2006-07-14 15:13:35 -07:00
Ian Romanick
8793c7fd4b
Refactor identical xf86InitInt10 function from generic.c and linux.c
...
to helper_exec.c.
2006-07-14 09:11:39 -07:00
Ian Romanick
18624a9b7c
Modify linuxGetSizesStruct to use pci_device instead of pciConfigPtr.
2006-07-13 21:10:48 -07:00
Ian Romanick
12595a77d6
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-07-13 12:48:03 -07:00
Tilman Sauerbeck
39b2f7b218
Bug #3042 : Use autoconf to get the correct name of a struct member.
...
This allows us to remove the kernel version ifdefs from the code, which
are ugly and broken.
2006-07-08 19:55:53 +02:00
Adam Jackson
d7a96dd6f1
Switch the default mouse device on Linux to /dev/input/mice.
2006-07-06 17:39:14 -04:00
Ian Romanick
37838de62e
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
...
Conflicts:
hw/xfree86/os-support/bus/linuxPci.c
2006-07-06 13:01:57 -07:00
Ian Romanick
8d07ee070e
Refactor linuxGetIOSize and linuxGetSizes. Eliminate the unnecessary
...
optimization in the search loop.
2006-07-06 12:48:51 -07:00
Ian Romanick
e66e7b48e1
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-07-05 15:21:36 -07:00
Greg Kroah-Hartman
cc3e99f747
fix some more compiler warnings due to defines being declared differently
2006-07-05 10:13:19 -07:00
Eric Anholt
002e28c12c
Correct AGP memory deallocation argument on *BSD.
...
This fixes leaks and eventual crashes with RandR resizing on Intel.
2006-07-03 12:48:12 -07:00
Ian Romanick
a9d4842893
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
2006-06-30 11:49:29 -07:00
Martin Bochnig
6bd4c25439
Updated Solaris aperture driver to build on sun4v & amd64 kernels
...
Updated for Solaris 10 changes to DDI
2006-06-29 16:25:36 -07:00
Ian Romanick
75398cff82
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
...
Conflicts:
hw/xfree86/loader/Makefile.am
hw/xfree86/loader/xf86sym.c
2006-06-20 15:49:47 -07:00
Matthieu Herrb
2b58685402
Check setuid() return value. Bugzilla #7116 .
2006-06-20 21:07:53 +02:00
Ian Romanick
4e3c9ab8c9
Remove some static declarations for things that were removed in
...
previous commits.
2006-06-09 16:56:54 -07:00
Ian Romanick
46f55f5dea
Initial batch of changes for PCI rework. All future changes will be
...
tracked individually.
2006-06-07 14:09:02 -07:00
Daniel Stone
8444bb77c9
When we can, bound the maximum number of PCI devices to attempt to scan, by
...
the number found on the system. Only implemented for Linux right now.
2006-06-05 20:22:06 +00:00
Adam Jackson
52fc7c8dc7
Ensure all *ModuleData symbols are marked _X_EXPORT. Start removing
...
XFree86LOADER ifdefs, non-loadable hasn't been supported for a while
now. Remove completely gratuitious REMOVE_LOADER_CHECK_MODULE_INFO
ifdefs surrounding a call to a function added in XFree86 4.1 (!).
Miscellaneous static markings.
2006-06-05 03:00:24 +00:00
Daniel Stone
8e8c6faecd
Add support for kFreeBSD systems. (Robert Millan, Aurelien Jarno)
2006-06-03 10:48:37 +00:00
Daniel Stone
56f21bda1c
Bug #6583 : Only open /proc/bus/pci/devices once. (Bill Nottingham)
2006-06-01 22:30:52 +00:00
Daniel Stone
a73e0f8cdf
Die XTESTEXT1, die!
2006-06-01 18:47:47 +00:00
Matthieu Herrb
fc5ca97284
Powerpc machines also need ioperm_noop.c
2006-05-30 22:56:36 +00:00
Daniel Stone
fd8bde8bb0
Remove -xkbmap argument.
2006-05-29 11:14:03 +00:00
Matthieu Herrb
c38aab293a
check buffersize before reading next char, fixes the "mouse stuck at left"
...
bug (bugzilla #3113 ) for BSD systems using wscons. (Dale Rahn).
2006-05-27 23:15:05 +00:00
Adam Jackson
deebf6bd51
Bug #4139 : Fix a BAR remapping bug that could lead to IERR and system hang.
...
(Egbert Eich)
2006-05-18 23:52:51 +00:00
Adam Jackson
c11cfcfaff
Bug #6377 : Ignore disabled BARs, and allow matching BARs aligned to less
...
than 16 bytes. (Felix Kühling, ATI)
2006-05-18 23:48:57 +00:00
Adam Jackson
fa9a49a92d
Bug #5877 : Avoid burning CPU when acpid dies. Require acpid to be running
...
for ACPI support on Linux. Minor errno handling fixes. (Valery
Inozemtsev, Adam Jackson)
2006-05-18 18:18:41 +00:00
Adam Jackson
321dbed5f5
Bug #5209 : Fix APM/ACPI support, again. (Michel Dänzer, Valery Inozemtsev)
2006-05-15 18:27:18 +00:00
Adam Jackson
86ffb46358
Bug #5209 : Re-enable building APM and ACPI support. (Michel Dänzer)
2006-05-09 18:04:29 +00:00
Dave Airlie
26fa45b642
Bug #6751 : Use the Linux PCI ROM interface on Linux properly. The old
...
domain code, still modified BARs not a good idea, Just talk to sysfs,
if 0 read, fallback to old methods.
2006-04-26 11:40:58 +00:00
Dave Airlie
c339b221d3
Bug #6750 : This patch detects Intel bridges that are transparent but aren't
...
reported as such. From the Linux kernel fixups. This patch also removes
the reserved BIOS area from the area to allocate resources in.
2006-04-26 11:31:07 +00:00
Benjamin Herrenschmidt
79dc689261
When reading the kernel keyboard mapping (readKernelMapping in
...
os-support/linux/lnx_KbdMap.c) we overrun the usefully-named global
array 'map', scribbling on other random static variables elsewhere.
This is fixed by changing the size of at2lnx. (David Woodhouse). Bug
#5169
2006-04-22 03:22:17 +00:00
Adam Jackson
82b6ea1a4b
Bug #6580 : Don't install xf86drm.h, that's libdrm's job.
2006-04-14 22:51:19 +00:00
Adam Jackson
a68c11bb1d
Mark everything in xf86sym.c as _X_EXPORT.
2006-03-25 19:52:05 +00:00
Daniel Stone
d0d336efd5
Add support for ZX2 PCI-E local bus adaptors. (Alex Williamson, HP)
...
Use soft timeout register to avoid MCAs when probing for non-existent local
bus adaptors on ZX2. (Alex Williamson, HP)
2006-03-16 16:29:17 +00:00
Jeremy C. Reed
9a99afdfb2
Add DragonFly support. (It is like FreeBSD.)
...
This patch is from DragonFly developer Joerg Sonnenberger and the pkgsrc
collection.
I tested using /dev/sysmouse with moused using my serial /dev/cuaa0.
2006-03-10 01:22:26 +00:00
Matthieu Herrb
82cbd2ee0d
Don't hard-code -DUSE_DEV_IO here. configure generates the proper OS
...
specific values here.
2006-03-05 16:33:17 +00:00
Ian Romanick
cfdacab33a
Eliminate unused PCI BIOS reading functionality. The old code used several
...
function pointers to implement a level of flexability that was never
used. The code also had unused support for extracting a single image
type from a larger expansion ROM.
Fix the spelling of PCI_BIOS_OPEN_FIRMWARE.
Fix a couple errors in #ifdef debug code.
These changes have been tested on x86 and x86-64 Linux.
2006-02-21 00:02:08 +00:00
Ian Romanick
5fd0f94006
Eliminate all the code for querying the PCI class from the PCI ID database.
...
Class information is not, and never has been, stored there. Therefore,
this is just a bunch of elaborate code to read 0x00000000.
This has received testing on x86 and x86-64 Linux.
2006-02-20 23:45:50 +00:00
Benjamin Herrenschmidt
1a4f20541a
Fix linux build without libc wrappers (From Fredrik Höglund)
2006-02-13 04:56:27 +00:00
Eric Anholt
c3d1403672
Remove libcwrapper usage from xorg server modules. The libcwrapper is only
...
of (marginal) use in the drivers, and that usage remains.
2006-02-10 22:00:30 +00:00
Jeremy C. Reed
0946bb9427
Fix sysmouse handling on DragonFly, mostly garbage arrived. From Joerg
...
Sonnenberger.
2006-02-03 02:37:52 +00:00
Eric Anholt
dd50015b05
Add libc_wrapper support for random(), which will be used in upcoming EXA
...
memory manager work.
2006-01-28 02:20:37 +00:00
Daniel Stone
2949c705f1
Add all subdirs used to DIST_SUBDIRS, and files to EXTRA_DIST.
...
Attempt to build xeglmodule.c, not xglxmodule.c.
Add xf86Sbus.h to EXTRA_DIST, as _HEADERS doesn't appear to get the same
treatment as _SOURCES in terms of automatically DISTing.
2006-01-10 03:23:05 +00:00
Dave Airlie
fc69a2e729
Remove PowerMAX_OS define it never worked , it'll never work again,
...
finishes running joke of OLS2005
2005-12-29 08:42:49 +00:00
Adam Jackson
f1ba3b4f33
Bug #4718 : Command line flag to disable ACPI.
2005-12-14 20:11:16 +00:00
Alan Coopersmith
3666dbb5f3
Remove unnecessary include of dgaproc.h that broke Solaris builds.
2005-12-12 23:33:55 +00:00
Adam Jackson
f9ccebe8c5
Bug #4928 : Fix compilation for Alpha. (Stefaan DeRoeck)
2005-12-08 19:27:13 +00:00
Kevin E Martin
7c00afd0ec
Define XFree86Server only where it is required.
2005-12-02 06:02:45 +00:00
Eric Anholt
ccfaf82367
Bug #5160 : Fix the modular build to try to use the same logic for choosing
...
the architecture/os-specific bus support as monolithic.
2005-12-01 05:04:07 +00:00
Adam Jackson
9c0bd9687f
Import libdrm 2.0
2005-11-30 22:59:22 +00:00
Kevin E Martin
da5d66f2ff
Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadable
...
module builds to reflect this change.
2005-11-29 16:39:33 +00:00
Adam Jackson
e3ec048ff2
Bug #4928 : Unbreak Makefile.am for Alpha chips. (Stefan DeRoeck)
2005-11-18 22:43:50 +00:00
Kean Johnson
e4554db8f8
Dont pass wheel mouse buttons as real buttons, map them as Z-Axis movement
...
on SCO and USL. Re-instate the ZAxisMapping default for the mouse
driver.
2005-11-10 02:41:20 +00:00
Matthias Hopf
f886e632b8
Bug #4915 : ButtonMapping option which allows to define arbitrary button
...
mappings (including left-handed mouse etc.). Fixed incorrect usage of
non-reversed, but ZAxisMapped buttons for state detection. Nuked unused
part of reverseMap.
2005-11-09 17:05:41 +00:00
Kevin E Martin
a25871ae52
DRM 1.0.5 import
2005-11-09 01:00:46 +00:00
Kevin E Martin
c9709c0a38
Add newly checked in files to Xorg server build.
...
Fix release date. Enable DGA extension by default.
2005-11-08 22:47:57 +00:00
Kristian Høgsberg
f8430a1b86
Bug #2880 , add functions for byte and word level access to pci config
...
space.
Fix broken utf8 again.
2005-11-08 19:04:56 +00:00
Kean Johnson
5390c7ab05
See ChangeLog entry 2005-11-07 for details.
2005-11-08 06:33:30 +00:00
Kevin E Martin
56101c9d6e
Fix fd leak by closing them in the ACPI code instead of just using
...
shutdown.
2005-10-31 05:45:40 +00:00
Adam Jackson
af211a9bc1
Fix PCI bus scan on ia64 E8870 chipsets.
2005-10-19 22:30:09 +00:00
Kevin E Martin
b61c828b04
DRM 20051017 import
2005-10-18 02:23:58 +00:00
Kevin E Martin
1859c62607
include/dix-config.h.in Add support for more extensions
...
Add missing files to EXTRA_DIST
2005-10-17 07:18:59 +00:00
Kevin E Martin
c2e461c7e9
Fix typo and add new Makefiles to AC_OUTPUT
...
Fix typos
Add xorg.conf.man to CLEANFILES
Add missing files to EXTRA_DIST
2005-10-15 20:44:44 +00:00
Kristian Høgsberg
0676a2874a
Add sysv and sco os-support subdirs and add simple EXTRA_DIST Makefile.am
...
in those dirs. Remove unsupported os-support subdirs (bsdi, dgux, hurd,
nto, os2, pmax, qnx4) that have no maintainer and we don't dist.
Add Options.
2005-10-14 20:01:36 +00:00
Alan Hourihane
57abb5b171
remove reference to non-existent agpgart.h
2005-10-14 08:29:16 +00:00
Luc Verhaegen
9f3ad65251
Fix lnx_pci.c's xf86GetOSOffsetFromPCI return value. Clears up the resource
...
ranges awkwardness and the "INVALID MEM ALLOCATION" warning.
2005-10-05 07:27:52 +00:00
Alan Coopersmith
6d4b350dee
Bug #3815 < https://bugs.freedesktop.org/show_bug.cgi?id=3815 > Patch #3463
...
<https://bugs.freedesktop.org/attachment.cgi?id=3463 > GNU/kFreeBSD
Xserver support (Robert Millan)
2005-10-03 16:46:14 +00:00
Alan Coopersmith
13e0db19d8
Adding more doc files & fbdevhw man page
2005-10-01 06:19:02 +00:00
Alan Coopersmith
8907195d78
Take care of more files from monolith's Xserver/hw/xfree86/etc dir:
...
hw/xfree86/utils/ioport/Makefile.am
Add ioport and pcitweak utils from monolith hw/xfree86/etc dir.
Generate xf86DefModeSet.c from vesamodes & extramodes
Add apSolaris.shar to EXTRA_DIST
2005-09-26 20:58:26 +00:00
Alan Coopersmith
a5477ae7ac
Add scanpci, xorgcfg, & xorgconfig utilities.
2005-09-24 02:40:51 +00:00
Alan Hourihane
99793543c0
put back some agp related allocation messages
2005-09-22 12:40:41 +00:00
Alan Hourihane
02566dff4a
fix typo
2005-09-22 12:33:36 +00:00
Adam Jackson
1115ff4c00
Bug #4487 : Add the bsd subdir to DIST_SUBDIRS. (Joshua Baergen)
2005-09-21 00:38:05 +00:00
Adam Jackson
b7e723ed6f
Missing backslash
2005-09-20 23:32:21 +00:00
Alan Coopersmith
b623c60745
Linux/Alpha support (Stefaan De Roeck)
2005-09-19 22:44:49 +00:00
Alan Coopersmith
535cd292c8
#include "xf86Axp.h" -> "shared/xf86Axp.h" for modular build. (Stefaan De
...
Roeck)
2005-09-19 18:38:26 +00:00
Eric Anholt
12fbcfefe6
Add some initial BSD support for the xorg server. Incomplete on NetBSD,
...
OpenBSD, and non-i386/amd64 FreeBSD for sure. Plus I haven't actually
run it yet.
2005-09-13 18:37:35 +00:00
Alan Coopersmith
9d3b5e89d6
Save keyboard LED state on startup and restore on exit so text console mode
...
LEDs match text console mode state. Move push of streams module earlier
so it's loaded before we start using kbd ioctls provided by the streams
module.
2005-08-30 22:34:14 +00:00
Kristian Høgsberg
fa6fbd018d
Use the $(moduledir) makefile variable instead of @moduledir@ so it can be
...
overridden at make install time.
Remove driverdir and inputdir from pkg-config file. The directory layout of
moduledir is fixed and well known by drivers.
2005-08-30 22:31:52 +00:00
Adam Jackson
0e50af8b7f
typo fix
2005-08-30 19:35:06 +00:00
Adam Jackson
5ffff7cb86
Bug #4160 : Fix Altix kernel version check.
2005-08-26 20:08:09 +00:00
Daniel Stone
3075df24e7
Subvert SIGUSR2 to reload all input devices. (Ubuntu #020 )
2005-08-26 07:35:55 +00:00
Daniel Stone
89c84575ea
Undo rate/period change after function body, so the damage doesn't leak
...
into other functions. (Debian #050 )
2005-08-26 07:24:21 +00:00
Daniel Stone
bb5e934df7
Only open /proc/bus/pci/devices once. (Ubuntu #029 )
2005-08-26 07:15:04 +00:00
Daniel Stone
c937faadd0
Better error message on failure to set iopl. (Debian #021 )
2005-08-26 06:48:24 +00:00
Daniel Stone
53e489c0e3
Work around ATI expansion ROM problem on IA64 caused by prototype HP
...
McKinley systems. (Bdale Garbee)
2005-08-26 05:47:36 +00:00
Kristian Høgsberg
ff22adc097
Remove sun_inout.s so make dist works (discussed with Alan Coopersmith).
2005-08-25 14:19:43 +00:00
Alan Coopersmith
079ad773e0
Fill in xf86DeallocateGARTMemory stub based on lnx_agp.c version. Add
...
include of xorg-config.h for modular builds
2005-08-24 22:37:15 +00:00
Daniel Stone
825a95a1fa
Remove use of dix-config and xorg-config.h from public headers.
2005-08-24 11:18:35 +00:00
Alan Hourihane
7693f668ef
programs/Xserver/hw/xfree86/os-support/linux/lnx_acpi.c
...
programs/Xserver/hw/xfree86/os-support/linux/lnx_apm.c
programs/Xserver/hw/xfree86/os-support/linux/Imakefile Add basic ACPI Linux
support so that events can be passed to the driver. (Alan Hourihane)
2005-08-22 12:05:18 +00:00
Daniel Stone
367f450739
Change xorg_bus_sbus to xorg_bus_sparc; build sparcPci.c on all SPARCs.
2005-08-21 08:43:46 +00:00
Daniel Stone
71b3fea94e
Typo fix (SOURCE -> SOURCES).
2005-08-21 08:24:52 +00:00
Daniel Stone
db2909ce76
Add test for SPARC. Build SparcMulDiv.S on all SPARCs.
...
Make the default font path configurable.
2005-08-21 06:56:19 +00:00
Adam Jackson
d96e666686
Add sparcPci.c to EXTRA_DIST.
2005-08-20 18:52:07 +00:00
Alan Coopersmith
22694500e0
Add xf86Sbus.h to EXTRA_DIST files (bugzilla #4128 )
2005-08-17 23:20:27 +00:00
Alan Coopersmith
24597a1ee2
2005-08-15 Alan Coopersmith <alan.coopersmith@sun.co>m
...
Convert sunPostKbdEvent to use xf86ProcessAction like xf86PostKbdEvent.
2005-08-16 00:40:25 +00:00
Alan Coopersmith
c29051f9d1
Add LintTarget()
...
Bugzilla #1068 <https://bugs.freedesktop.org/show_bug.cgi?id=1068 > Port
Solaris keyboard code to work with kbd driver.
Also incorporated "audio bell" feature from Xsun keyboard DDX to play bell
tones via /dev/audio (specified via Option "BellDevice" "/dev/audio" in
keyboard device options).
2005-08-13 00:11:28 +00:00
Alan Coopersmith
9828a38ed6
Solaris build fixes needed for modular builds
2005-08-06 03:14:50 +00:00
Adam Jackson
fedbce2186
EXTRA_DIST hacks to get all the OS support files into the tarball.
2005-08-05 00:13:31 +00:00
Adam Jackson
39a80312e0
- Bug #3960 : Add remaining GLX and pci.ids stuff to DIST (Cha Young-Ho,
...
Olli Helenius)
- Fix some distcheck problems for non-solaris systems
- Change server version number from the Xorg rev to an independent one
- _POSIX_SOURCE and _XOPEN_SOURCE defined to the right values
2005-08-04 22:31:20 +00:00
Alan Coopersmith
13bec87f45
Fix inline assembly versions of in*/out* for Sun compilers Add check for
...
ancient USL console code on Solaris to allow building on old Solaris
x86 versions
2005-08-04 02:39:56 +00:00
Alan Coopersmith
d7c246f35b
Only build ix86Pci.c on x86 & amd64 platforms Set DEFAULT_INT10 to x86emu
...
on everything but Linux/x86 Fix Sbus.c inclusion on sparc platforms
2005-08-02 23:57:52 +00:00
Adam Jackson
d31de217e6
distcheck fixes
2005-08-02 03:36:09 +00:00
Alan Coopersmith
005a9cf1f5
Fix Solaris assembly source to work with libtool
2005-08-02 01:03:25 +00:00
Adam Jackson
2d7b1893be
- Workaround for AS_HELP_STRING compatibility with older autoconf.
...
- New intermediate build target for Xorg server
- ia64 fixes
2005-08-02 00:41:07 +00:00
Kevin E Martin
86529c07d6
Fix distcheck for server
2005-07-28 23:28:34 +00:00
Alan Coopersmith
3e4bf8a8f4
Rework wrapping of common mouse driver to not require mousePriv.h, so that
...
modular tree xserver can be built on Solaris. Wrap more ioctls in
SYSCALL() to restart on signals.
2005-07-28 02:38:23 +00:00
Alan Coopersmith
e7502158d6
Add xf86DeallocateGARTMemory stub so that Xorg can be built on Solaris
...
again.
2005-07-24 16:24:17 +00:00
Alan Hourihane
bf32f4739c
programs/Xserver/hw/xfree86/os-support/shared/agp_noop.c
...
programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h
//bugs.freedesktop.org/show_bug.cgi?id=3164> Add xf86DeallocateGARTMemory()
function call (Austin Yuan)
2005-07-19 20:51:46 +00:00
Alan Coopersmith
931abdba84
Change #include "X.h" to <X11/X.h>
2005-07-19 02:50:00 +00:00
Kevin E Martin
a407fa373b
Move drm up to os-support since the files are shared by multiple platforms.
...
Fix the dri and drm build. Fix server-side DMX extension build. Make
xf4bpp use the correct version of mfbline.c for mfbseg.c. Add #ifndef
_HEADERNAME_H_/#define _HEADERNAME_H_/.../#endif to the headers.
2005-07-15 22:51:05 +00:00
Kevin E Martin
defeb56fc9
Fix the build when DRI is enabled
2005-07-14 22:20:16 +00:00
Alan Coopersmith
c582560c62
Add partial in*/out* assembly support for Sun compilers on x86
2005-07-14 02:59:34 +00:00
Alan Coopersmith
8ea4a1b759
First pass at Solaris os-support
2005-07-14 01:00:39 +00:00
Alan Coopersmith
939b7720f1
Merge SVR4/pre-Solaris 8 and Solaris 8+ sections for greater consistency,
...
easier maintenance, and to fix some missing headers when building the
modular Xorg on Solaris.
2005-07-14 00:02:05 +00:00
Alan Coopersmith
4f38526566
- Use fbdevhwstub.c if <linux/fb.h> is not found
...
- Use x86emu on Solaris instead of vm86
- Better per-OS control over which xf86Kbd*.c and *Pci.c files to build
- Set various #defines to be defined or not on Solaris as needed
2005-07-13 22:54:02 +00:00
Kevin E Martin
b7a9a6a035
Remove unneeded xf86drm.h includes to fix modular build.
2005-07-11 17:52:00 +00:00
Adam Jackson
7586ac6ede
Bug #2216 : Multiseat support. From various Debian and Ubuntu patches by
...
Aivils Stoss, Andreas Schuldei, Branden Robinson, and Daniel Stone.
2005-07-04 18:41:04 +00:00
Daniel Stone
4e501d35e2
Remove needless usage of DECkeysym.h.
2005-07-03 10:51:16 +00:00
Daniel Stone
0bb669638f
Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h".
2005-07-03 08:53:54 +00:00
Daniel Stone
e03198972c
Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
...
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
source files in the xserver/xorg tree, predicated on defines of
HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
<X11/fonts/foo.h>.
2005-07-03 07:02:09 +00:00
Daniel Stone
826a6f029f
Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere.
2005-07-02 18:59:44 +00:00
Daniel Stone
9b1debcdb6
Change all misc.h and os.h references to <X11/foo.h>.
2005-07-01 22:43:43 +00:00
Daniel Stone
ded56b1a74
Adding initial build system.
2005-07-01 20:29:53 +00:00
Ian Romanick
68e856ff5b
DRM 20050615 import
2005-06-15 18:31:52 +00:00
Ian Romanick
6e301a8e97
Initial revision
2005-06-15 18:31:52 +00:00
Alan Coopersmith
72ca8e1b54
Add agpgart support for Solaris x86/x64. [Requires Solaris "Nevada" build
...
16 or later to get kernel side for now.] (Sophia Li - Sun Microsystems)
2005-06-09 03:11:58 +00:00
Alan Coopersmith
88d49bed00
Need to set initial screen size at device open time too.
2005-06-03 21:49:11 +00:00
Alan Coopersmith
2fc290f646
Solaris VUID mouse protocol updates:
...
- support for mouse-like devices that report absolute coordinates
- support for mouse-like devices that need to know screen size so they can
scale absolute coordinates to screen size
- fix 3-button emulation
2005-06-01 17:45:17 +00:00
Alan Coopersmith
a8a61bbe22
Initial experimental support for AMD64 builds on Solaris 10 x86. Improved
...
support for 64-bit SPARC builds on Solaris as well.
2005-05-21 07:46:38 +00:00
Thomas Hellstrom
a90af4a2e6
Bug 2750: Prevent mtrr_remove_offending from ending up in an endless loop
...
if the offending region refuses to be removed.
2005-05-15 17:45:47 +00:00
Eric Anholt
8993e70d8d
Bugzilla #2561 : Disable some keycode translations on PC98, which had
...
various bad effects including modifier keys not working.
2005-05-10 00:12:17 +00:00
Eric Anholt
e78abf3bdf
Bugzilla #2429 : Correct the sysarch prototype for FreeBSD/alpha.
2005-05-09 23:42:26 +00:00
Eric Anholt
3f1a1551df
Increase the maximum number of buttons from 12 to 24. Helps with
...
button-happy mice like the Logitech MediaPlay. (Bugzilla #2390 )
2005-05-09 23:26:02 +00:00
Eric Anholt
d5739efd2c
Port X.Org to FreeBSD/powerpc. This makes a bit of math for sysmouse in
...
mouse.c explicitly signed, avoiding the need for -fsigned-chars. (Peter
Grehan, grehan at FreeBSD dot org)
2005-05-04 04:14:58 +00:00
Adam Jackson
6c37648754
Bug #2141 : Rework misleading warning message when APM support is
...
unavailable. (Previous patch on 2005-04-14 changed the wrong message.)
2005-04-25 00:11:21 +00:00
Alan Coopersmith
dcfb97204b
Work around clash between Solaris headers and module loader headers over
...
definition of FILE.
2005-04-22 22:04:37 +00:00
Adam Jackson
d450a70e00
Bug #2373 : SGI Altix platform support. (Shrijeet Mukherjee, Jesse Barnes,
...
Bjorn Helgaas, Egbert Eich.)
2005-04-22 17:45:14 +00:00
Adam Jackson
16c2499b8f
Bug #2373 : SGI Altix platform support. (Shrijeet Mukherjee, Jesse Barnes,
...
Bjorn Helgaas, Egbert Eich.)
2005-04-22 16:49:22 +00:00
Daniel Stone
292c4cff26
Fix includes right throughout the Xserver tree:
...
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h;
change "foo.h", "extensions/foo.h" and "X11/foo.h" to
<X11/extensions/foo.h> for extension headers, e.g. Xv.h;
change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-04-20 12:25:48 +00:00
Roland Mainz
4f686f158b
//bugs.freedesktop.org/show_bug.cgi?id=2885) attachment #2434
...
(https://bugs.freedesktop.org/attachment.cgi?id=2434 ) Fix Solaris build
bustage caused by namespace collision between symbols defined in
<sys/kbd.h> and those in "xf86_OSlib.h". Patch by Alan Coopersmith
<alan.coopersmith@sun.com>.
2005-04-15 23:34:39 +00:00
Adam Jackson
7472fcfdd4
Bug #2141 : Rework misleading warning message when APM support is
...
unavailable.
2005-04-15 00:18:58 +00:00
Egbert Eich
6848b03538
Correct the mask bits when checking for a 64bit memory base in PCI config
...
space (bugzilla #2963 ).
2005-04-11 10:05:38 +00:00
Egbert Eich
7eb6b69ebd
Support for HP's IPF ZX1 systems (Alex Williamson).
2005-04-04 09:55:25 +00:00
Matthieu Herrb
fe37cc7e7b
programs/Xserver/hw/xfree86/loader/xf86sym.c
...
programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c Fix setjump0
declaration for DllLoader.
2005-04-01 21:28:50 +00:00
Thomas Hellstrom
f4e9f522fe
Bugzilla #2750 ( https://bugs.freedesktop.org/show_bug.cgi?id=2750 )
...
Linux-only fixes: Fix case where a smaller write-combining region
blocks write-combining setting of the whole frame buffer. Fix bug in wc
setting code when regions are first splitted and setting of
write-combining then fails.
2005-03-23 21:03:41 +00:00
Egbert Eich
522628f25b
Adding more errnos to the libc wrapper (Bugzilla #2672 ).
2005-03-08 10:26:59 +00:00
Roland Mainz
3f79c5eefc
xc/config/cf/DragonFly.cf
...
xc/config/cf/Imake.cf
xc/config/cf/Imakefile
xc/config/imake/imake.c
xc/config/imake/imakemdep.h
xc/extras/drm/shared/drm.h
xc/include/Xos_r.h
xc/lib/xtrans/Xtranssock.c
xc/programs/Xserver/hw/xfree86/os-support/xf86_OSlib.h
xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h
xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
//bugs.freedesktop.org/show_bug.cgi?id=1712) attachment #2004
(https://bugs.freedesktop.org/attachment.cgi?id=2004 ): Add support for
DragonFly/BSD platform. Patch by Jeroen Ruigrok <asmodai@tendra.org>
and Mike Verona <firedragonfly@gmail.com>.
2005-03-02 11:20:30 +00:00
Egbert Eich
e7369daba5
Added PCI2Host bus translations for linux PPC and fixed fixed bugs in
...
macros that apply these functions (Bill Randle Bugzilla #325 and #327 ).
2005-02-09 11:12:54 +00:00
Egbert Eich
ea5b09f95d
Save gs register before calling the vm86_old syscall thru int 0x80. This is
...
required for linuxthreads as the TLS uses this register to keep track
of local thread storage (Bugzilla #2431 , J. Scott Berg).
2005-02-07 18:16:05 +00:00
Roland Mainz
44e2d91679
xc/programs/Xserver/hw/xfree86/os-support/bus/xf86Sbus.h
...
xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c
//bugs.freedesktop.org/show_bug.cgi?id=825) attachment #956
(https://bugs.freedesktop.org/attachment.cgi?id=956 ): Fix build
problems on Linux/SPARC. Patch by Jeremy Huddleston
<eradicator@gentoo.org>. Approved in the 2005-01-31 Xorg
release-wranglers phone call.
2005-02-02 00:55:21 +00:00
Matthieu Herrb
206072c475
programs/Xserver/hw/xfree86/os-support/bsd/bsd_kbd.c Fix option
...
dontVTSwitch under *BSD, when XKB is disabled. Bugzilla #2252 .
2005-01-30 20:12:07 +00:00
Egbert Eich
d23c46dd3e
Modifying X.Org Xserver DDX to allow to run X with ordinary user
...
permissions when no access to HW registers is required. For API changes
which mostly involve the modifications to make the RRFunc (introduced
with 6.8) more flexible please check Bugzilla #2407 . NOTE: This patch
applies changes to OS specific files for other OSes which I cannot
test.
2005-01-28 16:13:00 +00:00
Egbert Eich
13b5a93b70
Fix interpretation of 64bit PCI bases: read hi long word from the right bar
...
(Michael Yaroslavtsev, Bugzilla #2322 ).
2005-01-25 10:08:18 +00:00
Egbert Eich
55736aa8c1
Alan Cox requested that we check the kernel version before we use kernel
...
VGA font save/restore as the required features have been added to Linux
2.6.11 (Bugzilla #2277 ).
2005-01-21 14:25:26 +00:00
Egbert Eich
16f9d2d72a
Let the OS instead of X save/restore text console fonts on Linux. So far we
...
relied on the generic VGA layer to restore text console fonts for us
when shutting down the server or VT switching back to the text console.
This has worked rather well but it has some downsides on Linux: a. Many
people use fbdev as console text mode. In this case it is not necessary
to save/restore console fonts as the console is running in graphics
mode anyway. b. Some architectures don't have a fbdev console but
require a full POST of even the primary card (ie. IA64). This posting
has to take place before we even have a chance to save anything.
Therefore the fonts we save are the once written to the chip by POST,
not what has been programmed by the user. c. Certain chipsets utilize
the BIOS to perform mode setting. This may interfer with the vga
save/restore font function in a strange way. It would therefore be
preferrable to let the OS - which has been used to set up the font in
the first place - take care of saving/restoring the data. I will attach
a patch which will do so for Linux. To make this fully functional a
small patch needs to be applied to the Linux kernel. To disable this
feature add: #define DoOSFontRestore NO to your host.def. (Bugzilla
#2277 )
2005-01-14 18:42:26 +00:00
Egbert Eich
b6301dc410
Minor format fix.
...
Added explanatory comment and debug code.
Added comment.
2005-01-11 14:59:02 +00:00
Egbert Eich
f417159e51
Make option 'DontVTSwitch' work again with kbd driver under Linux. The kbd
...
driver now calls the OS layer to handle special keys. Possibly other
special keys and other OSes need to be looked at also. (Helmut
Fahrion).
2005-01-10 12:20:33 +00:00
Alan Coopersmith
3035739e5b
Bug #2123 < https://bugs.freedesktop.org/show_bug.cgi?id=2123 > Attachment
...
#1587 <https://bugs.freedesktop.org/attachment.cgi?id=1587 > Call to
uname should not check for return == 0, but for >= 0 instead
2004-12-22 08:28:16 +00:00
Egbert Eich
d0b17bda4d
Removed #ifdef'ed out code together with the comment explaining why it was
...
#ifdef'ed out.
Fixed typo.
Added comment to a changed that's been committed with one of the previous
commits.
2004-12-14 08:59:20 +00:00