[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: Question on structure of USB (specifically USB Serial) stack
From: Hans Petter Selasky <hps () selasky ! org>
Date: 2020-07-18 5:01:07
Message-ID: 4504811e-9eed-d3a1-8d5e-561f7f3ce837 () selasky ! org
[Download RAW message or body]
On 2020-07-17 01:18, Brian Mcgovern (bmcgover) wrote:
> What I'm hoping to do is pin some USB devices with FTDI interfaces to more \
> consistent name, similar to /dev/usb, based on the tree of struct usb_device \
> entries and their respective addresses.
You might get some ideas how to get struct usb_device inside ucom, by
looking at this differential revision:
https://reviews.freebsd.org/D21886
Basically you need to make a new API which is passed the uaa->device
pointer. Then no void * casting will be needed.
--HPS
_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic