mbox series

[v2,0/2] cmd646: remove pci_cmd646_ide_init() function

Message ID 20200301190520.18520-1-mark.cave-ayland@ilande.co.uk
Headers show
Series cmd646: remove pci_cmd646_ide_init() function | expand

Message

Mark Cave-Ayland March 1, 2020, 7:05 p.m. UTC
The recent cmd646 discussions reminded me of this patch I've had sitting in an
old branch for a while.

The DP264 machine is the last remaining user of the deprecated
pci_cmd646_ide_init() init function. Switch it over to using qdev via pci_create()
and then remove the now-unused pci_cmd646_ide_init() function.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

v2:
- Rebase onto master
- Remove setting "secondary" property to 0 for dp264 since this is already the default
- Add R-B tags from Richard


Mark Cave-Ayland (2):
  dp264: use pci_create() to initialise the cmd646 device
  cmd646: remove unused pci_cmd646_ide_init() function

 hw/alpha/dp264.c |  7 ++++++-
 hw/ide/cmd646.c  | 12 ------------
 include/hw/ide.h |  2 --
 3 files changed, 6 insertions(+), 15 deletions(-)