summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/bus/xf86Pci.h
AgeCommit message (Collapse)AuthorFilesLines
2009-02-16Build fix, remove export of pciBusAddrToHostAddrChris Ball1-1/+0
a9d7d659.. (PCI: Remove pciBusAddrToHostAddr and associated nonsense) removes pciBusAddrToHostAddr(), but not its prototype, resulting in: ./.libs/libxorg.a(sdksyms.o):(.data.rel+0xe64): undefined reference to `pciBusAddrToHostAddr' Signed-off-by: Chris Ball <cjb@laptop.org>
2008-12-03Rework symbol visibility for easier maintenancePaulo Cesar Pereira de Andrade1-5/+5
Save in a few special cases, _X_EXPORT should not be used in C source files. Instead, it should be used in headers, and the proper C source include that header. Some special cases are symbols that need to be shared between modules, but not expected to be used by external drivers, and symbols that are accessible via LoaderSymbol/dlopen. This patch also adds conditionally some new sdk header files, depending on extensions enabled. These files were added to match pattern for other extensions/modules, that is, have the headers "deciding" symbol visibility in the sdk. These headers are: o Xext/panoramiXsrv.h, Xext/panoramiX.h o fbpict.h (unconditionally) o vidmodeproc.h o mioverlay.h (unconditionally, used only by xaa) o xfixes.h (unconditionally, symbols required by dri2) LoaderSymbol and similar functions now don't have different prototypes, in loaderProcs.h and xf86Module.h, so that both headers can be included, without the need of defining IN_LOADER. xf86NewInputDevice() device prototype readded to xf86Xinput.h, but not exported (and with a comment about it).
2008-10-03Remove unused pciNumBusesAdam Jackson1-2/+0
2007-01-24Move xf86ReadLegacyBIOS to the one place that uses it.Ian Romanick1-1/+0
xf86ReadLegacyBIOS is only used by one function in int10/generic.c. Move a generic implementation of that function there, rename it to read_legcay_BIOS, and delete all remnants of it from all other places.
2007-01-15Fix domain insanity.Ian Romanick1-1/+1
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-12Remove prototype for pciGetBaseSize.Ian Romanick1-1/+0
2007-01-12Eliminate pciHostAddrToBusAddr from interface.Ian Romanick1-1/+0
pciHostAddrToBusAddr is no longer used anywhere in the tree. Remove it with extreme prejudice.
2007-01-11Convert int10 and vgaHW to use 'struct pci_device' instead of PCITAG.Ian Romanick1-3/+3
Convert all uses of PCITAG in int10 and vgaHW to 'struct pci_device'. This allows the conversion of xf86ReadLegacyVideoBIOS and xf86MapDomainMemory to 'struct pci_device' from PCITAG.
2006-08-08Rename xf86ReadDomainMemory to xf86ReadLegacyVideoBIOS, since that'sIan Romanick1-2/+1
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-02Remove pciConfigPtr and all of the associated cruft.Ian Romanick1-513/+1
2006-07-31Eliminate all uses of the businfo field of pciDevice / pciConfigPtr.Ian Romanick1-1/+0
2006-07-25Gut anything having to do with the PciBusPtr (or PciBusRec) type.Ian Romanick1-3/+0
Bump required version of libpciaccess to 0.5.0 so that pci_device_get_bridge_buses can be used.
2006-07-25Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into ↵Ian Romanick1-1/+0
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-24Global s/xf86MapDomainIO/xf86MapLegacyIO/. Let's call a duck a duck,Ian Romanick1-2/+1
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-21Remove RCS tags. Fix Xprint makefile braindamage.Adam Jackson1-1/+0
2006-06-07Initial batch of changes for PCI rework. All future changes will beIan Romanick1-18/+3
tracked individually.
2006-05-18Bug #4139: Fix a BAR remapping bug that could lead to IERR and system hang.Adam Jackson1-0/+1
(Egbert Eich)
2006-02-21Eliminate unused PCI BIOS reading functionality. The old code used severalIan Romanick1-6/+1
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-20Eliminate all the code for querying the PCI class from the PCI ID database.Ian Romanick1-1/+0
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.
2005-08-24Remove use of dix-config and xorg-config.h from public headers.Daniel Stone1-4/+0
2005-07-03Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h".Daniel Stone1-1/+1
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone1-0/+4
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-01Change all misc.h and os.h references to <X11/foo.h>.Daniel Stone1-1/+1
2005-04-20Fix includes right throughout the Xserver tree:Daniel Stone1-2/+2
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-11Correct the mask bits when checking for a 64bit memory base in PCI configEgbert Eich1-1/+1
space (bugzilla #2963).
2005-01-25Fix interpretation of 64bit PCI bases: read hi long word from the right barEgbert Eich1-1/+1
(Michael Yaroslavtsev, Bugzilla #2322).
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley1-8/+28
2003-11-14Initial revisionKaleb Keithley1-0/+787