diff --git a/src/hurd_pci.c b/src/hurd_pci.c
index 26505f3..ada7af8 100644
--- a/src/hurd_pci.c
+++ b/src/hurd_pci.c
@@ -162,7 +162,7 @@ pciclient_cfg_read(mach_port_t device_port, int reg, char
*buf,
data = buf;
nread = *nbytes;
- err = pci_conf_read(device_port, reg, &data, &nread, *nbytes);
+ err = __pci_conf_read(device_port, reg, &data, &nread, *nbytes);
if (err)
return err;
@@ -189,7 +189,7 @@ pciclient_cfg_write(mach_port_t device_port, int reg, char
*buf,
int err;
size_t nwrote;
- err = pci_conf_write(device_port, reg, buf, *nbytes, &nwrote);
+ err = __pci_conf_write(device_port, reg, buf, *nbytes, &nwrote);
if (!err)
*nbytes = nwrote;
IIRC this is because rump has its own pci_conf_read symbol? This is
unfortunate, but yes, we can use the __ version to make sure to access
the RPC.
+ pci_device_hurd_probe((struct pci_device *)d);
I don't know the details, but I trust you do know :)
Samuel