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:           Sat Oct 14 07:03:10 UTC 2023

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

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #415):

        sys/dev/usb/usbnet.c: revision 1.115
        sys/dev/usb/usbnet.c: revision 1.116
        sys/dev/usb/usbnet.c: revision 1.117
        sys/dev/usb/usbnet.c: revision 1.118

usbnet(9): Make sure unp->unp_if_flags is initialized on init.
usbnet_ifflags_cb is only called if the flags change while up and
running.  (XXX Maybe it should be called in other circumstances too
so there's only one path here?)
Out of paranoia, clear the cache on stop.
PR kern/57645

usbnet(9): Fix sense of conditional in usbnet_ifflags_cb.
This appears to have been mistranscribed in revision 1.1 of usbnet.c.
PR kern/57645

usbnet(9): On if_init, stop/init if IFF_RUNNING -- not noop.
ether_ioctl(9) relies on this to reinitialize an interface when a
flags change returns ENETRESET.  We can't just reprogram the hardware
multicast filter because some drivers have logic in if_init that's
conditional on IFF_PROMISC; perhaps we can reduce the cost of this if
we can change those drivers to do it in uno_mcast but that requires
some analysis to determine.
PR kern/57645

usbnet(9): Fix typo in comment.
No functional change intended.
PR kern/57645


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.113.4.1 src/sys/dev/usb/usbnet.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