Skip to content

Commit

Permalink
Revert "MFC: r338304"
Browse files Browse the repository at this point in the history
This reverts commit c02d197.
  • Loading branch information
fichtner committed Jul 2, 2019
1 parent f02cd30 commit 289d111
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions sys/dev/mmc/mmcbrvar.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,27 +95,14 @@ MMCBR_ACCESSOR(host_ocr, HOST_OCR, int)
MMCBR_ACCESSOR(mode, MODE, int)
MMCBR_ACCESSOR(ocr, OCR, int)
MMCBR_ACCESSOR(power_mode, POWER_MODE, int)
MMCBR_ACCESSOR(retune_req, RETUNE_REQ, int)
MMCBR_ACCESSOR(vdd, VDD, int)
MMCBR_ACCESSOR(vccq, VCCQ, int)
MMCBR_ACCESSOR(caps, CAPS, int)
MMCBR_ACCESSOR(timing, TIMING, int)
MMCBR_ACCESSOR(max_data, MAX_DATA, int)
MMCBR_ACCESSOR(max_busy_timeout, MAX_BUSY_TIMEOUT, u_int)

static int __inline
mmcbr_get_retune_req(device_t dev)
{
uintptr_t v;

if (__predict_false(BUS_READ_IVAR(device_get_parent(dev), dev,
MMCBR_IVAR_RETUNE_REQ, &v) != 0))
return (retune_req_none);
return ((int)v);
}

/*
* Convenience wrappers for the mmcbr interface
*/
static int __inline
mmcbr_update_ios(device_t dev)
{
Expand Down

0 comments on commit 289d111

Please sign in to comment.