Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 300001 Details for
Bug 437943
Xserver fails to configure itself correctly for Tiger4 systems
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fix the rom reading code to fallback to the older methods.
xorg-x11-server-1.1.1-fix-ia64-rom.patch (text/plain), 1.44 KB, created by
Dave Airlie
on 2008-04-02 01:51:05 UTC
(
hide
)
Description:
fix the rom reading code to fallback to the older methods.
Filename:
MIME Type:
Creator:
Dave Airlie
Created:
2008-04-02 01:51:05 UTC
Size:
1.44 KB
patch
obsolete
>diff -up xorg-server-1.1.1/hw/xfree86/os-support/bus/linuxPci.c.ia64-rom xorg-server-1.1.1/hw/xfree86/os-support/bus/linuxPci.c >--- xorg-server-1.1.1/hw/xfree86/os-support/bus/linuxPci.c.ia64-rom 2008-04-02 10:20:23.000000000 +1000 >+++ xorg-server-1.1.1/hw/xfree86/os-support/bus/linuxPci.c 2008-04-02 11:09:36.000000000 +1000 >@@ -765,33 +765,11 @@ xf86ReadDomainMemory(PCITAG Tag, ADDRESS > char file[256]; > struct stat st; > >- dom = PCI_DOM_FROM_TAG(Tag); >- bus = PCI_BUS_NO_DOMAIN(PCI_BUS_FROM_TAG(Tag)); >- dev = PCI_DEV_FROM_TAG(Tag); >- func = PCI_FUNC_FROM_TAG(Tag); >- sprintf(file, "/sys/bus/pci/devices/%04x:%02x:%02x.%1x/rom", >- dom, bus, dev, func); >- >- /* >- * If the caller wants the ROM and the sysfs rom interface exists, >- * try to use it instead of reading it from /proc/bus/pci. >- */ >- if (((Base & 0xfffff) == 0xC0000) && (stat(file, &st) == 0)) { >- if ((fd = open(file, O_RDWR))) >- Base = 0x0; >- >- /* enable the ROM first */ >- write(fd, "1", 2); >- lseek(fd, 0, SEEK_SET); >- >- /* copy the ROM until we hit Len, EOF or read error */ >- for (i = 0; i < Len && read(fd, Buf, 1) > 0; Buf++, i++) >- ; >- >- write(fd, "0", 2); >- close(fd); >- >- return Len; >+ /* if the caller is looking for the BIOS */ >+ if ((Base & 0xfffff) == 0xC0000) { >+ size = linuxPciHandleBIOS(Tag, 0, Buf, Len); >+ if (size > 0) >+ return size; > } > > /* Ensure page boundaries */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 437943
:
298371
|
298541
|
299985
| 300001