- 27 Dec, 2004 4 commits
-
-
Jeff Garzik authored
into pobox.com:/garz/repo/libata-2.6
-
Albert Lee authored
After some testing, it seems that some PATA host adapter (ex. pdc20275) cannot work reliably with specific request buffer sizes under ATAPI DMA mode. Detailed test result: 4096, 2048, 1024, 512, 256: OK 384, 257, 255, 128, 96, 64, 32: failed (irq lost) It seems multiple of 256 bytes are the safe ATAPI DMA buffer sizes to use. Attached please find the patch to fix the pdc2027x ATAPI DMA problem. Changes: 1. Add a callback function "check_atapi_dma()" to ata_port_operations such that libata core can ask the driver: "Can this command be processed in ATAPI DMA mode safely? " when the the command is received. 2. ATAPI DMA is off by default if the callback function is not provided by the driver If the callback function is not provided by the driver, the ATAPI DMA should be as is. The ATAPI DMA is already controlled by dev->flags. BTW, the patch isolates the ATAPI DMA workaround to the pdc20275 driver itself, not impacting libata core . Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
-
Albert Lee authored
Tested burning CD-RW with libata-dev-2.6 and cdrecord: 1. ATAPI DMA mode - tested OK 2. ATAPI PIO mode - test failed when cdrecord finishes burning and issues MODE_SELECT to the device. After checking the log, it showed that MODE_SELECT caused ata_pio_complete() to return error. However, the error is not handled by ata_pio_task(). Attached please find the patch for ata_pio_task() error handling for your review. (The patch is against the libata-dev-2.6 tree. ) Changes in the patch: 1. End the PIO task when PIO_ST_IDLE state is entered 2. End the PIO task after PIO_ST_TMOUT and PIO_ST_ERR state handled by ata_pio_error() 3. Remove the first "if" statement to handle the error condition returned from ata_pio_block(), ata_pio_complete() and ata_pio_poll(). Change #2 is not so necessary since ata_pio_error() will put the cmd to PIO_ST_IDLE state after the error condition is handled. The change just saves a function call to queue_work(). Tested OK on on my machine with pdc20275 and ASUS CD-RW drive. Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
-
Albert Lee authored
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
-
- 26 Dec, 2004 10 commits
-
-
Alan Cox authored
Originally submitted by Mike Waychison <Michael.Waychison@sun.com> in August but apparently lost. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
SCSI ioctls can ask for a lot of memory and fail. We don't need to vomit in the log file for this case. Again taken from the Red Hat minor patches applied for FC3. Original-patch: Arjan van de Ven <arjanv@redhat.com> Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Paul Laufer informed the list that he had changed address and his change of address had been ignored so CREDITS was still wrong although other files had been updated. Fix this. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Red Hat got some confused customers due to this message. The confused user case is when they update the BIOS and all of a sudden we have "no suitable data" yet we did before. We (Arjan van de Ven) thus changed it to "No new microcode" which is much much clearer. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Add some more funky AC97 knowledge to the intel8x0 driver. These come from Red Hat and its partners and are included in our shipping code. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://linux-dj.bkbits.net/agpgartLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://gkernel.bkbits.net/net-drivers-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Jeff Garzik authored
into pobox.com:/garz/repo/net-drivers-2.6
-
Jeff Garzik authored
into pobox.com:/garz/repo/net-drivers-2.6
-
Jeff Garzik authored
into pobox.com:/garz/repo/net-drivers-2.6
-
- 25 Dec, 2004 1 commit
-
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
- 24 Dec, 2004 6 commits
-
-
Linus Torvalds authored
Merry Christmas everyone. Ho ho ho!
-
Linus Torvalds authored
rth tells me that some versions of gcc may end up using the SSE registers for data movement when you do that. Use "-march=i686 -mtune=xxxx" instead. (We do the same thing for march=pentium2/4 too, just for consistency).
-
Dmitry Torokhov authored
evdev, joydev, mousedev, tsdev - remove class device and devfs entry when hardware driver disconnects instead of waiting for the last user to drop off. This way hardware drivers can be unloaded at any time. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Vladimir Saveliev authored
This patch adds missing lock_kernel()/unlock_kernel() pair in reiserfs_get_dentry Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
mm/rmap.c contains an open-coded reference to swap_token_default_timeout Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jens Axboe authored
CFQ v2 has some spare queue logic that was never enabled. It has an SMP deadlock because it attempts to regrab the queue lock in the exit path, so kill the spare queue stuff completely for 2.6.10. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 23 Dec, 2004 3 commits
-
-
Andrew Morton authored
switch_uid() doesn't care about tasklist_lock, so do it outside the lock and avoid a subtle (and very very unlikely to trigger) AB-BA deadlock. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesper Juhl authored
This fixes a build failure with gcc-3.4.1, where we use some functions before we define them inline. The simple way to fix those is to simply un-inline the functions in question. Since they are somewhat large that's what I did. An alternative would be to rework the ordering of the file so the functions are defined before their first use. Signed-off-by: Jesper juhl <juhl-lkml@dif.dk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://linux.bkbits.net/linux-2.5Nathan Scott authored
into oss.sgi.com:/oss4/bitkeeper/xfs-linux-2.6
-
- 22 Dec, 2004 8 commits
-
-
Dave Jones authored
agp=off disabled the agpgart driver, but not the chipset specific drivers, which still did their init routines. Chaos ensued. Signed-off-by: Dave Jones <davej@redhat.com>
-
Dave Jones authored
From: Peer.Chen@uli.com.tw Signed-off-by: Dave Jones <davej@redhat.com>
-
bk://gkernel.bkbits.net/libata-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Jeff Garzik authored
Remove ATA_FLAG_SATA_RESET. See comment in code and http://bugme.osdl.org/show_bug.cgi?id=3352 for more details. This problem needs more investigation. Removing the flag appears to fix the problems in the field, so it's the best temporary solution.
-
Greg Kroah-Hartman authored
I missed this in the previous usb_kill_urb() cleanup. Thanks to Pat Mochel for reporting this. Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Greg Kroah-Hartman authored
This is the patch to fix the case when snd_padding is not zero, updated according to Duncan's comments. Also it changes the driver name to reflect its generic nature. Signed-off-by: Roman Kagan <rkagan@mail.ru> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Moxa have released several driver updates now including support up to 2.6.8 but don't themselves feel its worth the effort of doing a cleaned up merge for the base kernel. So I pulled their latest driver release (1.8) and removed all the macro gunge that makes it build on 2.2.0->2.6.8. I then fixed it to run on 2.6.9/10 and fixed a bug in the break handling. It still doesn't do PCI hotplug but I don't have any PCI moxa cards to really tackle that particular case. I've also merged Adriank Bunk's two 'could be static' changes into this diff set. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Takashi Iwai authored
Fix suggested by Benjamin Herrenschmidt <benh@kernel.crashing.org> On architectures like PPC, char is handled as "unsigned char", thus the pcm_format_data table entries with -1 give a positive 255. This results in Oops with OSS-emulation on such architectures. The patch simply adds the right signed/unsigned prefix to fix this problem. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 21 Dec, 2004 8 commits
-
-
Dave Jones authored
Spotted by MASAO TAKAHASHI Signed-off-by: Dave Jones <davej@redhat.com>
-
Greg Kroah-Hartman authored
This fixes a warning when resuming the USB EHCI host controller driver. From: David Brownell <david-b@pacbell.net> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Con Kolivas authored
It's causing a few as-yet-not-understood problems. So make a zero value of /proc/sys/vm/swap_token_timeout disable the feature, and make the default be zero. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Roland McGrath authored
This patch reverts the additions of an ABI supporting thread and process CPU clocks in the posix-timers code. This returns us to 2.6.9's condition, there is no support for any new clockid_t values for process CPU clocks. This also fixes the return value for clock_nanosleep when unsupported (I think this is used only by sgi-timer at the moment). The POSIX-specified code for valid clocks that don't support the sleep operation is ENOTSUP. On most architectures the kernel doesn't define ENOTSUP and this name is defined in userland the same as the kernel's EOPNOTSUPP. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Russell King authored
-
George G. Davis authored
Patch from George G. Davis Just a quick update for integrator_defconfig so it builds a useable kernel. These may not be ideal settings for all users but allows building kernels for the Integrator AP which basically work "out of the box". Signed-off-by: George G. Davis Signed-off-by: Russell King
-
Holger Freyther authored
Patch from Holger Hans Peter Freyther This patch adds installation of flash devices and partition from within simpad.c . The information of extracted from the old sa1100 flash map. Signed-off-by: Holger Hans Peter Freyther Signed-off-by: Russell King
-