diff mbox

[PATCHv3,2/2] m48t59: add m48t59 sysbus device

Message ID 1423903949-14487-3-git-send-email-mark.cave-ayland@ilande.co.uk
State New
Headers show

Commit Message

Mark Cave-Ayland Feb. 14, 2015, 8:52 a.m. UTC
This is for subsequent use by the sun4u machine.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
---
 hw/timer/m48t59.c |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Hervé Poussineau Feb. 14, 2015, 6:07 p.m. UTC | #1
Le 14/02/2015 09:52, Mark Cave-Ayland a écrit :
> This is for subsequent use by the sun4u machine.
>
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>

> ---
>   hw/timer/m48t59.c |    4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/hw/timer/m48t59.c b/hw/timer/m48t59.c
> index 3d2d6ac..5fa4ab4 100644
> --- a/hw/timer/m48t59.c
> +++ b/hw/timer/m48t59.c
> @@ -129,6 +129,10 @@ static M48txxInfo m48txx_info[] = {
>           .model = 8,
>           .size = 0x2000,
>       },{
> +        .sysbus_name = "sysbus-m48t59",
> +        .model = 59,
> +        .size = 0x2000,
> +    },{
>           .isa_name = "isa-m48t59",
>           .model = 59,
>           .size = 0x2000,
>
diff mbox

Patch

diff --git a/hw/timer/m48t59.c b/hw/timer/m48t59.c
index 3d2d6ac..5fa4ab4 100644
--- a/hw/timer/m48t59.c
+++ b/hw/timer/m48t59.c
@@ -129,6 +129,10 @@  static M48txxInfo m48txx_info[] = {
         .model = 8,
         .size = 0x2000,
     },{
+        .sysbus_name = "sysbus-m48t59",
+        .model = 59,
+        .size = 0x2000,
+    },{
         .isa_name = "isa-m48t59",
         .model = 59,
         .size = 0x2000,