[haiku-development] Re: Proposal to add the USBKit to the DeviceKit

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 06 Apr 2008 23:57:20 +0200

Dustin Howett wrote:
> With a small compat lib that just thunks the calls it'd work nicely, i 
> imagine.
> 
> On 4/6/08, Andreas Färber <andreas.faerber@xxxxxx> wrote:
> >
> > Am 06.04.2008 um 22:22 schrieb Michael Lotz:
> > > the USBKit [...] is currently placed in a separate static library 
> > > under "src/libs/usb" and "headers/libs/usb" [...] Obviously the 
> > > USBKit is not really large and would not deserve its own kit, but it 
> > > would in fact perfectly fit into libdevice. So I propose to integrate 
> > > the USBKit into libdevice and make its API public.
> > > There are a few applications already that used the old Be provided 
> > > USBKit library (which our usb_raw is binary compatible with BTW) and 
> > > to
> > > further the creation of such userland USB applications and drivers it 
> > > would only make sense to have this as a public API.
> >
> > Wouldn't moving it to another library break said binary compatibility?

In this particular case, all the apps that exist have the USBKit.a linked 
statically, so they would not break (hm, unless the symbols conflict?). I 
think Michael meant the usb_raw driver itself, which can be used by the old 
USBKit as well as the new one.

Best regards,
-Stephan

Other related posts: