search for: pci_readb

Displaying 6 results from an estimated 6 matches for "pci_readb".

Did you mean: pci_readl
2008 Jun 11
0
[PATCH] pci: fix off-by-one error and introduce MAX_PCI_FUNC
...dev++) { - maxfunc = 0; - for (func = 0; func <= maxfunc; func++) { + for (dev = 0; dev < MAX_PCI_DEVICES; dev++) { + maxfunc = 1; + for (func = 0; func < maxfunc; func++) { a = pci_mkaddr(bus, dev, func, 0); did = pci_readl(a); @@ -374,7 +374,8 @@ hdrtype = pci_readb(a + 0x0e); if (hdrtype & 0x80) - maxfunc = 7; /* Multifunction device */ + /* Multifunction device */ + maxfunc = MAX_PCI_FUNC; rid = pci_readb(a + 0x08); sid = pci_readl(a + 0x2c); @@ -401,7 +402,7 @@ } /* Detecting pci buses that have pci devices connected */ - for (b...
2010 Nov 19
1
[PATCH] i915resolution: add id for GM45 chipset
...; + case 0x2a408086: + type = CT_GM45; + break; + default: type = CT_UNKWN; break; @@ -477,6 +481,7 @@ static void unlock_vbios(vbios_map * map) case CT_945GME: case CT_946GZ: case CT_G965: + case CT_GM45: case CT_Q965: map->b1 = pci_readb(0x80000091); map->b2 = pci_readb(0x80000092); @@ -515,6 +520,7 @@ static void relock_vbios(vbios_map * map) case CT_945GME: case CT_946GZ: case CT_G965: + case CT_GM45: case CT_Q965: pci_writeb(map->b1, 0x80000091); pci_writeb(map->b2, 0x80000092); @@ -740,7 +7...
2010 May 10
5
GFX Passthrough
Hi List, many People seem to be interested in the Graphic-Card Passthrough Feature (for more or less obvious reasons). Official Support is still under development, and i hope not to interfere with it in any (bad) way ... But i remember my own painfull and timeconsuming research when i wanted this feature to work, so i thought perhaps this spares some time for the unpatient users like me :)
2012 Feb 11
14
[PATCH v3 0/5] hvmloader: Make ROM dependencies optional
This patch set mainly allows the user to build a seabios or rombios only version of hvmloader. In addition, when building a seabios only hvmloader, Option ROMs like vgabios and etherboot are no longer required, and therefore can be disabled from the build. Dependency on the bcc compiler can also be avoided the same way. v2: Separate patches for separate issues Introduced config option to
2011 May 18
90
Patches for VGA-Passthrough XEN 4.2 unstable
Hello, I have been working on VGA-passthrough in the last month. When Xen was at his version 3.5 there was a few patches to make this work for some graphic cards using the patches developed by Han Weidong and posted here (http://lists.xensource.com/archives/html/xen-devel/2009-08/msg01176.html) and the same patches posted file by file are here
2011 May 18
90
Patches for VGA-Passthrough XEN 4.2 unstable
Hello, I have been working on VGA-passthrough in the last month. When Xen was at his version 3.5 there was a few patches to make this work for some graphic cards using the patches developed by Han Weidong and posted here (http://lists.xensource.com/archives/html/xen-devel/2009-08/msg01176.html) and the same patches posted file by file are here