usbd patch (MAXUSBDEV no more)

2003-02-13 Thread Adam Migus
This patch makes usbd track a dynamic number of devices using a list instead of the static array of 4 devices. It's implemented as a list but it's very easy to change. -- Adam Migus - Research Scientist Network Associates Laboratories (http://www.nailabs.com) TrustedBSD

Re: usbd patch (MAXUSBDEV no more)

2003-02-13 Thread Andrew R. Reiter
On Thu, 13 Feb 2003, Adam Migus wrote: :This patch makes usbd track a dynamic number of devices using a list :instead of the static array of 4 devices. It's implemented as a list :but it's very easy to change. Does this list want a lock to protect it? I am unfamiliar with usb locking at the

Re: usbd patch (MAXUSBDEV no more)

2003-02-13 Thread Adam Migus
Me too, so if it does require one someone please tell me. I obviously read the code and from my understanding no locking is fine but I could be wrong. On Thu, Feb 13, 2003 at 11:13:31AM -0500, Andrew R. Reiter wrote: On Thu, 13 Feb 2003, Adam Migus wrote: :This patch makes usbd track a

Re: usbd patch (MAXUSBDEV no more)

2003-02-13 Thread Alexander Kabaev
On Thu, 13 Feb 2003 11:13:31 -0500 (EST) Andrew R. Reiter [EMAIL PROTECTED] wrote: On Thu, 13 Feb 2003, Adam Migus wrote: :This patch makes usbd track a dynamic number of devices using a list :instead of the static array of 4 devices. It's implemented as a list :but it's very easy to

Re: usbd patch (MAXUSBDEV no more)

2003-02-13 Thread Josef Karthauser
On Thu, Feb 13, 2003 at 11:02:29AM -0500, Adam Migus wrote: This patch makes usbd track a dynamic number of devices using a list instead of the static array of 4 devices. It's implemented as a list but it's very easy to change. Thanks, although I'm not clear as to the future of usbd. With

Re: usbd patch (MAXUSBDEV no more)

2003-02-13 Thread Adam Migus
Joe, funny you should mention. I actually tried posting this patch three times. The first two times I actually said in the (more elaborate) explanation of the patch that I as well am moving toward devd. So, I see your point and it's why I didn't bother spending more than 30 minutes doing this