- 27 Dec, 2002 9 commits
-
-
Greg Kroah-Hartman authored
change dev_set_drvdata() and dev_get_drvdata() to usb_set_intfdata() and usb_get_intfdata()
-
Greg Kroah-Hartman authored
change dev_set_drvdata() and dev_get_drvdata() to usb_set_intfdata() and usb_get_intfdata()
-
Greg Kroah-Hartman authored
change dev_set_drvdata() and dev_get_drvdata() to usb_set_intfdata() and usb_get_intfdata()
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/linux/BK/gregkh-2.5
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
Also added usb_get_intfdata() and usb_set_intfdata() functions to set the struct usb_interface private pointer easier.
-
Pablo Menichini authored
This patch tries to check the return value of kmalloc taking the necesary action to solve the problem.
-
dmitri@users.sourceforge.net authored
> > Ultracam was derived from ibmcam and probably copied the list of > > parameters too. IBM cameras have this parameter, and use it. > > This means that it says "MODULE_PARM(lighting, "i");" and there is no > variable called lightening. The new module code is stricter about > this. Someone please fix. Here is the patch for 2.5.53. It removes parameters that have no use in the ultracam driver (and they were broken anyway).
-
David Brownell authored
Attached is a patch leveraging some of the new generic dma stuff: - Replaces dma mapping calls in usbcore with generic equivalents. This is a minor code shrink (which we'd hoped could happen). - Pass dma mask along, so net drivers can notice it'd be good to set NETIF_F_HIGHDMA; or scsi ones can set highmem_io. (Some Intel EHCI setups are able to support this kind of DMA.) - Updates one net driver (usbnet) to set NETIF_F_HIGHDMA when appropriate, mostly as an example (since I can't test this). - Provides Documentation/usb/dma.txt, describing current APIs. (Unchanged by this patch, except dma mask visibility.) - Converted another info() to dev_info(), and likewise a couple dbg() to dev_dbg() conversions in the modified routine. The number of FIXMEs was conserved: the generic API doesn't yet fix the error reporting bugs in the PCI-specific mapping API.
-
- 26 Dec, 2002 15 commits
-
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
This is to access the private pointer in struct usb_serial
-
Greg Kroah-Hartman authored
[PATCH] USB: fix up the usb-serial drivers due to the removal of the struct usb_serial_port private pointer.
-
Greg Kroah-Hartman authored
The struct device pointer should be used instead.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Pavel Machek authored
-
Linus Torvalds authored
as "offsetof pp->entries". Which happens to be true on 32-bit platforms, but not on 64-bit ones. From Anton Blanchard.
-
- 24 Dec, 2002 4 commits
-
-
Ingo Molnar authored
In vm86 mode we did not save/restore %gs [and %fs] properly, which breaks new-style threading.
-
Linus Torvalds authored
on x86 - the kernel doesn't really care (as long as it's all flat 32-bit), and it means that the return path for sysenter/sysexit can avoid re-loading the segment registers. NOTE! This means that _all_ kernel code (not just the sysenter path) must be appropriately changed, since the kernel knows the conventions and doesn't save/restore DS/ES internally on context switches etc.
-
Linus Torvalds authored
-
Ganesh Varadarajan authored
The ActiveSync USB "protocol" seems to be the same for all WinCE devices seen so far. So it seems reasonable to pre-emptively support all devices which work with ActiveSync.
-
- 23 Dec, 2002 12 commits
-
-
Linus Torvalds authored
-
Linus Torvalds authored
-
bk://linux-scsi.bkbits.net/scsi-for-linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
and make the alignment of the return point be saner.
-
ssh://mulgrave-w/BK/scsi-misc-2.5James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5
-
http://linux-scsi.bkbits.net/scsi-aic7xxx-2.5James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5
-
Willem Riede authored
Here is my proposal for bringing ide-scsi in line with the current kernel. The attached patch does: 1. Change from old style initialization to the new hotplug initialization model. It involves declaring both a parent device and bus kernel object, which feels a bit awkward, but hey, it works. 2. Make ide-scsi request sense itself when CHECK_CONDITION is asserted. This change particularly makes ide-scsi run much smoother on my test box. 3. Implement eh_abort_handler and eh_device_reset_handler. I have no real way to thoroughly test these new routines, so for this part particularly I ask for peer review.
-
James Bottomley authored
-
Douglas Gilbert authored
This patch uses the module_param() facility introduced in lk 2.5.52 (see linux/moduleparam.h) to simplify boot time and module load time parameters for the scsi_debug driver. The intent of module_param() is to unify - boot time parameters - module load time parameters - sysfs driver parameters into a few simple calls (seen from the driver's point of view). The sysfs capability hasn't been implemented yet. Using module_param() removes over 100 lines of boilerplate code from the scsi_debug driver. Following the conventions suggested by Rusty, scsi_debug's kernel boot time options have been changed to this form: scsi_debug.num_devs=2 while the module load options are now like this: modprobe scsi_debug num_devs=2 This patch also updates the Kconfig entry for the scsi_debug driver.
-
James Bottomley authored
-
Christoph Hellwig authored
On Fri, Dec 20, 2002 at 08:29:23PM -0500, Doug Ledford wrote: > And I was right. One little q = NULL; is all that was missing. Anyway, > here's a printout of what startup looks like with this patch in place > under 2.5.52. This should make you happy Justin ;-) Okay, I looked at the patches that are in mainline and they look pretty cool to me. When looking over the code (in preparation of implementing Justin's suggestion to get rid of the highmem_io flag) I found quite a bit small stuff to make the code in that area a lot cleaner: - new helper scsi_calculate_bounce_limit to calculate the bounce limit for a scsi host, remove a copy of that code ni st.c - scsi_initialize_queue gets replace with scsi_alloc_queue, this one now takes only a struct Scsi_Host and returns the request queue, it's paired with a small scsi_free_queue helper. Diffstat: hosts.h | 3 - scsi.c | 43 ---------------------- scsi.h | 1 scsi_scan.c | 113 ++++++++++++++++++++++++++++++++++-------------------------- scsi_syms.c | 5 ++ st.c | 16 +------- 6 files changed, 73 insertions(+), 108 deletions(-)
-