login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
10
Re: [PATCH] libata and starting/stopping ATAPI floppy devices
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Jeff Garzik
Subject:
Re: [PATCH] libata and starting/stopping ATAPI floppy devices
Date: Thursday, January 10, 2008 - 3:21 pm
Tejun Heo wrote:
quoted text
> From: Ondrej Zary <linux@rainbow-software.org> > > Prevent libata from starting/stopping non-ATA devices (like ATAPI floppy > drives) as they don't seem to like it: > > sd 1:0:1:0: [sdb] Starting disk > ata2.01: configured for PIO2 > sd 1:0:1:0: [sdb] Result: hostbyte=0x00 driverbyte=0x08 > sd 1:0:1:0: [sdb] Sense Key : 0x2 [current] > sd 1:0:1:0: [sdb] ASC=0x3a ASCQ=0x0 > > Signed-off-by: Ondrej Zary <linux@rainbow-software.org> > Signed-off-by: Tejun Heo <htejun@gmail.com> > --- > Trimmed message body and reformatted such that it's script friendly. > > drivers/ata/libata-scsi.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > --- linux-2.6.23-orig/drivers/ata/libata-scsi.c 2007-10-09 22:31:38.000000000 +0200 > +++ linux-2.6.23-pentium/drivers/ata/libata-scsi.c 2008-01-05 15:50:16.000000000 +0100 > @@ -802,7 +802,8 @@ > > blk_queue_max_phys_segments(sdev->request_queue, LIBATA_MAX_PRD); > > - sdev->manage_start_stop = 1; > + if (dev->class == ATA_DEV_ATA) > + sdev->manage_start_stop = 1; > > if (dev)
applied #upstream-fixes manually. not sure why git-am didn't like it, but patch(1) did. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] libata and starting/stopping ATAPI floppy devices
, Ondrej Zary
, (Sat Jan 5, 8:47 am)
Re: [PATCH] libata and starting/stopping ATAPI floppy devices
, Tejun Heo
, (Tue Jan 8, 7:41 pm)
Re: [PATCH] libata and starting/stopping ATAPI floppy devices
, Ondrej Zary
, (Wed Jan 9, 10:53 am)
[PATCH] libata and starting/stopping ATAPI floppy devices
, Tejun Heo
, (Wed Jan 9, 4:41 pm)
Re: [PATCH] libata and starting/stopping ATAPI floppy devices
, Jeff Garzik
, (Thu Jan 10, 3:21 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Kay Sievers
Re: char/tpm: tpm_infineon no longer loaded for HP 2510p laptop
Eric W. Biederman
[PATCH 8/8] sysfs: user namespaces: fix bug with clone(CLONE_NEWUSER) with fairsched
S K
Re: cpufreq doesn't seem to work in Intel Q9300
Bart Van Assche
Re: Is gcc thread-unsafe?
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
git
:
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH] git-mv: Keep moved index entries inact
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Gabriel
[PATCH] When a remote is added but not fetched, tell the user.
linux-netdev
:
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Eric W. Biederman
[PATCH 14/20] net: Simplify pppol2tp pernet operations.
Jeff Kirsher
[net-2.6 PATCH 2/5] e1000e: increase swflag acquisition timeout for ICHx/PCH
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
sm501: add power control callback
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
daniele.pilenga
snmpd hangs on 4.1 looking up hrSWRunTable
Jason Dixon
Re: any web management gui for pf ?
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Colocation donated by:
Syndicate