PERFORCE change 167141 for review
Alexander Motin
mav at FreeBSD.org
Sun Aug 9 21:39:22 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=167141
Change 167141 by mav at mav_mavbook on 2009/08/09 21:38:55
ATA_SF_SETXFER has no data transfer.
Affected files ...
.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_xpt.c#32 edit
Differences ...
==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_xpt.c#32 (text+ko) ====
@@ -344,10 +344,10 @@
cam_fill_ataio(ataio,
1,
probedone,
- /*flags*/CAM_DIR_IN,
+ /*flags*/CAM_DIR_NONE,
0,
- /*data_ptr*/(u_int8_t *)ident_buf,
- /*dxfer_len*/sizeof(struct ata_params),
+ /*data_ptr*/NULL,
+ /*dxfer_len*/0,
30 * 1000);
ata_36bit_cmd(ataio, ATA_SETFEATURES, ATA_SF_SETXFER, 0,
ata_max_mode(ident_buf, ATA_UDMA6, ATA_UDMA6));
More information about the p4-projects
mailing list