ATA-Raid 1 one patch

From: Benjamin Close <Benjamin.Close_at_clearchain.com>
Date: Thu, 04 Aug 2005 08:25:10 +0930
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
_at__at_ -3113,7 +3113,6 _at__at_
 {
     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
Received on Wed Aug 03 2005 - 11:25:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC