CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2023/07/23 05:42:44

Modified files:
        sys/dev/fdt    : tipd.c 

Log message:
Prevent spurious connection events after resume by caching the current
plug state and comparing it with the current plug state when we receive
in interrupt.  Only call the connect/disconnect callbacks registered for
the port if the state really changed.  This prevents an spurious
attach/detach/attach sequence when resuming with a USB device connected.

ok patrick@

Reply via email to