4cc33190ef 
								
							 
						 
						
							
							
								
								xfree86: Add two __FreeBSD_kernel__ checks  
							
							... 
							
							
							
							Debian bug#525475 <http://bugs.debian.org/525475 >
Reported-by: Petr Salinger <Petr.Salinger@seznam.cz>
Signed-off-by: Julien Cristau <jcristau@debian.org> 
							
						 
						
							2009-05-14 17:03:11 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								74d27c8b5b 
								
							 
						 
						
							
							
								
								Fix build on hurd-i386  
							
							... 
							
							
							
							http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523970  
						
							2009-04-15 15:49:25 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								a9d7d659a0 
								
							 
						 
						
							
							
								
								PCI: Remove pciBusAddrToHostAddr and associated nonsense  
							
							... 
							
							
							
							This was all a glorified no-op.  We rely on pciaccess to create device
maps anyway, so we should have no reason to care about what the host
address is.
Acked-by: Ian Romanick <ian.d.romanick at intel.com>
Signed-off-by: Adam Jackson <ajax@redhat.com> 
							
						 
						
							2009-02-16 16:46:39 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								86cfe0ee23 
								
							 
						 
						
							
							
								
								PCI: Simplify OS PCI function registration a bit.  
							
							
							
						 
						
							2008-11-24 23:40:02 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								2d427b9cb1 
								
							 
						 
						
							
							
								
								PCI: Remove config mechanism details.  
							
							... 
							
							
							
							pciaccess handles this for us now, no need to remember PC arcana. 
							
						 
						
							2008-11-24 23:40:02 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								5bb86bafd6 
								
							 
						 
						
							
							
								
								PCI: Remove non-pciaccess path for x86.  
							
							
							
						 
						
							2008-11-24 23:40:02 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								a67360e79f 
								
							 
						 
						
							
							
								
								PCI: Always build domain support.  
							
							
							
						 
						
							2008-11-24 23:40:02 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								570835b9a8 
								
							 
						 
						
							
							
								
								Use bsd_pci stub routines on Solaris too, since we use pciaccess for real work  
							
							... 
							
							
							
							Depends on commit 70e18a3b6b 
							
						 
						
							2008-11-19 10:19:20 -08:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e3e47b35e3 
								
							 
						 
						
							
							
								
								Remove MAX_PCI_{BUSES,DOMAINS} and some associated #if 0.  
							
							
							
						 
						
							2008-08-18 17:03:22 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								539717fe1f 
								
							 
						 
						
							
							
								
								Remove (unused) pciMaxBusNum.  
							
							
							
						 
						
							2008-08-18 14:50:33 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								3c03d9f1ef 
								
							 
						 
						
							
							
								
								Remove sparcPci.c  
							
							... 
							
							
							
							There is no way this code can have been building for anyone since pciaccess
