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)
commit7ab2589cbb91e07f6eadde0b5435602d75a5a72a
tree92fefdf74fc8eecff42e5fc0e99fb7599f5fda8a
parentd4ae799cd164aa80a25e52ac09aceb7ff9732ac9
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