Date: Thu, 04 Aug 2005 08:25:10 +0930 From: Benjamin Close <Benjamin.Close@clearchain.com> To: freebsd-current@freebsd.org Subject: ATA-Raid 1 one patch Message-ID: <42F14B4E.9070700@clearchain.com>
next in thread | raw e-mail | index | archive | help
Hi All,
Here's just a little cleanup I found whilst looking into
ataenclosure support:
--- /home/benjsc/work/freebsd/src/sys/dev/ata/ata-raid.c Mon Jul
18 17:01:40 2005
+++ ata-raid.c Wed Aug 3 22:51:58 2005
@@ -3113,7 +3113,6 @@
{
struct ata_device *atadev = device_get_softc(request->dev);
- request->transfersize = min(request->bytecount, atadev->max_iosize);
request->transfersize = DEV_BSIZE;
if (request->flags & ATA_R_READ) {
if (atadev->mode >= ATA_DMA) {
Cheers,
Benjamin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42F14B4E.9070700>
