Re: [PATCH] libata-scsi: automatically use DMADIR if drive/bridge requires it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan Cox wrote:
On Mon, Feb 18, 2008 at 03:53:46PM -0500, Mark Lord wrote:
+ /* some SATA bridges need us to indicate data xfer direction */
+		if (atapi_dmadir || (dev->id[62] & 0x8000))

The rest of the code uses ata_ inlines/defines in ata.h for things like this
and religiously checks validity bits and ATA versions.
..

Feel free.  I don't actually have a device like that here to test on,
so I'm not particularly motivated about doing more than the above right now.

Perhaps you or Albert may be, though.  :)

That particular bit has always been zero (reserved), from ATA1 through present,
except when used as a DMADIR bit, beginning somewhere around ATA7.

Cheers
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux