HomeFreeBSD

Enable high-speed on the card before increasing frequency on the controller

Description

Enable high-speed on the card before increasing frequency on the controller

Increasing operating frequency without telling card to switch
to high-speed mode first upsets some cards and generates CRC errors.

While here, deselect / reselect cards after CMD6 and SCR fetch, as in original code.

Approved by: imp (mentor)
Differential Revision: https://reviews.freebsd.org/D15568

Details

Provenance
kibabAuthored on
Differential Revision
D15568: Enable high-speed on the card before increasing frequency on the controller
Parents
rS334650: usbdevs: sync from NetBSD
Branches
Unknown
Tags
Unknown