OpenBSD cvs log

created 2018-12-20T13:10:29Z
begin 2018-05-01T18:00:00Z
end 2018-05-02T00:00:00Z
path src/sys
commits 2

date 2018-05-01T18:14:46Z
author landry
files src/sys/dev/usb/ugen.c log diff annotate
src/sys/dev/usb/uhid.c log diff annotate
src/sys/dev/usb/umass_scsi.c log diff annotate
src/sys/dev/usb/uoak_subr.c log diff annotate
src/sys/dev/usb/usb.c log diff annotate
src/sys/dev/usb/usb_subr.c log diff annotate
src/sys/dev/usb/usbdi.h log diff annotate
src/sys/dev/usb/usbdivar.h log diff annotate
src/sys/dev/usb/uvideo.c log diff annotate
message Simplify/refactor the way vendor/product/serial informations are
gathered from usb devices.

Cache them early in usbd_new_device() instead of querying the device
several times (the content wont change anyway) and uselessly generating
usb traffic (which could conflict with other access..)

The heuristic stays the same, first look in the device descriptor, then
try to match against usb_known_vendors/usb_known_products, then fallback
to use the idVendor/idProduct codes.

Remove the now useless 'usedev' parameter from usbd_fill_deviceinfo().

Tested from bsd & bsd.rd.

suggested by and ok mpi@

date 2018-05-01T18:30:37Z
author patrick
files src/sys/dev/sdmmc/sdmmc_mem.c log diff annotate
message Bump the clock frequency to a higher level that every card (per spec)
has to support for MMC cards prior to reading the extended registers.
We already do this for SD cards. Fixes eMMC support on the i.MX8M.

Tested by and ok kettenis@