was merged.  BSD and Linux were already using OS code on sparc, the only
people who could want this are Solaris, who should be using pciaccess
anyway. 
							
						 
						
							2008-08-18 14:37:42 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								9a39b6cfbd 
								
							 
						 
						
							
							
								
								Remove XF86SCANPCI_WRAPPER.  
							
							
							
						 
						
							2008-08-18 14:26:01 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								470b05a610 
								
							 
						 
						
							
							
								
								Remove vestigial MAX_PCI_DEVICES.  
							
							
							
						 
						
							2008-08-18 14:04:59 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e1ae8db625 
								
							 
						 
						
							
							
								
								Drop dead PowerPC PCI code.  
							
							... 
							
							
							
							Also add a warning for anyone still using legacy PCI code. 
							
						 
						
							2008-08-18 09:53:48 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								9719354ae0 
								
							 
						 
						
							
							
								
								Check for __amd64__, not __x86_64__.  
							
							... 
							
							
							
							Spiritual revert of 1fa4de80fc 
							
						 
						
							2008-06-24 14:37:06 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f3490d3eba 
								
							 
						 
						
							
							
								
								Bug  #15169 : Make the server build again on Alpha.  
							
							... 
							
							
							
							Still won't work until the kernel makes the resource files actually exist. 
							
						 
						
							2008-06-17 10:35:24 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ce36ae526d 
								
							 
						 
						
							
							
								
								Add M32R architecture support (bug  #10020 )  
							
							... 
							
							
							
							Still needs autotools support, so this won't actually _build_: it's just
a starting point. 
							
						 
						
							2008-04-30 11:58:32 +03:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								1fa4de80fc 
								
							 
						 
						
							
							
								
								Check for __x86_64__ when we check for __amd64__  
							
							... 
							
							
							
							It seems Intel C Compiler neglects to define __amd64__, __amd64, or
amd64, but *does* define __x86_64__. 
							
						 
						
							2008-04-12 20:39:18 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f7abe05b33 
								
							 
						 
						
							
							
								
								Bug  #14091 : Fix build (and runtime) on ia64.  
							
							
							
						 
						
							2008-03-13 17:40:34 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								a55ec1a9f4 
								
							 
						 
						
							
							
								
								Restore checks for __i386 where needed for Sun compilers on Solaris  
							
							
							
						 
						
							2007-11-20 18:31:07 -08:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								3d4eb17b38 
								
							 
						 
						
							
							
								
								mass change from #ifdef i386 to #ifdef __i386__ to conform to ANSI  
							
							
							
						 
						
							2007-10-14 18:07:03 -07:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								adf46b57ce 
								
							 
						 
						
							
							
								
								Replace BSD custom PCI code with a stub implementation thanks to pciaccess.  
							
							... 
							
							
							
							Note that pciaccess doesn't yet have Net/OpenBSD support, but the relevant
code should go there instead of disconnected code in the X Server.
While here, remove the now-disabled INCLUDE_XF86_NO_DOMAIN from the headers,
and un-disable xf8StdAccResFromOS for those OSes without domain support which
will need it. 
							
						 
						
							2007-08-28 10:13:27 -07:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								8b6b40b727 
								
							 
						 
						
							
							
								
								Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework  
							
							... 
							
							
							
							Conflicts:
	hw/xfree86/common/xf86.h
	hw/xfree86/common/xf86Init.c
	hw/xfree86/common/xf86pciBus.c
	hw/xfree86/int10/generic.c
	hw/xfree86/int10/helper_exec.c
	hw/xfree86/loader/xf86sym.c
	hw/xfree86/os-support/bus/Pci.c
	hw/xfree86/os-support/bus/Pci.h
	hw/xfree86/os-support/bus/linuxPci.c
	hw/xfree86/os-support/linux/int10/linux.c 
							
						 
						
							2007-08-23 18:19:17 -07:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								1d4bea6106 
								
							 
						 
						
							
							
								
								Add some more support for DragonFly. From Joerg Sonnenberger  
							
							... 
							
							
							
							and pkgsrc. 
							
						 
						
							2007-08-16 11:20:12 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ab7a6d860d 
								
							 
						 
						
							
							
								
								Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework  
							
							... 
							
							
							
							Conflicts:
	hw/xfree86/os-support/bus/Pci.c
	hw/xfree86/os-support/bus/linuxPci.c 
							
						 
						
							2007-06-18 16:51:13 -07:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ebaa6c920c 
								
							 
						 
						
							
							
								
								Disable Simba PCI bridge routing code (Bug  #8020 ).  
							
							... 
							
							
							
							The code in hw/xfree86/os-support/bus/sparcPci.c:simbaCheckBus()
is trying to mimmick VGA routing by disabling I/O space responses
behind the Simba PCI-PCI controller.
Unfortunately, doing this also happens to disable access to the
IDE controller I/O space registers, thus crashing the system.  The
granularity of the I/O disabling in the Simba controller is not
fine enough to disable VGA without also disabling the IDE controller
registers. 
							
						 
						
							2007-05-10 15:25:31 +02:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								637b19b3ee 
								
							 
						 
						
							
							
								
								Eliminate pciControlBridge, pciGetBridgeBuses, and pciGetBridgeResources.  
							
							
							
						 
						
							2007-01-22 09:58:33 -08:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								844560a02f 
								
							 
						 
						
							
							
								
								Elminiate ARCH_PCI_OS_INIT.  
							
							... 
							
							
							
							Never, ever use the ix86Pci stuff on Linux.  This renders the whole
ARCH_PCI_OS_INIT mechanism useless.  Remove it. 
							
						 
						
							2007-01-22 09:13:59 -08:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								31bd8d1507 
								
							 
						 
						
							
							
								
								Fix domain insanity.  
							
							... 
							
							
							
							Eliminate xf86GetPciDomain.  The domain from libpciaccess is the
domain.  Period.  This means that 0 is a valid domain.  Make sure that
INCLUDE_XF86_NO_DOMAIN is *not* set.  Always run in "domain mode,"
even if the only domain possible is 0. 
							
						 
						
							2007-01-15 15:19:30 -08:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								1c326bf75f 
								
							 
						 
						
							
							
								
								Eliminate unused INCLUDE_XF86_MAP_PCI_MEM define.  
							
							
							
						 
						
							2007-01-12 12:07:19 -08:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								8279444a54 
								
							 
						 
						
							
							
								
								Eliminate unused pciAddrHostToBus infrastructure.  
							
							
							
						 
						
							2007-01-12 10:41:03 -08:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e1f73d2208 
								
							 
						 
						
							
							
								
								Merge branch 'master' of ssh+git://idr@git.freedesktop.org/git/xorg/xserver into pci-rework  
							
							... 
							
							
							
							Conflicts:
	hw/xfree86/common/xf86Configure.c
	hw/xfree86/common/xf86Helper.c
	hw/xfree86/common/xf86pciBus.c
	hw/xfree86/int10/helper_exec.c
	hw/xfree86/os-support/bus/Pci.c
	hw/xfree86/os-support/bus/linuxPci.c
	hw/xfree86/os-support/linux/lnx_pci.c
	hw/xfree86/scanpci/Makefile.am
	hw/xfree86/utils/pcitweak/Makefile.am
	hw/xfree86/utils/scanpci/Makefile.am 
							
						 
						
							2006-12-08 17:24:15 -08:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								caaa113acf 
								
							 
						 
						
							
							
								
								Fixing domain support for ia64  
							
							... 
							
							
							
							ia64 specific functions + defines.
Still uses /proc interface for some scaning code.
Based on code from Egbert Eich <eich@freedesktop.org>. 
							
						 
						
							2006-11-03 18:59:51 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								5508f7646f 
								
							 
						 
						
							
							
								
								Remove prototypes from some functions that were previously removed.  
							
							
							
						 
						
							2006-08-08 16:43:31 -07:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								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 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								23f44df900 
								
							 
						 
						
							
							
								
								Remove pciConfigPtr and all of the associated cruft.  
							
							
							
						 
						
							2006-08-02 09:55:32 -07:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								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 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								0aaac95b0d 
								
							 
						 
						
							
							
								
								Remove RCS tags.  Fix Xprint makefile braindamage.  
							
							
							
						 
						
							2006-07-21 17:56:00 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								46f55f5dea 
								
							 
						 
						
							
							
								
								Initial batch of changes for PCI rework.  All future changes will be  
							
							... 
							
							
							
							tracked individually. 
							
						 
						
							2006-06-07 14:09:02 -07:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								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 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								8e8c6faecd 
								
							 
						 
						
							
							
								
								Add support for kFreeBSD systems. (Robert Millan, Aurelien Jarno)  
							
							
							
						 
						
							2006-06-03 10:48:37 +00:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								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 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								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 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								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 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								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 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								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 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								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 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								16c2499b8f 
								
							 
						 
						
							
							
								
								Bug  #2373 : SGI Altix platform support. (Shrijeet Mukherjee, Jesse Barnes,  
							
							... 
							
							
							
							Bjorn Helgaas, Egbert Eich.) 
							
						 
						
							2005-04-22 16:49:22 +00:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								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 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f77f1d5072 
								
							 
						 
						
							
							
								
								Apply PPC64 build patch (Bug  #303 , Mike A. Harris, Alan Coopersmith).  
							
							
							
						 
						
							2004-08-11 21:14:18 +00:00