diff options
author | ache <ache@FreeBSD.org> | 1996-02-02 20:50:04 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-02-02 20:50:04 +0000 |
commit | 92f57819e02676d8b6d516daf00f4338cee45b2f (patch) | |
tree | 075cfb18c4dced1e5b6de99ffcb0e6973e50e555 /sys/i386/isa/mcd.c | |
parent | 62a0fe7554c9157c8868be78b51a0af600b8cecf (diff) | |
download | FreeBSD-src-92f57819e02676d8b6d516daf00f4338cee45b2f.zip FreeBSD-src-92f57819e02676d8b6d516daf00f4338cee45b2f.tar.gz |
Calculate TOC size to match what scsi cd says.
Exchange control<->addr_type fields
Diffstat (limited to 'sys/i386/isa/mcd.c')
-rw-r--r-- | sys/i386/isa/mcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/mcd.c b/sys/i386/isa/mcd.c index ac1bbad..cc6b1d8 100644 --- a/sys/i386/isa/mcd.c +++ b/sys/i386/isa/mcd.c @@ -40,7 +40,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.64 1996/02/01 16:51:53 ache Exp $ + * $Id: mcd.c,v 1.65 1996/02/01 19:15:41 ache Exp $ */ static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -1348,7 +1348,7 @@ mcd_toc_header(int unit, struct ioc_toc_header *th) th->ending_track = bcd2bin(cd->volinfo.trk_high); th->len = sizeof(struct ioc_toc_header) + (th->ending_track - th->starting_track + 1) * - sizeof(struct cd_toc_entry); + sizeof(struct cd_toc_entry) + 6 /* ??? */; return 0; } |