Red Hat Bugzilla – Bug 1456
XF86DGA is broken on alpha
Last modified: 2008-05-01 11:37:49 EDT
XF86DGA tries to mmap the PCI-bus physical address (32 bit),
but it's wrong on alphas. We should add dense memory base
address to the PCI-bus offset to get correct mapping.
------- Email Received From "Ivan N. Kokshaysky" <email@example.com> 03/09/99 06:12 -------
This has been assigned to a developer for further review.
This is the supposid fix.. enjoy, rog
[root@aphrodite Xxf86dga]# diff XF86DGA.c XF86DGA.c.orig
< /* Alpha Patch by Georg Acher, firstname.lastname@example.org */
< extern unsigned long _bus_base(void); /* GA */
< MAP_FILE | MAP_SHARED, fd,
> MAP_FILE | MAP_SHARED, fd, (off_t)offset);
The patch looks good. This fix has been applied in RawHide, and will
be made officially available in the next release of Red Hat Linux.
Still broken in 6.0...
Quoted from XFree86-22.214.171.124.spec:
# the following patch is incomplete..broken..and thus commented out.
#%patch61 -p1 -b .alphadga
I'm afraid the wrong patch sneaked into srpm,
and I'll send another one later today.
This will be fixed in the forthcoming errata release of 3.3.5.