diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-01 15:02:20 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-01 15:02:20 +0000 |
commit | d5296cb507927ffe3df2716f780b5a3b600ed402 (patch) | |
tree | ca18a266479f6cb880f28275fe32bf037febc1c8 /hw/slavio_misc.c | |
parent | df33e6392ce5c9be330110100c027de3495f4acb (diff) |
Fix SS-600MP led device typos
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3756 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/slavio_misc.c')
-rw-r--r-- | hw/slavio_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/slavio_misc.c b/hw/slavio_misc.c index d22243bc4d..9728bcad91 100644 --- a/hw/slavio_misc.c +++ b/hw/slavio_misc.c @@ -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; |