[Qemu-devel] [PATCH RFC] i2c: Add AT24Cxx EEPROM model

2015-12-17 Thread Tim Sander
Hi Below is a patch from Jan Kiszka https://lists.gnu.org/archive/html/qemu-devel/2013-04/msg05714.html but in one part and adapted to block layer changes. I would like to get this work mainlined and my question is whats missing to get this stuff mainlined? As far as i understand Jan is ok with

Re: [Qemu-devel] [PATCH RFC] i2c: Add AT24Cxx EEPROM model

2015-12-17 Thread Gerd Hoffmann
Hi, > Some devices react on multiple addresses. To emulate this, we could > register them multiple times, but that is cumbersome. The AT24C16, e.g. > listens on 8 different addresses. > > Instead, introduce a device address mask that is applied on the > transmitted address before matching it ag