Subject: Patch for SMC 2662W usb
To: None <current-users@NetBSD.org>
From: Jaime A Fournier <ober@linbsd.org>
List: current-users
Date: 09/21/2006 23:23:29
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-627401819-1158899009=:18720
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

This patch has values taken from openbsd usbdevs and if_atu.c
The device works fine on -current once I added them.


------------------------------cut here----------------------------
--- src/sys/dev/usb/usbdevs.orig        2006-09-03 13:30:23.000000000 
-0500
+++ src/sys/dev/usb/usbdevs     2006-09-21 22:40:37.000000000 -0500
@@ -1753,6 +1753,7 @@
  product SMC 2206USB            0x0201  EZ Connect USB Ethernet Adapter
  product SMC 2862WG             0xee13  EZ Connect g Wireless USB Adapter
  product SMC2 2020HUB            0x2020  USB Hub
+product SMC3 2662WV1           0xa001  EZ Connect 11Mbps
  product SMC3 2662WUSB          0xa002  2662W-AR Wireless Adapter

  /* SOHOware products */
--- src/sys/dev/usb/if_atu.c.orig       2006-05-22 16:01:15.000000000 
-0500
+++ src/sys/dev/usb/if_atu.c    2006-09-21 22:39:15.000000000 -0500
@@ -143,6 +143,8 @@
           RadioIntersil,        ATU_NO_QUIRK },
         { USB_VENDOR_OQO,       USB_PRODUCT_OQO_WIFI01,
           RadioRFMD2958_SMC,    ATU_QUIRK_NO_REMAP | ATU_QUIRK_FW_DELAY },
+       { USB_VENDOR_SMC3,        USB_PRODUCT_SMC3_2662WV1,
+         RadioIntersil,        ATU_NO_QUIRK },
  };

  struct atu_radfirm {
----------------------------------------------------------------------------
dmesg output for the driver.

atu0: reattaching after firmware upload
atu0: at uhub0 port 1 (addr 2) disconnected
atu0 detached
atu0 at uhub0 port 1 configuration 1 interface 0
atu0: Standard Microsystems EZ Connect 11Mbps, rev 1.10/1.00, addr 2
atu0: MAC address 00:04:e2:1b:63:bb

Seems to work fine.

Could this be back ported to 4beta?

Thanks!

-Ober

p.s. same patch attached just in case that is the proper method to submit 
these.
--0-627401819-1158899009=:18720
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=diff
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.BSO.4.62.0609212323290.18720@dns2.linbsd.org>
Content-Description: 
Content-Disposition: attachment; filename=diff

LS0tIHNyYy9zeXMvZGV2L3VzYi91c2JkZXZzLm9yaWcJMjAwNi0wOS0wMyAx
MzozMDoyMy4wMDAwMDAwMDAgLTA1MDANCisrKyBzcmMvc3lzL2Rldi91c2Iv
dXNiZGV2cwkyMDA2LTA5LTIxIDIyOjQwOjM3LjAwMDAwMDAwMCAtMDUwMA0K
QEAgLTE3NTMsNiArMTc1Myw3IEBADQogcHJvZHVjdCBTTUMgMjIwNlVTQgkJ
MHgwMjAxCUVaIENvbm5lY3QgVVNCIEV0aGVybmV0IEFkYXB0ZXINCiBwcm9k
dWN0IFNNQyAyODYyV0cJCTB4ZWUxMwlFWiBDb25uZWN0IGcgV2lyZWxlc3Mg
VVNCIEFkYXB0ZXINCiBwcm9kdWN0IFNNQzIgMjAyMEhVQiAgICAgICAgICAg
IDB4MjAyMCAgVVNCIEh1Yg0KK3Byb2R1Y3QgU01DMyAyNjYyV1YxCQkweGEw
MDEJRVogQ29ubmVjdCAxMU1icHMNCiBwcm9kdWN0IFNNQzMgMjY2MldVU0IJ
CTB4YTAwMgkyNjYyVy1BUiBXaXJlbGVzcyBBZGFwdGVyDQogDQogLyogU09I
T3dhcmUgcHJvZHVjdHMgKi8NCi0tLSBzcmMvc3lzL2Rldi91c2IvaWZfYXR1
LmMub3JpZwkyMDA2LTA1LTIyIDE2OjAxOjE1LjAwMDAwMDAwMCAtMDUwMA0K
KysrIHNyYy9zeXMvZGV2L3VzYi9pZl9hdHUuYwkyMDA2LTA5LTIxIDIyOjM5
OjE1LjAwMDAwMDAwMCAtMDUwMA0KQEAgLTE0Myw2ICsxNDMsOCBAQA0KIAkg
IFJhZGlvSW50ZXJzaWwsCUFUVV9OT19RVUlSSyB9LA0KIAl7IFVTQl9WRU5E
T1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