Commit d5296cb5 authored by blueswir1's avatar blueswir1
Browse files

Fix SS-600MP led device typos


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3756 c046a42c-6fe2-441c-8c8c-71466251a162
parent df33e639
...@@ -56,7 +56,7 @@ typedef struct MiscState { ...@@ -56,7 +56,7 @@ typedef struct MiscState {
#define MISC_SIZE 1 #define MISC_SIZE 1
#define SYSCTRL_MAXADDR 3 #define SYSCTRL_MAXADDR 3
#define SYSCTRL_SIZE (SYSCTRL_MAXADDR + 1) #define SYSCTRL_SIZE (SYSCTRL_MAXADDR + 1)
#define LED_MAXADDR 2 #define LED_MAXADDR 1
#define LED_SIZE (LED_MAXADDR + 1) #define LED_SIZE (LED_MAXADDR + 1)
#define MISC_MASK 0x0fff0000 #define MISC_MASK 0x0fff0000
...@@ -281,7 +281,7 @@ static void slavio_led_mem_writes(void *opaque, target_phys_addr_t addr, ...@@ -281,7 +281,7 @@ static void slavio_led_mem_writes(void *opaque, target_phys_addr_t addr,
val); val);
switch (saddr) { switch (saddr) {
case 0: case 0:
s->sysctrl = val; s->leds = val;
break; break;
default: default:
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment