Date: Fri, 10 Jun 2011 09:17:15 -0300 From: "Luiz Gustavo S. Costa" <lgcosta@pfsense.org> To: freebsd-current@freebsd.org Subject: udav: vendor 0x0fe6, product: 0x9700 Message-ID: <BANLkTi=1iHxBj-5zkbCj7Ab50m1__aAUTg@mail.gmail.com> In-Reply-To: <BANLkTi=siZJmpxveD201PrFt3XPb%2BCNMFQ@mail.gmail.com> References: <BANLkTi=siZJmpxveD201PrFt3XPb%2BCNMFQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi list, I'm trying to add a new product id [1] to the driver udav and am having a little trouble. At first, this is similar to id 0x8180 and there should be no problems, but I still can not get a PHY for it. Can someone help me? System: freekazoide# uname -a FreeBSD freekazoide.luizgustavo.pro.br 9.0-CURRENT FreeBSD 9.0-CURRENT #5 r222586M: Thu Jun 2 12:11:33 BRT 2011 root@freekazoide.luizgustavo.pro.br:/usr/obj/usr/src/sys/GENERIC i386 Dmesg: ugen0.2: <vendor 0x0fe6> at usbus0 udav0: <vendor 0x0fe6 USB 2.0 10100M Ethernet Adaptor, class 0/0, rev 1.10/1.01, addr 2> on usbus0 udav0: attaching PHYs failed About adapter: [1] http://www.luizgustavo.pro.br/~lgcosta/jp1080/ Patch: diff -r 4dc08fdbcf2f sys/dev/usb/net/if_udav.c --- a/sys/dev/usb/net/if_udav.c Thu Jun 09 18:32:21 2011 -0300 +++ b/sys/dev/usb/net/if_udav.c Thu Jun 09 18:30:38 2011 -0300 @@ -210,6 +210,7 @@ {USB_VPI(USB_VENDOR_SHANTOU, USB_PRODUCT_SHANTOU_ADM8515, 0)}, /* Kontron AG USB Ethernet */ {USB_VPI(USB_VENDOR_KONTRON, USB_PRODUCT_KONTRON_DM9601, 0)}, + {USB_VPI(USB_VENDOR_KONTRON, USB_PRODUCT_KONTRON_JP1082, 0)}, }; static void diff -r 4dc08fdbcf2f sys/dev/usb/usbdevs --- a/sys/dev/usb/usbdevs Thu Jun 09 18:32:21 2011 -0300 +++ b/sys/dev/usb/usbdevs Thu Jun 09 18:30:38 2011 -0300 @@ -2014,6 +2014,7 @@ /* Kontron AG products */ product KONTRON DM9601 0x8101 USB Ethernet +product KONTRON JP1082 0x9700 USB Ethernet /* Konica Corp. Products */ product KONICA CAMERA 0x0720 Digital Color Camera -- /\ Luiz Gustavo S. Costa / \ Programmer at BSD Perimeter / \ /\/\/\ Visit the pfSense Project / \ \ \ http://www.pfsense.org --------------------------------------------------------------------- BSD da serra carioca, Teresopolis (visite: http://miud.in/Inv) Contatos: luizgustavo@luizgustavo.pro.br / lgcosta@pfsense.org Blog: http://www.luizgustavo.pro.br
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=1iHxBj-5zkbCj7Ab50m1__aAUTg>
