Bochs/bochs/iodev/usb
Benjamin David Lunt 0d1d6c671a
Ehci companion (#104)
This PR adds the ability to choose which companion controller the EHCI
uses.
`#usb_ehci: enabled=1, companion=uhci`
`#usb_ehci: enabled=1, companion=ohci`

UHCI is enabled by default:
`#usb_ehci: enabled=1`

This breaks up `usb_ohci.cc/h` into `usb_ohci.cc/h` and `ohci_core.cc/h`
to be like the existing `usb_uhci.cc/h` and `uhci_core.cc/h`.
This adds the ability to define a Port Routing string in the
`HcspPortRoute` register, and is optional via the `EHCI_PORT_ROUTE`
define.

Currently `EHCI_N_CC` and `EHCI_N_PCC` must remain as currently set (3
and 2 respectively), however with a little more work, I think these can
be modified and have up to 7 companion controllers with more ports per
companion, as long as the combined total is <= 15 total ports.

Please verify the `Makefile.in` changes. I do not use GCC and can not
verify it is correct.
2023-10-20 21:00:59 +03:00
..
Makefile.in Ehci companion (#104) 2023-10-20 21:00:59 +03:00
ohci_core.cc Ehci companion (#104) 2023-10-20 21:00:59 +03:00
ohci_core.h Ehci companion (#104) 2023-10-20 21:00:59 +03:00
scsi_device.cc Add minimal support for MMC command 0xAC (#80) 2023-09-26 07:55:29 +03:00
scsi_device.h Updates to USBMSD/SCSI emulation 2023-03-31 18:33:38 -07:00
uhci_core.cc Ehci companion (#104) 2023-10-20 21:00:59 +03:00
uhci_core.h Ehci companion (#104) 2023-10-20 21:00:59 +03:00
usb_common.cc Usb compliance (#91) 2023-10-15 07:23:18 +03:00
usb_common.h Usb compliance (#91) 2023-10-15 07:23:18 +03:00
usb_ehci.cc Ehci companion (#104) 2023-10-20 21:00:59 +03:00
usb_ehci.h Ehci companion (#104) 2023-10-20 21:00:59 +03:00
usb_floppy.cc Usb compliance (#91) 2023-10-15 07:23:18 +03:00
usb_floppy.h Updates to USBMSD/SCSI emulation 2023-03-31 18:33:38 -07:00
usb_hid.cc reapply PR #98 Hid register state fix 2023-10-17 15:10:28 +03:00
usb_hid.h hid mouse improvements 2023-04-09 10:44:00 -07:00
usb_hub.cc Usb compliance (#91) 2023-10-15 07:23:18 +03:00
usb_hub.h Usb compliance (#91) 2023-10-15 07:23:18 +03:00
usb_msd.cc Usb compliance (#91) 2023-10-15 07:23:18 +03:00
usb_msd.h Updates to USBMSD/SCSI emulation 2023-03-31 18:33:38 -07:00
usb_ohci.cc Ehci companion (#104) 2023-10-20 21:00:59 +03:00
usb_ohci.h Ehci companion (#104) 2023-10-20 21:00:59 +03:00
usb_pcap.cc Fix issue #25 2023-03-17 17:30:10 -07:00
usb_pcap.h Fix issue #25 2023-03-17 17:30:10 -07:00
usb_printer.cc Usb compliance (#91) 2023-10-15 07:23:18 +03:00
usb_printer.h Enhanced the USB emulation 2023-02-16 17:24:13 -07:00
usb_uasp.cc Misc uasp (#93) 2023-10-15 10:26:43 +03:00
usb_uhci.cc Ehci companion (#104) 2023-10-20 21:00:59 +03:00
usb_uhci.h Add over-current signaling 2023-03-22 16:05:44 -07:00
usb_xhci.cc Xhci options (#92) 2023-10-15 21:47:24 +03:00
usb_xhci.h Additional controller checks (#74) 2023-09-08 08:44:56 +03:00