1. 06 Jan, 2003 3 commits
    • Bjorn Helgaas's avatar
      [AGP] size AGP mem correctly when memory is discontiguous. · ba051c01
      Bjorn Helgaas authored
      This removes the agpgart assumption that memory is contiguous.
      ba051c01
    • Bjorn Helgaas's avatar
      [AGP] Remove bogus AGP/DRM assumptions · c6ce7bc9
      Bjorn Helgaas authored
      [Forward port of a 2.4 patch that got applied last month -- DJ] 
       
      AGP/DRM currently assume that GATT entries can be converted
      to physical addresses with a simple mask.  Additionally, agpgart
      assumes in a couple places that the mask is ~0xfff, i.e., that
      all the GART control bits are in the low 12 bits.  Both assumptions
      are bogus, so:
        
      Make agp_memory.memory[] (exported from agpgart to DRM) contain physical
      addresses, not GATT entries.
        
      DRM assumes agp_memory contains GATT entries, and it converts them to
      physical addresses with "paddr = agp_memory.memory[i] & mask".  460GX
      requires both a shift and a mask, so exporting plain physical addresses
      and a mask of ~0UL allows agpgart to add 460GX support without requiring
      DRM interface changes.
      c6ce7bc9
    • Dave Jones's avatar
      sync · bc6bb033
      Dave Jones authored
      bc6bb033
  2. 05 Jan, 2003 37 commits
    • Dave Jones's avatar
      Merge tetrachloride.(none):/mnt/stuff/kernel/2.5/bk-linus · be46fd81
      Dave Jones authored
      into tetrachloride.(none):/mnt/stuff/kernel/2.5/agpgart
      be46fd81
    • Linus Torvalds's avatar
      Needs <linux/string.h> for strlen() · 5103c926
      Linus Torvalds authored
      5103c926
    • Chris Wilson's avatar
      [PATCH] cli_sti in drivers_net_irda_sa1100_ir.c · 3ef4c758
      Chris Wilson authored
        As part of the Linux Kernel Janitors project, I would like to submit my
        patch for sa1100_ir.c.
      
        The document Documentation/cli-sti-removal.txt says that cli() should no
        longer be used to disable interrupts. This patch removes the last
        references to cli() and {save,restore}_flags, changing them to
        local_irq_save and local_irq_restore respectively.
      3ef4c758
    • William Stinson's avatar
      [PATCH] remove check_region from saphir.c · 036c90dc
      William Stinson authored
        This patch for saphir.c isdn driver for Linux removes one call to
        check_region using request_region instead
      
        I don't have this hardware so patch is not tested at all (I hope I got
        it right).  This patch removes all references to check_region in this
        driver.
      
        This is patch number 11 in a series of check_region patches I am doing
        as part of the kernel janitors project.
      036c90dc
    • Chris Wilson's avatar
      [PATCH] drivers_sgi_char_usema.c misc_register patch · ce641b88
      Chris Wilson authored
        As part of my work on the Linux Kernel Janitors project, cleaning up on
        functions which call misc_register and don't check for an error
        return, I would like to submit my patch to drivers/sgi/char/usema.c
      
        This module did not check the return code of misc_register. I found Uttam
        Pawar's patch for this on GeoCrawler
        (http://www.geocrawler.com/archives/3/9221/2002/8/0/9246517/), but it
        doesn't appear to have been applied. This patch basically does exactly the
        same as his, so all credit is due to him.
      ce641b88
    • William Stinson's avatar
      [PATCH] remove check_region from Documentation_DocBook_videobook.tmpl · 90e34891
      William Stinson authored
        This patch for Documentation/DocBook/videobook.tmpl removes two
        references check_region in the documentation using request_region
        instead.
      
        This patch removes all references to check_region in videobook.tmpl
      
        This is patch number 29 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      90e34891
    • William Stinson's avatar
      [PATCH] remove check_region from nj_u.c · c474215e
      William Stinson authored
        This patch for isdn/hisax/nj_u.c driver for Linux removes one call to
        check_region using request_region instead.
      
        I don't have this hardware so I hope I got it right.  This patch
        removes all references to check_region in this driver.
      
        This is patch number 15 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      c474215e
    • Michael Still's avatar
      [PATCH] misc_register-007-005 · 9d4e7cce
      Michael Still authored
      9d4e7cce
    • Chris Wilson's avatar
      ddba7f15
    • William Stinson's avatar
      [PATCH] remove check_region from sportster.c · b518f748
      William Stinson authored
        This patch for sportster.c isdn driver for Linux removes one call to
        check_region using request_region instead
      
        I don't have this hardware so patch is not tested at all (I hope I got
        it right).  This patch removes all references to check_region in this
        driver.
      
        This is patch number 10 in a series of check_region patches I am doing
        as part of the kernel janitors project.
      b518f748
    • Bob Miller's avatar
      1c677d70
    • William Stinson's avatar
      [PATCH] remove check_region from drivers_isdn_hisax_bkm_a8.c · 02c03412
      William Stinson authored
        This patch for driver drivers/isdn/hisax/bkm_a8.c for Linux removes
        one call to check_region using request_region instead.
      
        I don't have this hardware so I hope I got it right.  This patch
        removes all references to check_region in this driver.
      
        This is patch number 22 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      02c03412
    • Rusty Russell's avatar
      [PATCH] Update MAINTAINERS for modules · f94299fe
      Rusty Russell authored
        Since it looks like Linus isn't going to rip the code out...
      f94299fe
    • Chris Wilson's avatar
      [PATCH] drivers_macintosh_via-pmu_.c · 46ac060e
      Chris Wilson authored
        As part of my work on the Linux Kernel Janitors project, cleaning up on
        functions which call misc_register and don't check for an error
        return, I would like to submit my patch to drivers/macintosh/via-pmu*.c.
      
        There is one call in each file which calls misc_register without checking
        the return value. The attached patch should fix that.
      46ac060e
    • William Stinson's avatar
      [PATCH] remove check_region from drivers_isdn_hisax_avm_pci.c · f72704eb
      William Stinson authored
        This patch for drivers/isdn/hisax/avm_pci.c isdn driver removes one
        call to check_region using request_region instead
      
        I don't have this hardware so patch is not tested. This patch removes all
        references to check_region in this driver.
      
        This is patch number 24 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      f72704eb
    • Michael Still's avatar
      [PATCH] misc_register-029-004 · 9bd253df
      Michael Still authored
      9bd253df
    • Michael Still's avatar
      [PATCH] misc_register-008-004 · f1e747ff
      Michael Still authored
      f1e747ff
    • William Stinson's avatar
      [PATCH] remove check_region from fdc-io.c version 2 · 7d857c13
      William Stinson authored
        This is version 2 of my proposed patch for fdc-io.c tape driver for
        Linux.  It
      
        	1) removes three calls to check_region using request_region instead.
        	2) in case of fatal error calls release_region to liberate region
      	   resources already allocated (as pointed out by Matthew Wilcox my
      	   first patch wasn't doing that)
      
        Remark regarding allocation of regions in this driver:
      
        If BROKEN_FLOPPY_DRIVER is defined the driver keeps going even if it
        can't allocate one or more region resources.  The driver does not
        store information concerning which allocations succeeded and which
        failed.  When and if subroutine fdc_release_regions is called it will
        then try to release all regions it normally reserves.  I don't know if
        this could cause any trouble in some (rare) situations?
      
        I don't have this hardware so only compilation is tested.  This patch
        removes all references to check_region in this driver.
      
        This is patch number 13 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      7d857c13
    • William Stinson's avatar
      [PATCH] remove check_region from isdn_hisax_s0box.c · c825e747
      William Stinson authored
        This patch for isdn/hisax/s0box.c driver for Linux removes one call to
        check_region using request_region instead.
      
        I don't have this hardware so I hope I got it right.  This patch
        removes all references to check_region in this driver.
      
        This is patch number 14 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      c825e747
    • Chris Wilson's avatar
      [PATCH] perf.c misc_register patch · ec9167fe
      Chris Wilson authored
        As part of my work on the Linux Kernel Janitors project, cleaning up on
        functions which call misc_register and don't check for an error return, I
        would like to submit my patch to drivers/parisc/kernel/perf.c
      
        This patch simply causes the function to printk() an error and return the
        error code from misc_register() if it fails. I hope this is the right
        thing to do. I moved it slightly earlier in the function so I wouldn't
        have to worry about undoing the side effects of perf_patch_images().
      ec9167fe
    • Greg Ungerer's avatar
      [PATCH] remove malloc.h from 68328 serial driver · 263cd313
      Greg Ungerer authored
      Remove use of depricated linux/malloc.h from 68360serial driver.
      263cd313
    • William Stinson's avatar
      [PATCH] remove check_region from drivers_isdn_hisax_w6692.c · 22084c7e
      William Stinson authored
        This patch for driver drivers/isdn/hisax/bkm_a8.c for Linux removes
        one call to check_region using request_region instead.
      
        I don't have this hardware so I hope I got it right.  This patch
        removes all references to check_region in this driver.
      
        This is patch number 23 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      22084c7e
    • William Stinson's avatar
      [PATCH] remove check_region from drivers_isdn_hisax_teles0.c · 5b01c0f7
      William Stinson authored
        This patch for isdn/hisax/teles0.c driver for Linux removes one call
        to check_region using request_region instead.
      
        I don't have this hardware so I hope I got it right.  This patch
        removes all references to check_region in this driver.
      
        This is patch number 17 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      5b01c0f7
    • Rusty Russell's avatar
      [PATCH] Fix BUG() decl warning in smp.h for UP · 043bb619
      Rusty Russell authored
      x86 always seems to include asm/page.h, PPC (and presumably others)
      don't.
      043bb619
    • William Stinson's avatar
      [PATCH] remove check_region from drivers_isdn_hisax_enternow_pci.c · b43b48c0
      William Stinson authored
        This patch for drivers/isdn/hisax/enternow_pci.c driver for Linux
        removes one call to check_region using request_region instead.
      
        I don't have this hardware so I hope I got it right.  This patch
        removes all references to check_region in this driver.
      
        This is patch number 19 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      b43b48c0
    • Pablo Menichini's avatar
      73625a30
    • Bob Miller's avatar
      f9cc7a83
    • Geert Uytterhoeven's avatar
      [PATCH] Remove unused prototype for init_modules() · fead9145
      Geert Uytterhoeven authored
        Remove unused prototype for init_modules()
      fead9145
    • Michael Still's avatar
      [PATCH] cli_sti_removal-002 · 6772e076
      Michael Still authored
        This patch has been available fro review on the janitor's mailing list
        for some days without any negative comments (or comments for that
        matter).  This patch recitifies the use of the obsolete cli() and
        sti() calls.
      6772e076
    • William Stinson's avatar
      [PATCH] remove check_region from drivers_isdn_hisax_asuscom.c · 1cb11c4f
      William Stinson authored
        This patch for drivers/isdn/hisax/asuscom.c isdn driver for Linux
        removes one call to check_region using request_region instead
      
        I don't have this hardware so patch is not tested.  This patch removes
        all references to check_region in this driver.
      
        This is patch number 26 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      1cb11c4f
    • Chris Wilson's avatar
      [PATCH] ip27-rtc.c create_proc_read_entry patch · 73ef1072
      Chris Wilson authored
        As part of my work on the Linux Kernel Janitors project, cleaning up on
        functions which call create_proc_*_entry and don't check for an error
        return, I would like to submit my patch to arch/mips64/sgi-ip27/ip27-rtc.c.
      
        This patch adds a printk() if misc_register fails (since that causes the
        driver to fail to load, it should be logged somewhere), and checks that
        create_proc_read_entry returned a valid handle. ENOENT seems to me like a
        good error code to return in this case, although EBUSY is a candidate too.
      73ef1072
    • William Stinson's avatar
      [PATCH] remove check_region calls from drivers_telephony_ixj.c · e3ffd6b0
      William Stinson authored
        This patch for driver drivers/telephony/ixj.c for Linux removes four
        calls to check_region using request_region instead.
      
        I don't have this hardware so I hope I got it right.  This patch
        removes all but one reference to check_region in this driver.
      
        This is patch number 21 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      e3ffd6b0
    • Michael Still's avatar
      [PATCH] xpad_typo · 52d4c98e
      Michael Still authored
      This patch fixes a small typo in the Xbox xpad USB driver config help
      52d4c98e
    • John Bradford's avatar
      [PATCH] Fix two mis-spellings of 'kernel' · 1e6197e2
      John Bradford authored
      1e6197e2
    • William Stinson's avatar
      [PATCH] remove check_region from drivers_isdn_hisax_sedlbauer.c · 4c540864
      William Stinson authored
        This patch for isdn/hisax/sedlbauer.c driver for Linux removes one
        call to check_region using request_region instead.
      
        I don't have this hardware so I hope I got it right.  This patch
        removes all references to check_region in this driver.
      
        This is patch number 16 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      4c540864
    • Chris Wilson's avatar
      [PATCH] Kernel Janitors patch to drivers_macintosh_ans-lcd.c · 5c6e6c72
      Chris Wilson authored
        Working on the Linux Kernel Janitors project, and following up on Mikal
        Still's work there, I'd like to submit a patch for the Macintosh ANS
        LCD driver.
      
        I believe from Mikal's Patches page that his previous patch was rejected
        due to not cleaning up properly. I believe my patch addresses this issue,
        by calling iounmap() to free the IO remapping created by ioremap() earlier
        in the function, if the call to misc_register() fails for any reason.
      
        Unfortunately I don't know how to get this driver to compile on my
        machine, and therefore I can't even check that my patch compiles. If you
        can advise me how to set my machine up to dompile these drivers, then
        please get in touch =) I hope I didn't make any stupid mistakes in this
        patch either.
      5c6e6c72
    • William Stinson's avatar
      [PATCH] remove check_region in drivers_isdn_hisax_mic.c · 367635e2
      William Stinson authored
        This patch for drivers/isdn/hisax/mic.c driver for Linux removes one
        call to check_region using request_region instead.
      
        I don't have this hardware so I hope I got it right.  This patch
        removes all references to check_region in this driver.
      
        This is patch number 18 in a series of check_region patches I am doing as
        part of the kernel janitors project.
      367635e2