Date: Sun, 13 Aug 2006 15:14:28 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 103772 for review Message-ID: <200608131514.k7DFESgp035155@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103772 Change 103772 by hselasky@hselasky_mini_itx on 2006/08/13 15:13:51 Add some more debugging statements. Bugfix: Make sure that D_TRACKCLOSE is set for cdevs created by the USB cdev system. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_cdev.c#5 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_cdev.c#5 (text+ko) ==== @@ -943,12 +943,16 @@ mtx_unlock(&Giant); + DPRINTF(0, "x=0x%08x\n", x); + return x; } static void usb_cdev_free_minor(u_int32_t x) { + DPRINTF(0, "x=0x%08x\n", x); + if (x & 0x00FF00) { /* invalid minor */ return; @@ -1351,4 +1355,5 @@ .d_ioctl = usb_cdev_ioctl, .d_poll = usb_cdev_poll, .d_name = "usb_cdev", + .d_flags = D_TRACKCLOSE, };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608131514.k7DFESgp035155>