[PATCH 0/7] NS 87560 SuperIO chip

Helge Deller posted 7 patches 1 week, 1 day ago
MAINTAINERS              |   4 +
hw/hppa/machine.c        |  41 +++-
hw/ide/meson.build       |   1 +
hw/ide/pc87560-ide.c     | 358 +++++++++++++++++++++++++++
hw/ide/trace-events      |   4 +
hw/isa/Kconfig           |  11 +
hw/isa/meson.build       |   1 +
hw/isa/pc87560.c         | 510 +++++++++++++++++++++++++++++++++++++++
hw/usb/hcd-ohci.c        |  35 +++
hw/usb/hcd-ohci.h        |   5 +
hw/usb/meson.build       |   1 +
hw/usb/pc87560-ohci.c    | 355 +++++++++++++++++++++++++++
include/hw/isa/pc87560.h |  96 ++++++++
include/hw/pci/pci_ids.h |   5 +
14 files changed, 1420 insertions(+), 7 deletions(-)
create mode 100644 hw/ide/pc87560-ide.c
create mode 100644 hw/isa/pc87560.c
create mode 100644 hw/usb/pc87560-ohci.c
create mode 100644 include/hw/isa/pc87560.h
[PATCH 0/7] NS 87560 SuperIO chip
Posted by Helge Deller 1 week, 1 day ago
From: Helge Deller <deller@gmx.de>

This series adds the emulation of a "NS 87560 SuperIO chip".
The SuperIO chip includes a floppy controller, two serial ports, one parallel
port, an IDE controller and one OHCI USB port.

This National Semiconductor SuperIO chip was commonly used in many HP PA-RISC
B- and C-class workstations, as in the HP C3700 machine which is being
emulated by QEMU already. The last patch wires up this SuperIO driver to the
existing C3700 machine emulation.

This driver was developed during the last few months by Abizer Lokhandwala
<abizerlokhandwalastd10@gmail.com> and mentored and reviewed by me.
Originally Abizer applied for the SCSI TAPE emulation program which I offered
for the Google-Summer-of-Code 2026 program, but since the TAPE project was
dropped by Google, he instead stepped up to develop this driver - even without
receiving sponsoring by Google.
So, I'm very grateful that he nevertheless invested his spare time to develop
this driver!

I've already reviewed the patches off-list, but it would be great if
other people could review the code as well.

Helge

Abizer Lokhandwala (6):
  hw/isa/pc87560: Add main isa code for NS 87560 SuperIO chip
  hw/ide/pc87560-ide: Add IDE emulation of NS 87560 SuperIO chip
  hw/usb/hcd-ohci: Add big endian and consistency check support
  hw/usb/pc87560-ohci: Add USB OHCI emulation of NS 87560 SuperIO chip
  hw/pc87560: Wire up emulation of NS 87560 SuperIO chip
  hw/hppa: Add NS 87560 SuperIO chip to HP C3700 machine

Helge Deller (1):
  hw/pci/pci_ids: Add PCI vendor ID and IDs for NS chips

 MAINTAINERS              |   4 +
 hw/hppa/machine.c        |  41 +++-
 hw/ide/meson.build       |   1 +
 hw/ide/pc87560-ide.c     | 358 +++++++++++++++++++++++++++
 hw/ide/trace-events      |   4 +
 hw/isa/Kconfig           |  11 +
 hw/isa/meson.build       |   1 +
 hw/isa/pc87560.c         | 510 +++++++++++++++++++++++++++++++++++++++
 hw/usb/hcd-ohci.c        |  35 +++
 hw/usb/hcd-ohci.h        |   5 +
 hw/usb/meson.build       |   1 +
 hw/usb/pc87560-ohci.c    | 355 +++++++++++++++++++++++++++
 include/hw/isa/pc87560.h |  96 ++++++++
 include/hw/pci/pci_ids.h |   5 +
 14 files changed, 1420 insertions(+), 7 deletions(-)
 create mode 100644 hw/ide/pc87560-ide.c
 create mode 100644 hw/isa/pc87560.c
 create mode 100644 hw/usb/pc87560-ohci.c
 create mode 100644 include/hw/isa/pc87560.h

-- 
2.54.0