Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2010 08:24:35 +0000 (UTC)
From:      "Wojciech A. Koszek" <wkoszek@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libusb libusb20_compat01.c
Message-ID:  <201002110824.o1B8Os6W064369@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
wkoszek     2010-02-11 08:24:35 UTC

  FreeBSD src repository

  Modified files:
    lib/libusb           libusb20_compat01.c 
  Log:
  SVN rev 203773 on 2010-02-11 08:24:35Z by wkoszek
  
  Within libusb 0.1 API, bus number is always faked to 0. Device numbers,
  however, are possitive and seem to be reverse sorted in the list.
  
  Conform device numbering and bring a result that is consistent with the
  libusb 0.1 API.  It is now possible to distinguish a device based on its
  (bus, dev) numbers.
  
  There shouldn't be any negative change in behavior after this commit.
  
  Tested with:    scanimage (sane)
                  http://freebsd.czest.pl/~wkoszek/qemu/l.c
  Reviewed by:    hps@
  
  Revision  Changes    Path
  1.5       +3 -0      src/lib/libusb/libusb20_compat01.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002110824.o1B8Os6W064369>