I have tried xorg-server-1.5.2 on loongson 2f recently.
But I found it doesn't work.
It's mainly because of this change:
"Rather than duplicating the efforts of kernel developers, X.org needs to use
interfaces provided by the kernel as much as possible."
I have read some code of libpciaccess, the new library utilizing kernel function
to access pci bus. It will try to mmap this file:
(replace x with any digit appropriate)
Note there is a 0 at the end of the file name. This file's permission is 600.
However, I found on my loongson system, there is only
Note there is no 0 at the end.
Then I tried to read kernel code. I found it seems that for mips linux to have
this file, HAVE_PCI_MMAP must be defined. However, it is currently not defined.
Since I am not familiar with PCI, yet.
So could someone please shed some light on this?
Why HAVE_PCI_MMAP is not defined?
Thanks in advance!