On Fri, Aug 2, 2013 at 6:02 PM, Hans de Goede <hdego...@redhat.com> wrote: > On 08/02/2013 10:23 AM, Martin Pieuchot wrote: >> I'm sorry but this backend is not supposed to be built outside OpenBSD, >> it's not tested, not debugged and I have no plan to do so. If someone >> wants to support a backend for NetBSD then I think it would be better >> to have a separate one. > > Since you wrote the openbsd code, and then someone contributed patches > to also use that for netbsd, I think this is a fair request.
I agree. I was the one who added the small patch to build under NetBSD, at that time I thought the USB Stack of OpenBSD and NetBSD were similar. But apparently they became more and more different along the way. > So I think the best thing to-do is to copy the existing openbsd_usb.c > to netbsd_usb.c, and then you can maintain openbsd_usb.c (starting > with us adding your changes to openbsd_usb.c). I think that is okay. > And someone else can > take care of the netbsd code (or if it turns out no-one will we may > eventually need to re-consider supporting netbsd). I can test for NetBSD using a VM but I will not be able to take care of the NetBSD codes. I am not a real OpenBSD/NetBSD user even though I have installed VMs for testing. I am not so sure if there are other NetBSD users in this mailing list who can be the maintainer of the NetBSD codes. NetBSD does have libusb-1.0 and libusbx packages in pkgsrc. http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/libusb1/ (1.0.9 with patches) http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/libusbx/README.html (1.0.11 older release) > Before moving ahead with this I wonder what the other libusb > maintainers think ? Nathan, Pete, Xiaofan what do you think ? > I am for the split of OpenBSD and NetBSD codes. I am also for the OpenBSD patch to be included in 1.0.17 release. As for dropping the NetBSD support (if no one wants to support it), better to do it post 1.0.17 release. -- Xiaofan ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel