Re: [PATCH 1/1] net: add dm9620 net usb driver

2013-07-05 Thread Peter Korsgaard
Joseph == Joseph Chang joseph_ch...@davicom.com.tw writes: Hi, Joseph This is Joseph CHANG, I am glade to contact and work with Joseph you. I am busy in some affairs else these days, and will Joseph like to be back soon. Joseph For the begin, We copy the source code 'dm9601.c'

RE: [PATCH 1/1] net: add dm9620 net usb driver

2013-07-03 Thread Joseph Chang
[mailto:jac...@gmail.com] On Behalf Of Peter Korsgaard Sent: Monday, June 24, 2013 4:01 AM To: Joseph CHANG Cc: Greg Kroah-Hartman; linux-ker...@vger.kernel.org; linux-usb@vger.kernel.org; net...@vger.kernel.org; joseph_ch...@davicom.com.tw; josri...@hotmail.com Subject: Re: [PATCH 1/1] net: add dm9620

Re: [PATCH 1/1] net: add dm9620 net usb driver

2013-06-23 Thread Peter Korsgaard
Joseph == Joseph CHANG josright...@gmail.com writes: Joseph DM9620 is an USB2.0 network adapter rather than DM9601 USB1.1. This Joseph driver processed the RX data 4 bytes header, TX data 2 bytes header, Joseph make the control bit exactly right in PHY write function, and optional Joseph

[PATCH 1/1] net: add dm9620 net usb driver

2013-06-20 Thread Joseph CHANG
DM9620 is an USB2.0 network adapter rather than DM9601 USB1.1. This driver processed the RX data 4 bytes header, TX data 2 bytes header, make the control bit exactly right in PHY write function, and optional IFF_ALLMUTLI bit for RX control. Tested good for many platforms, include X86 desktop and

[PATCH 1/1] net: add dm9620 net usb driver

2013-06-19 Thread Joseph CHANG
DM9620 is an USB2.0 network adapter rather than DM9601 USB1.1. This driver processed the RX data with 4 bytes header, TX 2 bytes header, make the control bit exactly right in PHY write operation, and optional IFF_ALLMULTI bit for RX control. Tested good for many platforms, include X86 desktop and

Re: [PATCH 1/1] net: add dm9620 net usb driver

2013-06-19 Thread Andi Shyti
Hi Joseph, had a fast look... [ ... ] +static int dm9620_set_eeprom(struct net_device *net, + struct ethtool_eeprom *eeprom, u8 *data) +{ + struct usbnet *dev = netdev_priv(net); + int offset = eeprom-offset; + int len = eeprom-len; + int done; + + if