Date: Sat, 6 Jun 2009 22:08:08 GMT From: Alexander Motin <mav@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 163673 for review Message-ID: <200906062208.n56M88pD079595@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=163673 Change 163673 by mav@mav_mavbook on 2009/06/06 22:07:22 Clean ATA command structure before use. Affected files ... .. //depot/projects/scottl-camlock/src/sys/cam/cam_ccb.h#18 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/cam/cam_ccb.h#18 (text+ko) ==== @@ -1027,6 +1027,11 @@ ataio->data_ptr = data_ptr; ataio->dxfer_len = dxfer_len; ataio->tag_action = tag_action; + ataio->cmd.command = 0; + ataio->cmd.flags = 0; + ataio->cmd.feature = 0; + ataio->cmd.count = 0; + ataio->cmd.lba = 0; } void cam_calc_geometry(struct ccb_calc_geometry *ccg, int extended);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906062208.n56M88pD079595>