From 7e4161c1096958afd60c878743cb4f8df226cfcb Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 2 Nov 2018 22:15:30 +0000 Subject: Document r226775: tell why we omit usbus[0-9]+ tcpdump can capture packet traces from the usb bus. usbus[0-9] are registered as ifnet devices so this can work. When these devices come up, devd was trying to run pccard_ether on those interfaces, which didn't exist and generated an error. --- sbin/devd/devd.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sbin/devd') diff --git a/sbin/devd/devd.conf b/sbin/devd/devd.conf index 956a2970d436..730591e90d0e 100644 --- a/sbin/devd/devd.conf +++ b/sbin/devd/devd.conf @@ -33,7 +33,9 @@ options { # # Configure the interface on attach. Due to a historical accident, this -# script is called pccard_ether. +# script is called pccard_ether. We omit the usbus devices because those +# devices are assocaited with the USB Bus and provide a tcpdump point +# to capture USB packets. # # NB: DETACH events are ignored; the kernel should handle all cleanup # (routes, arp cache). Beware of races against immediate create -- cgit v1.2.3