From b05ee45a43ee99436c673eaf8406d41bcfc18049 Mon Sep 17 00:00:00 2001 From: angelosa Date: Sat, 17 Feb 2024 17:23:07 +0100 Subject: bus/pci/vt6306: confirm some HW details [Guru] --- scripts/src/bus.lua | 4 ++-- src/devices/bus/pci/vt6306.cpp | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua index 2dd35eb28d9..a83f52012c7 100644 --- a/scripts/src/bus.lua +++ b/scripts/src/bus.lua @@ -5510,10 +5510,10 @@ if (BUSES["PCI"]~=null) then MAME_DIR .. "src/devices/bus/pci/sonicvibes.h", MAME_DIR .. "src/devices/bus/pci/sw1000xg.cpp", MAME_DIR .. "src/devices/bus/pci/sw1000xg.h", - MAME_DIR .. "src/devices/bus/pci/vt6306.cpp", - MAME_DIR .. "src/devices/bus/pci/vt6306.h", MAME_DIR .. "src/devices/bus/pci/virge_pci.cpp", MAME_DIR .. "src/devices/bus/pci/virge_pci.h", + MAME_DIR .. "src/devices/bus/pci/vt6306.cpp", + MAME_DIR .. "src/devices/bus/pci/vt6306.h", MAME_DIR .. "src/devices/bus/pci/wd9710_pci.cpp", MAME_DIR .. "src/devices/bus/pci/wd9710_pci.h", MAME_DIR .. "src/devices/bus/pci/ymp21.cpp", diff --git a/src/devices/bus/pci/vt6306.cpp b/src/devices/bus/pci/vt6306.cpp index ef8b939b0f2..55db5398420 100644 --- a/src/devices/bus/pci/vt6306.cpp +++ b/src/devices/bus/pci/vt6306.cpp @@ -5,7 +5,7 @@ VIA VT6306 generic FireWire IEEE 1394a card - paired with USB 2.0 controller on a Sunix UFC3212V 4x USB 3x Firewire card - (as multifunction, presumably at .3 while USB takes .0/.1/.2) + (as multifunction, at .3 while USB takes .0/.1/.2) - midway/midzeus.cpp crusnexo/thegrid uses regular IEEE 1394 ports. - PHY has default vendor ID=0x004063, device ID=306000, Compliance Level=1 @@ -31,6 +31,8 @@ vt6306_device::vt6306_device(const machine_config &mconfig, device_type type, co : pci_card_device(mconfig, type, tag, owner, clock) { set_ids(0x11063044, 0x00, 0x0c0010, 0x11063044); + // Sunix UFC3212V has these values +// set_ids(0x11063044, 0x46, 0x0c0010, 0x1106e8c1); } vt6306_device::vt6306_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) @@ -62,7 +64,7 @@ void vt6306_device::device_reset() pci_card_device::device_reset(); command = 0x0000; - // claims not having an I/O space but it definitely has one defined in BAR, huh? + // doc claims not having an I/O space but real HW pci.exe proved otherwise command_mask = 7; // Fast Back-to-Back, medium DEVSEL# status = 0x0280; -- cgit v1.2.3