Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 54716 Details for
Bug 84834
ati-drivers 8.10.19 does not build against 2.6.11 kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch I found at ati-bugzilla
p1.patch (text/plain), 1.47 KB, created by
Theofilos Intzoglou
on 2005-03-28 13:57:13 UTC
(
hide
)
Description:
The patch I found at ati-bugzilla
Filename:
MIME Type:
Creator:
Theofilos Intzoglou
Created:
2005-03-28 13:57:13 UTC
Size:
1.47 KB
patch
obsolete
> > >2005-03-02 22:32 diff -lu or.c agpgart_be.c Page 1 > > >--- or.c 2005-01-31 19:50:00.000000000 +0200 >+++ agpgart_be.c 2005-03-02 22:19:25.000000000 +0200 >@@ -261,6 +261,12 @@ > #define firegl_pci_find_class(class,from) pci_find_class(class,from) > #endif > >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11) >+#define firegl_pci_find_class(class,from) pci_get_class(class,from) >+#else >+#define firegl_pci_find_class(class,from) pci_find_class(class,from) >+#endif >+ > int agp_backend_acquire(void) > { > if (agp_bridge.type == NOT_SUPPORTED) { >@@ -4075,6 +4081,13 @@ > } > } > } >+ >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11) >+ // the reference count has been increased in agp_backend_initialize. >+ if (device) >+ pci_dev_put(device); >+#endif >+ > /* > * PASS3: Figure out the 8X/4X setting and enable the > * target (our motherboard chipset). >@@ -5283,6 +5296,12 @@ > pci_dev_put(device); > #endif > >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11) >+ // the reference count has been increased in agp_backend_initialize. >+ if (device) >+ pci_dev_put(device); >+#endif >+ > return(0); /* success */ > } > >@@ -7428,6 +7447,11 @@ > return rc; > } > >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11) >+ // decrease the reference count. >+ pci_dev_put(agp_bridge.dev); >+#endif >+ > if (agp_bridge.needs_scratch_page == TRUE) { > agp_bridge.scratch_page = agp_bridge.agp_alloc_page(); > > > > > > > >
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 84834
: 54716 |
54717
|
54718
|
54768