usb_get_addr - Retrieve device USB address
#include <sys/usb/usba.h> int usb_get_addr(dev_info_t *dip);
Solaris DDI specific (Solaris DDI)
dip
The usb_get_addr() function returns the current USB bus address for debugging purposes. The returned address is unique for a specific USB bus, and may be replicated if multiple host controller instances are present on the system.
On success: USB device address.
On failure: returns 0. Fails if dip is NULL.
May be called from user, kernel or interrupt context.
int usb_addr; usb_addr = usb_get_addr(dip);
See attributes(5) for descriptions of the following attributes:
|
attributes(5), usb_pipe_open(9F)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |