Author: weongyo
Date: Tue Jan 19 01:33:56 2010
New Revision: 202610
URL: http://svn.freebsd.org/changeset/base/202610

Log:
  adds a hardware specific configuration file for uath(4).
  
  Pointed by:   sam
  Reviewed by:  imp, thompsa

Added:
  head/etc/devd/uath.conf   (contents, props changed)
Modified:
  head/etc/devd/Makefile

Modified: head/etc/devd/Makefile
==============================================================================
--- head/etc/devd/Makefile      Tue Jan 19 01:26:40 2010        (r202609)
+++ head/etc/devd/Makefile      Tue Jan 19 01:33:56 2010        (r202610)
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-FILES= asus.conf
+FILES= asus.conf uath.conf
 
 NO_OBJ=
 FILESDIR=      /etc/devd

Added: head/etc/devd/uath.conf
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/etc/devd/uath.conf     Tue Jan 19 01:33:56 2010        (r202610)
@@ -0,0 +1,120 @@
+# $FreeBSD$
+#
+# Atheros USB wireless network device specific devd events
+
+# Accton
+#   SMCWUSB-G and SMCWUSBT-G2
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x083a";
+       match "product" "(0x4505|0x4507)";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# Atheros Communications
+#   AR5523
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x168c";
+       match "product" "0x0002";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# Atheros Communications
+#   AR5523
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x0cf3";
+       match "product" "(0x0002|0x0004|0x0006)";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# Conceptronic
+#   AR5523
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x0d8e";
+       match "product" "(0x7802|0x7812)";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# D-Link
+#   DWL-AG132, DWL-G132 and DWL-AG122
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x2001";
+       match "product" "(0x3a01|0x3a03|0x3a05)";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# D-Link
+#  DWA-120
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x07d1";
+       match "product" "0x3a0c";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# Gigaset
+#   SMCWUSBT-G
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x1690";
+       match "product" "(0x0711|0x0713)";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# Global Sun Technology
+#   AR5523
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x16ab";
+       match "product" "(0x7802|0x7812)";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# BayNETGEAR
+#   WG111U
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x0846";
+       match "product" "0x4301";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# Netgear
+#   WG111T and WPN111
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x1385";
+       match "product" "(0x4251|0x5f01)";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# U-MEDIA Communications
+#   TEW-444UB and AR5523
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x157e";
+       match "product" "(0x3007|0x3206)";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# Wistron NeWeb
+#   AR5523
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x1435";
+       match "product" "(0x0827|0x0829)";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
+
+# Z-Com
+#   AR5523
+attach 100 {
+       device-name "ugen[0-9.]+";
+       match "vendor" "0x0cde";
+       match "product" "0x0013";
+       action "/usr/sbin/uathload -d /dev/$device-name";
+};
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to