Date: Thu, 17 Aug 2006 17:10:02 +0500 (AZST) From: "Tofig Suleymanov" <tofik@oxygen.az> To: usb@freebsd.org Subject: USB_ATTACH_SETUP macros question Message-ID: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38>
index | next in thread | raw e-mail
Hello hackers,
is there anybody to explain why do we have infinite loop inside of
USB_ATTACH_SETUP macros inside of usb_port.h ? How does his loop gets
escaped when we use it in some usb driver ?
#define USB_ATTACH_SETUP \
do { \
sc->sc_dev = self; \
device_set_desc_copy(self, devinfo); \
device_printf(self, "%s\n", devinfo); \
} while (0);
Thank you !
Tofig Suleymanov
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35069.85.132.32.38.1155816624.squirrel>
