The code was unmodified compared to Linux and returned the amount of received bytes from the i2c bus. This led to non-working i2c bus and failure to eg. read monitor's EDID, if connected to DisplayPort. MFC after: 3 days Tested by: Mikaël Urankar <mikael.urankar@gmail.com>
# $FreeBSD$ == Updates to reg_srcs/ files == When a file in the "reg_srcs" subdirectory in updated, be sure to regen headers by running "make" in tools/tools/drm/radeon/mkregtable.