git: a53541355645 - main - devd: remove pccard entries

Warner Losh imp at FreeBSD.org
Thu Jul 15 22:18:19 UTC 2021


The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=a53541355645080cb6d94466f5363db0941da4fa

commit a53541355645080cb6d94466f5363db0941da4fa
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-07-15 22:17:33 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-07-15 22:17:33 +0000

    devd: remove pccard entries
    
    The pccard entries are now obsolete, remove them.
    
    Sponsored by:           Netflix
    Differential Revision:  https://reviews.freebsd.org/D31184
---
 sbin/devd/devd.conf | 37 +------------------------------------
 1 file changed, 1 insertion(+), 36 deletions(-)

diff --git a/sbin/devd/devd.conf b/sbin/devd/devd.conf
index 9d23b77fe96a..d88f1fde743c 100644
--- a/sbin/devd/devd.conf
+++ b/sbin/devd/devd.conf
@@ -179,23 +179,8 @@ nomatch 10 {
 		bus $bus";
 };
 
-# Some PC-CARDs don't offer numerical manufacturer/product IDs, just
+# Some Cardbus cards don't offer numerical manufacturer/product IDs, just
 # show the CIS info there.
-nomatch 20 {
-	match "bus" "pccard[0-9]+";
-	match "manufacturer" "0xffffffff";
-	match "product" "0xffffffff";
-	action "logger Unknown PCCARD device: CISproduct $cisproduct \
-		CIS-vendor $cisvendor bus $bus";
-};
-
-nomatch 10 {
-	match "bus" "pccard[0-9]+";
-	action "logger Unknown PCCARD device: manufacturer $manufacturer \
-		product $product CISproduct $cisproduct CIS-vendor \
-		$cisvendor bus $bus";
-};
-
 nomatch 10 {
 	match "bus" "cardbus[0-9]+";
 	action "logger Unknown Cardbus device: device $device class $class \
@@ -234,26 +219,6 @@ notify 10 {
 
 /* EXAMPLES TO END OF FILE
 
-# An example of something that a vendor might install if you were to
-# add their device.  This might reside in /usr/local/etc/devd/deqna.conf.
-# A deqna is, in this hypothetical example, a pccard ethernet-like device.
-# Students of history may know other devices by this name, and will get
-# the in-jokes in this entry.
-nomatch 10 {
-	match "bus" "pccard[0-9]+";
-	match "manufacturer" "0x1234";
-	match "product" "0x2323";
-	action "kldload -n if_deqna";
-};
-attach 10 {
-	device-name "deqna[0-9]+";
-	action "/etc/pccard_ether $device-name start";
-};
-detach 10 {
-	device-name "deqna[0-9]+";
-	action "/etc/pccard_ether $device-name stop";
-};
-
 # Examples of notify hooks.  A notify is a generic way for a kernel
 # subsystem to send event notification to userland.
 


More information about the dev-commits-src-all mailing list