diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2004-08-25 17:54:19 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2004-08-25 17:54:19 +0000 |
| commit | 016bdcb36aa233f380450213841ec130d1523781 (patch) | |
| tree | c31ea4b85cad686348bfddbcab89449135679980 /sys/dev/mpt | |
| parent | e2d2098653db06a0a833fece71a68d691a20b9f5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/mpt')
| -rw-r--r-- | sys/dev/mpt/mpt_freebsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mpt/mpt_freebsd.c b/sys/dev/mpt/mpt_freebsd.c index 9124ccdaae0e2..58e147db18062 100644 --- a/sys/dev/mpt/mpt_freebsd.c +++ b/sys/dev/mpt/mpt_freebsd.c @@ -268,8 +268,8 @@ mpt_execute_req(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) ntodo = MPT_NSGL(mpt) - 1; ce->NextChainOffset = (MPT_RQSL(mpt) - sizeof (SGE_SIMPLE32)) >> 2; - ce->Length = MPT_NSGL(mpt) - * sizeof (SGE_SIMPLE32); + ce->Length = MPT_NSGL(mpt) * + sizeof (SGE_SIMPLE32); } else { ntodo = nleft; ce->NextChainOffset = 0; |
