mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 4/4] net usb asix: add AX88772B USB ID
@ 2014-01-22 22:52 Philipp Zabel
  0 siblings, 0 replies; only message in thread
From: Philipp Zabel @ 2014-01-22 22:52 UTC (permalink / raw)
  To: barebox; +Cc: Marek Vasut

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
---
 drivers/net/usb/asix.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c
index 085d728..b58db5d 100644
--- a/drivers/net/usb/asix.c
+++ b/drivers/net/usb/asix.c
@@ -692,6 +692,16 @@ static struct driver_info ax88772_info = {
 	.tx_fixup = asix_tx_fixup,
 };
 
+static struct driver_info ax88772b_info = {
+	.description = "ASIX AX88772B USB 2.0 Ethernet",
+	.bind = ax88772_bind,
+	.unbind = asix_unbind,
+        .flags = FLAG_ETHER | FLAG_FRAMING_AX,
+        .rx_fixup = asix_rx_fixup,
+        .tx_fixup = asix_tx_fixup,
+        .data = FLAG_EEPROM_MAC,
+};
+
 static const struct usb_device_id products [] = {
 {
 	// Linksys USB200M
@@ -773,6 +783,10 @@ static const struct usb_device_id products [] = {
 	// Cables-to-Go USB Ethernet Adapter
 	USB_DEVICE(0x0b95, 0x772a),
 	.driver_info = &ax88772_info,
+}, {
+	// LevelOne USB Fast Ethernet Adapter
+	USB_DEVICE(0x0b95, 0x772b),
+	.driver_info = &ax88772b_info,
 },
 	{ },		// END
 };
-- 
1.8.5.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-22 22:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-22 22:52 [PATCH 4/4] net usb asix: add AX88772B USB ID Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox