freebsd-ports/devel/libpciaccess/files/patch-src-pciaccess_private.h
Marius Strobl 38c027f72e Given that the x86-centric approach of mmap(2)'ing PCI memory via
mem(4) doesn't work on sparc64, revert to the pre-libpciaccess
approach of using the tty(4) device opened by the X server there.
Hopefully we have proper MI means of doing so one day.

Approved by:	flz
2009-03-31 20:19:04 +00:00

10 lines
452 B
C

--- src/pciaccess_private.h.orig 2008-10-11 18:31:00.000000000 +0000
+++ src/pciaccess_private.h 2009-03-29 20:07:50.000000000 +0000
@@ -136,6 +136,7 @@
extern int pci_system_linux_sysfs_create( void );
extern int pci_system_freebsd_create( void );
+extern void pci_system_freebsd_init_dev_mem( int );
extern int pci_system_netbsd_create( void );
extern int pci_system_openbsd_create( void );
extern void pci_system_openbsd_init_dev_mem( int );