aboutsummaryrefslogtreecommitdiff
path: root/sbin/devd
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-11-02 22:15:30 +0000
committerWarner Losh <imp@FreeBSD.org>2018-11-02 22:15:30 +0000
commit7e4161c1096958afd60c878743cb4f8df226cfcb (patch)
tree73b372fbd2a4b7423c6143dfc9ccbe8be389c4e6 /sbin/devd
parent50b53a8dc35f38ab6920dd83409541e875d01551 (diff)
downloadsrc-7e4161c1096958afd60c878743cb4f8df226cfcb.tar.gz
src-7e4161c1096958afd60c878743cb4f8df226cfcb.zip
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.
Notes
Notes: svn path=/head/; revision=340086
Diffstat (limited to 'sbin/devd')
-rw-r--r--sbin/devd/devd.conf4
1 files changed, 3 insertions, 1 deletions
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