Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b7d0640f9229a9426ba9223796329c4f0cc4acb9
Commit:     b7d0640f9229a9426ba9223796329c4f0cc4acb9
Parent:     9a4c8546f3e7c893888bccc2b3416d6214f2664a
Author:     Stuart Bennett <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 8 13:13:28 2008 +0000
Committer:  Dave Airlie <[EMAIL PROTECTED]>
CommitDate: Tue Feb 19 14:44:32 2008 +1000

    agp/sis: Clear bit 2 from aperture size byte as well
    
    SiS M650 has aperture size byte 0x44
    
    Signed-off-by: Dave Airlie <[EMAIL PROTECTED]>
---
 drivers/char/agp/sis-agp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c
index eb1a1c7..aaa1883 100644
--- a/drivers/char/agp/sis-agp.c
+++ b/drivers/char/agp/sis-agp.c
@@ -27,8 +27,8 @@ static int sis_fetch_size(void)
        values = A_SIZE_8(agp_bridge->driver->aperture_sizes);
        for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) {
                if ((temp_size == values[i].size_value) ||
-                   ((temp_size & ~(0x03)) ==
-                    (values[i].size_value & ~(0x03)))) {
+                   ((temp_size & ~(0x07)) ==
+                    (values[i].size_value & ~(0x07)))) {
                        agp_bridge->previous_size =
                            agp_bridge->current_size = (void *) (values + i);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to