FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 06-10-2008, 03:10 AM
Julien Cristau
 
Default Bug#485528: pci-sysfs resourceN files are not available on all architectures

Package: libpciaccess,linux-2.6
Severity: important

the pci_device_map_range() function from libpciaccess which is used by
the X drivers to map pci BARs is implemented on linux using sysfs
resourceN files, which the kernel only creates on architectures where
HAVE_PCI_MMAP is defined. This is not the case for alpha, parisc, mips
and m68k, as far as I can tell. See pci_create_resource_files() in
linux/drivers/pci/pci-sysfs.c, and the respective include/asm-*/pci.h
headers.

This means that future versions of X (starting with xorg-server 1.5) are
not going to work on these architectures unless this is fixed. We need
to either get the kernel fixed, or fall back to mmaping /dev/mem in
libpciaccess.

Cheers,
Julien



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 03:55 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org