Date: Fri, 26 Mar 2004 10:27:39 +1100 From: Sam Lawrance <samuel.lawrance@studentmail.newcastle.edu.au> To: freebsd-hackers@freebsd.org Subject: usbd config file parse behaviour Message-ID: <1080257258.1138.34.camel@dirk>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1080257258.1138.34.camel>