From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D429E42848B; Wed, 4 Feb 2026 15:08:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770217712; cv=none; b=F/o3JK4pF+Gx6yBzQ/zUWe6AwIZd2bY5JuzxxTOSD50ypD8kgQz4/tAPrxaZ2PRSxin16SUabQ1WFSpfJsOJJmQALJKZttfacNdeYbLVakbCBh970OyTlFwS3Q1xKtcQGVaFT4QqEl/spyXOiJzHFb7QiSalA+IvcMKnMKA+pOw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770217712; c=relaxed/simple; bh=b7bQjR2k8ZvrUqmSkTsYkRvPXjwwkrYfJKaj5dTjioY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=U9j/5RIzB+S2ww7vukyiD6sxM9eeCsiVvo/vVPOvRR50Z4qjXSzdJo4jdivN7IJWSVthSP5zq/cD3/ky3jo2c3CEw0v/Gi3xRvjOni5cWfmcmT5HWI8CzA0WczRS3EP0RWlj9BUeMm84/3l4CXQmwtyFxAQ93jC3wx6FpxE2zHg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=z+IwCSnm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="z+IwCSnm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52215C4CEF7; Wed, 4 Feb 2026 15:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770217712; bh=b7bQjR2k8ZvrUqmSkTsYkRvPXjwwkrYfJKaj5dTjioY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=z+IwCSnm0IiRaqTwLdZR8YSrtP3R6eO2+vpvik3VPX1itZfgomxQ+4Ve66bPJ3cF1 IzaNQ3CM7EdcSDeLyMssDYZC8fNWXc92Q+j2PwXYyNsWapKCtlQOTSkSr14WZKSXxM 3PpzIKAsMabnDbpneS4z3oz2MjA62Fl+bZLOx8Vs= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ethan Nelson-Moore , Peter Korsgaard , Jakub Kicinski , Sasha Levin Subject: [PATCH 6.1 097/280] net: usb: dm9601: remove broken SR9700 support Date: Wed, 4 Feb 2026 15:37:51 +0100 Message-ID: <20260204143913.143297355@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260204143909.614719725@linuxfoundation.org> References: <20260204143909.614719725@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ethan Nelson-Moore [ Upstream commit 7d7dbafefbe74f5a25efc4807af093b857a7612e ] The SR9700 chip sends more than one packet in a USB transaction, like the DM962x chips can optionally do, but the dm9601 driver does not support this mode, and the hardware does not have the DM962x MODE_CTL register to disable it, so this driver drops packets on SR9700 devices. The sr9700 driver correctly handles receiving more than one packet per transaction. While the dm9601 driver could be improved to handle this, the easiest way to fix this issue in the short term is to remove the SR9700 device ID from the dm9601 driver so the sr9700 driver is always used. This device ID should not have been in more than one driver to begin with. The "Fixes" commit was chosen so that the patch is automatically included in all kernels that have the sr9700 driver, even though the issue affects dm9601. Fixes: c9b37458e956 ("USB2NET : SR9700 : One chip USB 1.1 USB2NET SR9700Device Driver Support") Signed-off-by: Ethan Nelson-Moore Acked-by: Peter Korsgaard Link: https://patch.msgid.link/20260113063924.74464-1-enelsonmoore@gmail.com Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- drivers/net/usb/dm9601.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/usb/dm9601.c b/drivers/net/usb/dm9601.c index 8b6d6a1b3c2ec..2b4716ccf0c5b 100644 --- a/drivers/net/usb/dm9601.c +++ b/drivers/net/usb/dm9601.c @@ -603,10 +603,6 @@ static const struct usb_device_id products[] = { USB_DEVICE(0x0fe6, 0x8101), /* DM9601 USB to Fast Ethernet Adapter */ .driver_info = (unsigned long)&dm9601_info, }, - { - USB_DEVICE(0x0fe6, 0x9700), /* DM9601 USB to Fast Ethernet Adapter */ - .driver_info = (unsigned long)&dm9601_info, - }, { USB_DEVICE(0x0a46, 0x9000), /* DM9000E */ .driver_info = (unsigned long)&dm9601_info, -- 2.51.0