Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52f7f3cb authored by Chaojun Wang's avatar Chaojun Wang
Browse files

driver: net: usb: add support AX88179 for SDM845 RB3



enable AX88179 compile for rb3 platform, which is usb to
ethernet convert chip.

Change-Id: I6a7f6c804d36bc4768be7779c31229e326ade2b3
Signed-off-by: default avatarChaojun Wang <chaojun@codeaurora.org>
parent ec12b494
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -1660,6 +1660,19 @@ static const struct driver_info ax88178a_info = {
	.tx_fixup = ax88179_tx_fixup,
};

static const struct driver_info ax88178b_info = {
	.description = "ASIX AX88178B USB 2.0 Gigabit Ethernet",
	.bind = ax88179_bind,
	.unbind = ax88179_unbind,
	.status = ax88179_status,
	.link_reset = ax88179_link_reset,
	.reset = ax88179_reset,
	.stop = ax88179_stop,
	.flags = FLAG_ETHER | FLAG_FRAMING_AX,
	.rx_fixup = ax88179_rx_fixup,
	.tx_fixup = ax88179_tx_fixup,
};

static const struct driver_info cypress_GX3_info = {
	.description = "Cypress GX3 SuperSpeed to Gigabit Ethernet Controller",
	.bind = ax88179_bind,
@@ -1734,6 +1747,10 @@ static const struct usb_device_id products[] = {
	/* ASIX AX88178A 10/100/1000 */
	USB_DEVICE(0x0b95, 0x178a),
	.driver_info = (unsigned long)&ax88178a_info,
}, {
	/* ASIX AX88178A 10/100/1000 */
	USB_DEVICE(0x0b95, 0x178b),
	.driver_info = (unsigned long)&ax88178b_info,
}, {
	/* Cypress GX3 SuperSpeed to Gigabit Ethernet Bridge Controller */
	USB_DEVICE(0x04b4, 0x3610),