| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
The former has a series of defines which in some cases are crusial to be
set before including any system headers.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
|
|
|
|
|
|
|
| |
In some cases the header may not exist, leading to compilation issues.
Add the ifdef HAVE_CONFIG_H, as it is those in other parts of the
project.
[Emil Velikov: Split out from a larger commit, rework commit message]
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
|
|
|
|
|
|
| |
Well, almost all of them. zlib doesn't support "e" in the mode string
in gzopen() though it will silently accept and ignore it, and Solaris appears
not to support "e" in the mode string at all.
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an include that makes the file common_vgaarb.c see the same
struct pci_system as the file linux_sysfs.c.
Without this fix, on a MTRR system, the vgaarb_fd member
would overwrite the mtrr_fd member and cause the MTRR_IOC_ADD_ENTRY call
to be issued to the incorrect device causing the infamous
"Inappropriate ioctl for device (25)" error.
This error would cause MTRR setup to fail on all systems relying on it
and is severe enough to warrant a new release.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
|
|
|
|
|
| |
Decode kernel operation can also change vga refcount, so we need to read back
the information when calling it.
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
|
|
|
|
|
|
| |
This was introduced in e360c11c.
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
|
| |
|
|
|
|
|
|
| |
Eh, we don't need to check for the fd anyway. Kudos jcristau for reporting.
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
|
|
|
|
| |
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
|
| |
|
|
|
|
| |
This reverts commit ef8aca5da46155e9ea0d1227215921ad9ce59150.
|
|
|
|
| |
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
|
|
|
|
| |
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
|
| |
|
|
|
|
|
|
| |
add a comma for ease of parsing,
use hex on the interface in both directions instead of hex on one
and decimal on the other
|
|
|
|
|
|
|
|
| |
working on the target device - a target device of NULL
reselects the target that existed when we started.
this is mainly to allow a udev posting tool to return to the
state of what happened before it ran.
|
| |
|
| |
|
|
|
|
|
| |
decodes is a information setting interface so it takes new decodes
and sends them to the kernel
|
|
|
|
|
|
|
|
|
| |
This fixes up the API and stores the vga arb fd in the sys_pci structure,
instead of hiding it in a random dev struct.
It also reads back after setting the target and works out the decodes.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
http://git.c3sl.ufpr.br/
|