1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

Missed WRITE_BIG -> WRITE_10

This commit is contained in:
krw 2020-09-01 17:20:02 +00:00
parent dbb8dd52fb
commit b9a0c77e59

View File

@ -1,4 +1,4 @@
/* $OpenBSD: mmc.c,v 1.31 2017/12/23 20:04:23 cheloha Exp $ */
/* $OpenBSD: mmc.c,v 1.32 2020/09/01 17:20:02 krw Exp $ */
/*
* Copyright (c) 2006 Michael Coulter <mjc@openbsd.org>
*
@ -444,7 +444,7 @@ writetrack(struct track_info *tr, int track)
nblk = 65535/tr->blklen;
bzero(&scr, sizeof(scr));
scr.timeout = 300000;
scr.cmd[0] = WRITE_BIG;
scr.cmd[0] = WRITE_10;
scr.cmd[1] = 0x00;
scr.cmd[8] = nblk; /* Transfer length in blocks (LSB) */
scr.cmdlen = 10;