usbd config file parse behaviour

From: Sam Lawrance (samuel.lawrance_at_studentmail.newcastle.edu.au)
Date: 03/26/04

  • Next message: Bruce M Simpson: "Re: Intel i8xx watchdog driver"
    To: freebsd-hackers@freebsd.org
    Date: Fri, 26 Mar 2004 10:27:39 +1100
    
    

    Hi,

    usbd's present behaviour when reading usbd.conf is to scan from top to
    bottom and use the first match.

    What if it was changed to use the last, most specific match? That is,
    the last match with the most of (product, vendor) specified.

    The idea is that it makes it programmatically easy to add new entries to
    the file - just place them at the end. Presently that won't work because
    of the generic catch-all
            device "USB Device"
    in the default usbd.conf.

    I know this would be useful to me, so I'm just looking for somebody to
    say "yeah maybe".

    Cheers
    Sam.

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Bruce M Simpson: "Re: Intel i8xx watchdog driver"

    Relevant Pages

    • Re: usbd config file parse behaviour
      ... > usbd's present behaviour when reading usbd.conf is to scan from top to ... > bottom and use the first match. ... I'm working on getting devdusable for usb devices. ...
      (freebsd-hackers)
    • Re: Failure to maintain one lane
      ... >>Yeah, well, that's what happens when we post at the bottom. ... no one would have to scroll at all... ... Yeah, we _do_ know what the rest of the post says without reading it, because ...
      (rec.autos.driving)
    • Re: What kitchen appliance is on your wish list?
      ... Yeah, should. ... After all, when you're reading a book, you read from the top of the page ... to the bottom. ... Electricians do it in three phases ...
      (rec.food.cooking)
    • Re: Posting format
      ... On Thu, 2003-07-24 at 10:03, Tomas Szepe wrote: ... > natural as reading from the top down. ... Indo-European languages read left to right, ... to left, and some Oriental languages read top to bottom, but no human ...
      (Linux-Kernel)
    • Re: Huh?
      ... If you're posting ... It's also customary to put your answer at the *bottom*, in this group, ... The reason we do all of this is to facilitate reading and responding by ...
      (rec.arts.sf.composition)