[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] rumpkernel dependencies

From: Samuel Thibault
Subject: Re: [PATCH] rumpkernel dependencies
Date: Sun, 29 Mar 2020 01:23:34 +0100
User-agent: NeoMutt/20170609 (1.8.3)

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 
     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 
     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 :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]