From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752975AbcFFOQ1 (ORCPT ); Mon, 6 Jun 2016 10:16:27 -0400 Received: from ausc60pc101.us.dell.com ([143.166.85.206]:30704 "EHLO ausc60pc101.us.dell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751736AbcFFOPi (ORCPT ); Mon, 6 Jun 2016 10:15:38 -0400 DomainKey-Signature: s=smtpout; d=dell.com; c=nofws; q=dns; h=X-LoopCount0:X-IronPort-AV:From:To:Cc:Subject:Date: Message-Id:X-Mailer; b=mRuTqQxGQ/XkBeExPsJ0ZtHYzfm+Fgz7mv4DKPpp4bvVDtpHT5gJl3Ym q0mCr+bvDBqBcWQ71MPzGhThALbzN/3GwXeqy96Kbwu/2tB8UtQwUDy6g Wmz1iO5YkdXFqdsPyYIcdgEPIrA+3A+gxLSWXSHtr3CBFtM3tuyx6wHUG 4=; X-LoopCount0: from 10.209.151.17 X-IronPort-AV: E=Sophos;i="5.26,427,1459832400"; d="scan'208";a="942054161" From: Mario Limonciello To: hayeswang@realtek.com Cc: LKML , Netdev , Linux USB , pali.rohar@gmail.com, anthony.wong@canonical.com, Greg KH , Mario Limonciello Subject: [PATCH v3] r8152: Add support for setting pass through MAC address on RTL8153-AD Date: Mon, 6 Jun 2016 09:15:20 -0500 Message-Id: <1465222521-7217-1-git-send-email-mario_limonciello@dell.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since this is a Realtek feature, I feel this shouldn't be moved into a platform MAC address lookup. The code should only be run when the correct Realtek device is plugged in. Changes from v2: * Only apply to RTL8153-AD w/ eFuse pass through mac address pass thru bit set. * Drop matching DMI information on Dell. Although this is implemented on Dell, this is a Realtek feature that may may be implemented on other OEMs as well. * Test that pass through MAC address is valid, fall back to HW address if invalid. * Don't track status of which device has MAC pass through activated. - Expected experience is that if two docks (RTL8153-AD's w/ mac pass thru bit set) were plugged in both should have MAC pass through activated. Mario Limonciello (1): r8152: Add support for setting pass through MAC address on RTL8153-AD drivers/net/usb/r8152.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) -- 2.7.4