diff options
author | ache <ache@FreeBSD.org> | 1996-01-30 23:11:06 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-01-30 23:11:06 +0000 |
commit | 19ebe9bcfbfff1cd8bd95a1deed6b7f701e3642d (patch) | |
tree | 7d3e631cec38e146603218baeefd857dd8457e6e /sys/scsi/cd.c | |
parent | f3dd75a38d66ed54a0f2660b0a27d177fb33f068 (diff) | |
download | FreeBSD-src-19ebe9bcfbfff1cd8bd95a1deed6b7f701e3642d.zip FreeBSD-src-19ebe9bcfbfff1cd8bd95a1deed6b7f701e3642d.tar.gz |
Don't convert LBA to host order, they must stay in network order
as old code does.
Diffstat (limited to 'sys/scsi/cd.c')
-rw-r--r-- | sys/scsi/cd.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index d057e15..cc65e59 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 * - * $Id: cd.c,v 1.59 1996/01/30 16:12:18 ache Exp $ + * $Id: cd.c,v 1.60 1996/01/30 16:38:30 ache Exp $ */ #include "opt_bounce.h" @@ -846,11 +846,6 @@ cd_ioctl(dev_t dev, int cmd, caddr_t addr, int flag, struct proc *p, } } - if (te->address_format == CD_LBA_FORMAT) { - for (idx = 0; idx < num; idx++) - NTOHL(data.entries[idx].addr.lba); - } - error = copyout(data.entries, te->data, len); } break; |