Microchip-Ethernet / EVB-KSZ9477

Repository for using Microchip EVB-KSZ9477 board. Product Supported: KSZ9477, KSZ9567, KSZ9897, KSZ9896, KSZ8567, KSZ8565, KSZ9893, KSZ9563, KSZ8563, LAN9646, Phys(KSZ9031/9131, LAN8770
76 stars 78 forks source link

KSZ9897 I2C Driver Bug #37

Open M-Bernhard opened 4 years ago

M-Bernhard commented 4 years ago

EVB-KSZ9477/KSZ/linux-drivers/ksz9897/linux-4.19/drivers/net/ethernet/micrel/i2c-ksz9897.c

static void i2c_wrreg_size(struct sw_priv *priv, u8 reg, unsigned val, size_t size)

The i2c_wrreg_size function on Linux-4.19 driver uses an u8 for the I2C 16bit register addresses.

triha2work commented 4 years ago

Thanks for the correction.