Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/sys/dev/usb



Module Name:    src
Committed By:   martin
Date:           Thu Jan 12 12:09:18 UTC 2023

Modified Files:
        src/sys/dev/usb [netbsd-10]: ukbd.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #43):

        sys/dev/usb/ukbd.c: revision 1.162

ukbd(4): remember how much of attach worked so detach works.

if ukbd_attach() fails it means it has only really done the pmf
setup, nothing else, so avoid trying to remove callouts, child
devices, or console setup, usb task and uhidev operations.
fixes the crash (but not the underlying ukbd doesn't work issue)
seen in PR#57149.


To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.161.4.1 src/sys/dev/usb/ukbd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index