login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
15
Re: [PATCH] libata-scsi: be tolerant of 12-byte ATAPI commands in 16-byte CDBs
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Tejun Heo
Subject:
Re: [PATCH] libata-scsi: be tolerant of 12-byte ATAPI commands in 16-byte CDBs
Date: Wednesday, November 14, 2007 - 7:26 pm
Mark Lord wrote:
quoted text
> Sebastian Kemper reported that issuing CD/DVD commands under libata > is not fully compatible with ide-scsi. In particular, the > GPCMD_SET_STREAMING > was being rejected at the host level in some instances. > > The reason is that libata-scsi insists upon the cmd_len field exactly > matching > the SCSI opcode being issued, whereas ide-scsi tolerates 12-byte commands > contained within a 16-byte (cmd_len) CDB. > > There doesn't seem to be a good reason for us to not be compatible there, > so here is a patch to fix libata-scsi to permit SCSI opcodes so long as > they fit within whatever size CDB is provided. > > Signed-off-by: Mark Lord <mlord@pobox.com>
applied to #tj-upstream-fixes. -- tejun -
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:
libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Sebastian Kemper
, (Tue Nov 13, 9:43 am)
Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Alan Cox
, (Tue Nov 13, 2:22 pm)
Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Sebastian Kemper
, (Tue Nov 13, 4:28 pm)
Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Sebastian Kemper
, (Wed Nov 14, 5:11 am)
Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Mark Lord
, (Wed Nov 14, 8:09 am)
Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Sebastian Kemper
, (Wed Nov 14, 8:38 am)
Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Mark Lord
, (Wed Nov 14, 9:00 am)
Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Mark Lord
, (Wed Nov 14, 9:26 am)
Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Mark Lord
, (Wed Nov 14, 9:41 am)
Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Sebastian Kemper
, (Wed Nov 14, 10:11 am)
Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Sebastian Kemper
, (Wed Nov 14, 10:16 am)
Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing
, Mark Lord
, (Wed Nov 14, 10:21 am)
[PATCH] libata-scsi: be tolerant of 12-byte ATAPI command ...
, Mark Lord
, (Wed Nov 14, 10:44 am)