aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mmc
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2017-01-12 08:53:10 +0000
committerAlexander Motin <mav@FreeBSD.org>2017-01-12 08:53:10 +0000
commit17160457b41ff26b4384d8f82ed176a2844eb272 (patch)
tree48ae231610d482fa1a51e43afd4d73e3b399380a /sys/dev/mmc
parent9527fa4f663fa848cff1018f5c92bcccfc2adeee (diff)
Notes
Diffstat (limited to 'sys/dev/mmc')
-rw-r--r--sys/dev/mmc/mmcsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mmc/mmcsd.c b/sys/dev/mmc/mmcsd.c
index 3132c21aea01..ac697a3cf814 100644
--- a/sys/dev/mmc/mmcsd.c
+++ b/sys/dev/mmc/mmcsd.c
@@ -170,6 +170,7 @@ mmcsd_attach(device_t dev)
d->d_delmaxsize = mmc_get_erase_sector(dev) * d->d_sectorsize;
strlcpy(d->d_ident, mmc_get_card_sn_string(dev), sizeof(d->d_ident));
strlcpy(d->d_descr, mmc_get_card_id_string(dev), sizeof(d->d_descr));
+ d->d_rotation_rate = DISK_RR_NON_ROTATING;
/*
* Display in most natural units. There's no cards < 1MB. The SD