FreeBSD Bugzilla – Attachment 74630 Details for
Bug 107924
[usb67] usbd(8) does not call detach
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 931 bytes, created by
jhs
on 2007-01-14 20:10:15 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
jhs
Created:
2007-01-14 20:10:15 UTC
Size:
931 bytes
patch
obsolete
>*** 6.1-RELEASE/src/usr.sbin/usbd/usbd.c Fri Jul 1 17:49:52 2005 >--- new-generic/src/usr.sbin/usbd/usbd.c Wed Jan 10 01:54:54 2007 >*************** >*** 879,886 **** >--- 879,891 ---- > > devinfo = &events.u.ue_device; > for (i = 0; i < USB_MAX_DEVNAMES; i++) { >+ printf(" \nJHS1\n" ); > if (devinfo->udi_devnames[i][0] == '\0') > break; >+ /* This break is a problem it prevents >+ USB_EVENT_IS_DETACH being run at JHS3 >+ */ >+ printf(" \nJHS2\n" ); > > memcpy(&the_event, &events, sizeof(the_event)); > the_devinfo = &the_event.u.ue_device; >*************** >*** 925,930 **** >--- 930,936 ---- > if (USB_EVENT_IS_ATTACH(the_event.ue_type) && > action_match.action->attach) > execute_command(action_match.action->attach); >+ printf(" \nJHS3\n" ); > if (USB_EVENT_IS_DETACH(the_event.ue_type) && > action_match.action->detach) > execute_command(action_match.action->detach);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 107924
:
74629
| 74630