Netdev List
 help / color / mirror / Atom feed
From: Michael Riesch <michael@riesch.at>
To: netdev@vger.kernel.org
Cc: David Miller <davem@davemloft.net>
Subject: Driver for Asix AX88172A only?
Date: Fri, 01 Apr 2011 16:53:28 +0200	[thread overview]
Message-ID: <20110401165328.20091msct39m3en4@webmail.df.eu> (raw)

Habidere,

I'm currently working on a driver for the Asix AX88172A  
USB-to-Ethernet chip[1]. It has an Ethernet PHY on-chip, but can work  
with an external PHY as well. Also, the chip provides various  
interfaces (SPI or I2C/UART) and GPIOs.

I have already tried out the asix.c mainline driver, which works with  
the evaluation board. As soon as you add the device-IDs, the driver  
works with the AX88172A's internal PHY. Because I would like to get it  
run with an external PHY (and use the SPI feature), I have also tried  
out the Asix vendor driver. It didn't like my 2.6.38-rc7+ kernel  
(2.6.35 worked), it does not have any "external PHY mode" and it  
supports SPI, I2C.. via ioctls.

Long story short, I want a nice mainline driver. I have heard there is  
some thinking about feeding the vendor code into the kernel[2], I  
would like to support that.

My TODO includes:
* support of an external PHY connected via MII
* support of the SPI interface via the SPI subsystem
* GPIO control via sysfs (is that a nice way?!)
* use of phylib

What do you think: should the mainline driver be adapted to support  
the AX88172A (with all his features) or a new driver for the AX88172A  
only should be created (probably based on the existing mainline driver).

Looking forward to your comments,
Michael

[1] http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=97;71;101
[2] http://marc.info/?t=130013910200004&r=1&w=2



             reply	other threads:[~2011-04-01 14:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-01 14:53 Michael Riesch [this message]
2011-04-01 19:54 ` Driver for Asix AX88172A only? David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110401165328.20091msct39m3en4@webmail.df.eu \
    --to=michael@riesch.at \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox