Re: ASIX USB-to-Ethernet drivers
On Sunday 29 November 2009 22:23:35 Pyun YongHyeon wrote: For the moment, I've patched /sys/dev/usb/usbdevs and /sys/dev/usb/net/axe to treat the AX88772A as if it were an AX88772 (patch submitted as PR 140923) so that I can get my systems Maybe Hans can handle this. I think I committed this to USB P4. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: ASIX USB-to-Ethernet drivers
On Sun, Nov 29, 2009 at 05:03:44PM -0700, Brett Glass wrote: At 02:23 PM 11/29/2009, Pyun YongHyeon wrote: I think the large number of interrupts has nothing to do with axe(4). Almost all USB ethernet controllers are poorly designed to save cost so you can't expect reasonable performance from it and you should have fast CPU to copy received frames in a buffer. It's worse than rl(4) controllers. Are there any that are better? I have several machines here that I will be using as embedded systems. They have one Ethernet interface each, and I need some of them to have two. The only other non-USB ports on these machines are video and CompactFlash. If you had redundant mini PCI/PCIe slot I would have recommended to avoid USB based ethernet controllers. I've thought about using VLAN tagging and VLAN switch to double up the Ethernet port, but this is quite expensive. So, I need the best USB Ethernet I can get. I chose the AX88772A because it seems to be a better solution than the Davicom DM9601 (which is USB 1.0 only). The AX88178 has more buffer space, but I am having trouble finding reasonably priced adapters that use it. --Brett Glass ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
ASIX USB-to-Ethernet drivers
Everyone: Just tried to plug an ASIX-based USB-to-Ethernet interface into a system running FreeBSD 8.0-RELEASE, and discovered that it wasn't recognized. It turns out that ASIX has come out with a new version of one of its chips: the AX88772A. It has a smaller package with fewer pins, slightly less buffer memory, and a serial interface so that it can also support power line networking (see http://www.asix.com.tw/products.php?op=ProductListPLine=71PSeries=100). The AX88772 is being phased out by most interface manufacturers because the A chip is smaller and cheaper and takes up less board space. I am sure that I will not be the only person who is frustrated when plugging in an interface that looks the same as the older ones and finding that it doesn't work! I've discovered that the existing axe(4) driver for FreeBSD seems to work on the AX88772A without any changes if it is told to treat the chip like an AX88772. (It may not be optimal, because the ASIX Linux driver code does differentiate between the two. And the command systat -vmstat 1 does show a lot of IRQs -- about one per millisecond. Also, the link light on the interface does not work, though this is a minor nit that I can live with. But the interface does at least run.) For the moment, I've patched /sys/dev/usb/usbdevs and /sys/dev/usb/net/axe to treat the AX88772A as if it were an AX88772 (patch submitted as PR 140923) so that I can get my systems working. But it would probably be a good idea to do more thorough testing --Brett Glass ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org