Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-11-02 Thread Robert Millan
El 13/09/15 a les 14:55, Antti Kantee ha escrit: > On 13/09/15 09:33, Robert Millan wrote: >> Hi Antti >> >> El 31/08/15 a les 21:05, Antti Kantee ha escrit: >>> On 31/08/15 14:30, Robert Millan wrote: El 31/08/15 a les 16:04, Robert Millan ha escrit: > I had some trouble with the .BEGIN

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-11-02 Thread Antti Kantee
On 02/11/15 20:36, Robert Millan wrote: El 13/09/15 a les 14:55, Antti Kantee ha escrit: On 13/09/15 09:33, Robert Millan wrote: Hi Antti El 31/08/15 a les 21:05, Antti Kantee ha escrit: On 31/08/15 14:30, Robert Millan wrote: El 31/08/15 a les 16:04, Robert Millan ha escrit: I had some

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-09-13 Thread Robert Millan
Hi Antti El 31/08/15 a les 21:05, Antti Kantee ha escrit: On 31/08/15 14:30, Robert Millan wrote: El 31/08/15 a les 16:04, Robert Millan ha escrit: I had some trouble with the .BEGIN approach, but the MAKEFILEINC one works perfectly. I'm attaching a patch. Actually, please use this one,

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-09-13 Thread Antti Kantee
On 13/09/15 09:33, Robert Millan wrote: Hi Antti El 31/08/15 a les 21:05, Antti Kantee ha escrit: On 31/08/15 14:30, Robert Millan wrote: El 31/08/15 a les 16:04, Robert Millan ha escrit: I had some trouble with the .BEGIN approach, but the MAKEFILEINC one works perfectly. I'm attaching a

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-08-31 Thread Antti Kantee
On 31/08/15 14:30, Robert Millan wrote: El 31/08/15 a les 16:04, Robert Millan ha escrit: I had some trouble with the .BEGIN approach, but the MAKEFILEINC one works perfectly. I'm attaching a patch. Actually, please use this one, which includes .ifdef not to break other platforms ;-) Yea

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-08-31 Thread Antti Kantee
On 30/08/15 15:10, Robert Millan wrote: But that's not what you were asking for. I don't know what's wrong based on the above. Can you paste the entire Makefile and command line? Makefile is attached (in my tree, this is pci-userspace/src-gnu/Makefile) Command-line is:

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-08-31 Thread Robert Millan
El 31/08/15 a les 16:04, Robert Millan ha escrit: I had some trouble with the .BEGIN approach, but the MAKEFILEINC one works perfectly. I'm attaching a patch. Actually, please use this one, which includes .ifdef not to break other platforms ;-) -- Robert Millan Index:

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-08-31 Thread Robert Millan
El 31/08/15 a les 13:07, Antti Kantee ha escrit: On 30/08/15 15:10, Robert Millan wrote: But that's not what you were asking for. I don't know what's wrong based on the above. Can you paste the entire Makefile and command line? Makefile is attached (in my tree, this is

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-08-30 Thread Robert Millan
El 16/08/15 a les 13:09, Robert Millan ha escrit: * It includes code from other people under GPLv2; I'm not sure if this may be an issue wrt licensing policy of Rump as this is only targetted at the pci-userspace module. In any case if you think it's an issue let me know and we'll try to

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-08-30 Thread Antti Kantee
On 30/08/15 10:22, Robert Millan wrote: I figured out how to generate those off-tree and wrote a small Makefile snippet to do it: experimentalUser.c experimental_U.h: echo '#include mach/experimental.defs' \ | gcc -E -x c - -o - \ | mig -cc cat - /dev/null -subrprefix __

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-08-30 Thread Robert Millan
Hi Antti El 30/08/15 a les 16:44, Antti Kantee ha escrit: One thing you are doing wrong is creating a rule which creates two targets. If both targets happen to be made in parallel, you usually get corrupt output. So e.g. make the .h depend on the .c (or simply omit it entirely if nothing

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-08-16 Thread Antti Kantee
On 16/08/15 11:09, Robert Millan wrote: Hi, This patch adds GNU/Hurd support to pci-userspace. Some notes: * It uses libpciaccess to query/modify the PCI config stuff. This part of the code is pretty generic, perhaps this approach can be useful to other ports? perhaps * It includes

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-08-16 Thread Antti Kantee
On 16/08/15 20:33, Robert Millan wrote: El 16/08/15 a les 15:14, Antti Kantee ha escrit: * It includes code from other people under GPLv2; I'm not sure if this may be an issue wrt licensing policy of Rump as this is only targetted at the pci-userspace module. In any case if you think

Re: [PATCH] Rump on GNU/Hurd (4): Userspace PCI I/O

2015-08-16 Thread Robert Millan
Hi Zheng Da, First of all, allow me to show you my appreciation for your effort on integrating DDE with the Hurd. The groundwork on creating facilities that enable userspace drivers has been greatly helpful on this little project of mine. Just to put you in context, I've ported Rump