Deleted Added
full compact
28c28
< __FBSDID("$FreeBSD: head/sys/cam/ata/ata_pmp.c 199321 2009-11-16 15:18:02Z mav $");
---
> __FBSDID("$FreeBSD: head/sys/cam/ata/ata_pmp.c 199747 2009-11-24 12:47:58Z mav $");
518a519
> struct ccb_trans_settings cts;
637a639,651
> /* Report device speed. */
> if (xpt_create_path(&dpath, periph,
> xpt_path_path_id(periph->path),
> softc->pm_step, 0) == CAM_REQ_CMP) {
> bzero(&cts, sizeof(cts));
> xpt_setup_ccb(&cts.ccb_h, dpath, CAM_PRIORITY_NORMAL);
> cts.ccb_h.func_code = XPT_SET_TRAN_SETTINGS;
> cts.type = CTS_TYPE_CURRENT_SETTINGS;
> cts.xport_specific.sata.revision = (res & 0x0f0) >> 4;
> cts.xport_specific.sata.valid = CTS_SATA_VALID_REVISION;
> xpt_action((union ccb *)&cts);
> xpt_free_path(dpath);
> }