Fix SS-600MP led device typos

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3756 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2007-12-01 15:02:20 +00:00
parent df33e6392c
commit d5296cb507
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ typedef struct MiscState {
#define MISC_SIZE 1
#define SYSCTRL_MAXADDR 3
#define SYSCTRL_SIZE (SYSCTRL_MAXADDR + 1)
#define LED_MAXADDR 2
#define LED_MAXADDR 1
#define LED_SIZE (LED_MAXADDR + 1)
#define MISC_MASK 0x0fff0000
@ -281,7 +281,7 @@ static void slavio_led_mem_writes(void *opaque, target_phys_addr_t addr,
val);
switch (saddr) {
case 0:
s->sysctrl = val;
s->leds = val;
break;
default:
break;