hw/eeprom93xx.c: support 93xx EEPROMs with more than 255 words
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 23:14:52 +0000 (23:14 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 23:14:52 +0000 (23:14 +0000)
commite851c9e2b692c15714087597f44945462e897a1c
tree92fefdf74fc8eecff42e5fc0e99fb7599f5fda8a
parent3a1a1e384a31357b4bf96795399802902d6f4504
hw/eeprom93xx.c: support 93xx EEPROMs with more than 255 words

In the head of eeprom93xx.c we promise to support chips with 256 words,
but store the size in an unsigned byte. This patch replaces this with an
16 bit variable and changes the load/store code accordingly (introducing a
new version).

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6918 c046a42c-6fe2-441c-8c8c-71466251a162
hw/eeprom93xx.c