diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2006-11-28 23:49:51 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2006-11-28 23:49:51 +0000 |
commit | 056871ecd9a3940fddb99394529c31947383b338 (patch) | |
tree | 8b45cc7e1b77c69c89d57e3736c29bd4f29f02da /sys/dev/pci/ips.c | |
parent | e63d1bf392e2753146d7274cdbdb4d3935df63cb (diff) |
I just don't know why I decided to set block count to 512 unconditionaly
on every scatter-gather transfer.
Diffstat (limited to 'sys/dev/pci/ips.c')
-rw-r--r-- | sys/dev/pci/ips.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c index 8289285618d..ee03c27d576 100644 --- a/sys/dev/pci/ips.c +++ b/sys/dev/pci/ips.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ips.c,v 1.9 2006/11/28 19:59:14 grange Exp $ */ +/* $OpenBSD: ips.c,v 1.10 2006/11/28 23:49:50 grange Exp $ */ /* * Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org> @@ -529,7 +529,6 @@ ips_scsi_io(struct scsi_xfer *xs) i * 8 + 4) = ccb->c_dmam->dm_segs[i].ds_len; } cmd->buffaddr = sc->sc_cmdm->dm_seg.ds_addr + 24; - cmd->length = 512; } else { cmd->buffaddr = ccb->c_dmam->dm_segs[0].ds_addr; } |