- 06 Jan, 2003 3 commits
-
-
Bjorn Helgaas authored
This removes the agpgart assumption that memory is contiguous.
-
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.
-
Dave Jones authored
-
- 05 Jan, 2003 37 commits
-
-
Dave Jones authored
into tetrachloride.(none):/mnt/stuff/kernel/2.5/agpgart
-
Linus Torvalds authored
-
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.
-
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.
-
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.
-
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.
-
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.
-
Michael Still authored
-
Chris Wilson authored
-
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.
-
Bob Miller authored
-
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.
-
Rusty Russell authored
Since it looks like Linus isn't going to rip the code out...
-
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.
-
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.
-
Michael Still authored
-
Michael Still authored
-
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.
-
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.
-
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().
-
Greg Ungerer authored
Remove use of depricated linux/malloc.h from 68360serial driver.
-
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.
-
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.
-
Rusty Russell authored
x86 always seems to include asm/page.h, PPC (and presumably others) don't.
-
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.
-
Pablo Menichini authored
-
Bob Miller authored
-
Geert Uytterhoeven authored
Remove unused prototype for init_modules()
-
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.
-
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.
-
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.
-
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.
-
Michael Still authored
This patch fixes a small typo in the Xbox xpad USB driver config help
-
John Bradford authored
-
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.
-
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.
-
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.
-