]> git.proxmox.com Git - mirror_qemu.git/commit
m48t59: register a QOM type for each nvram type we support
authorHervé Poussineau <hpoussin@reactos.org>
Mon, 2 Mar 2015 22:23:27 +0000 (22:23 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 10 Mar 2015 09:18:56 +0000 (09:18 +0000)
commit051ddccde29924cb200df3bca3db8c1a2aa10974
tree131eda414f6ab1455331d8e475c47f93c484df40
parent72cd63f817d5405f7f7339e3d389cee73c189b33
m48t59: register a QOM type for each nvram type we support

As m48t59 devices can only be created with m48t59_init() or m48t59_init_isa(),
we know exactly which nvram types are required. Register only those three
types.

Remove .model and .size properties as they can be infered from nvram name.

Rename type to 'isa-*' (and 'sysbus-*') to do like other devices ISA devices
(isa-ide, isa-parallel, isa-serial...)

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
CC: Andreas Färber <afaerber@suse.de>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/timer/m48t59.c