Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752726AbbKLBVA (ORCPT ); Wed, 11 Nov 2015 20:21:00 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:58085 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752216AbbKLBU6 (ORCPT ); Wed, 11 Nov 2015 20:20:58 -0500 X-AuditID: cbfee68e-f791c6d000001498-67-5643e9788539 Date: Thu, 12 Nov 2015 01:20:56 +0000 (GMT) From: Jongman Heo Subject: Re: Re: [4.4 regression] 46a7fd8a : pcnet32: use pci_set_dma_mask insted of pci_dma_supported To: Christoph Hellwig , "linux-kernel@vger.kernel.org" Cc: "pcnet32@frontier.com" Reply-to: jongman.heo@samsung.com MIME-version: 1.0 X-MTR: 20151112011904017@jongman.heo Msgkey: 20151112011904017@jongman.heo X-EPLocale: ko_KR.euc-kr X-Priority: 3 X-EPWebmail-Msg-Type: personal X-EPWebmail-Reply-Demand: 0 X-EPApproval-Locale: X-EPHeader: ML X-MLAttribute: X-RootMTR: 20151112011904017@jongman.heo X-ParentMTR: X-ArchiveUser: X-CPGSPASS: N X-ConfirmMail: N,general Content-type: text/plain; charset=euc-kr MIME-version: 1.0 Message-id: <1585626885.845751447291255492.JavaMail.weblogic@ep2mlwas01c> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrEIsWRmVeSWpSXmKPExsWyRsSkRLfipXOYwZT7PBaXd81hc2D0+LxJ LoAxissmJTUnsyy1SN8ugSvj6o+Qgl3cFRNv7mFsYJzA3cXIySEkoCZx8/MhRhBbQsBE4uDE 7SwQtpjEhXvr2SBqljJKrJ2dDVOztXM5I0R8DqPE0i1cIDaLgKpEW+9uZhCbTUBHouP/ftYu Rg4OYYE0iau/LEHCIgKpEj9v/gIbzyxgKLH2dyvUGEWJa0sXg63iFRCUODnzCdQJKhK7Nn5j hYirSnybfYcJIi4hMWv6BVYIm1diRvtTqHo5iWlf1zBD2NIS52dtY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r4Clx9vw31gmMsrOQpGYhaZ+FpB1ZzQJGllWM oqkFyQXFSekVRnrFibnFpXnpesn5uZsYwSno2aIdjP/OWx9iFOBgVOLhnTDTOUyINbGsuDL3 EKMEB7OSCG/APKAQb0piZVVqUX58UWlOavEhRlNgpE1klhJNzgemx7ySeENjYxMzE1NLEwsD U3Mlcd436RphQgLpiSWp2ampBalFMH1MHJxSDYy3Hs5n5K+U96+Xs1Z5VX3NKUbz4X+RpbXL W2Of7coscJNJ9NW59XmLa/eFvseiHmtuzTg8ec08uY8nOZqX/s+7xm5xK0NOKFzKy+/G1S5z geXtmYdPMCRozU4sjW74r+Vy5ObND3nRb9hv/7+xqjTlaY61QcrSf0z1CudZV/3Wl/zAnHrl bqoSS3FGoqEWc1FxIgDMOsouVwMAAA== DLP-Filter: Pass X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id tAC1L54b011147 Content-Length: 1196 Lines: 32 > > ------- Original Message ------- > Sender : Christoph Hellwig > Date : 2015-11-11 20:58 (GMT+09:00) > Title : Re: [4.4 regression] 46a7fd8a : pcnet32: use pci_set_dma_mask insted of pci_dma_supported > > Can you try the patch below? > > diff --git a/drivers/net/ethernet/amd/pcnet32.c b/drivers/net/ethernet/amd/pcnet32.c > index e2afabf..7ccebae 100644 > --- a/drivers/net/ethernet/amd/pcnet32.c > +++ b/drivers/net/ethernet/amd/pcnet32.c > @@ -1500,10 +1500,11 @@ pcnet32_probe_pci(struct pci_dev *pdev, const struct pci_device_id *ent) > return -ENODEV; > } > > - if (!pci_set_dma_mask(pdev, PCNET32_DMA_MASK)) { > + err = pci_set_dma_mask(pdev, PCNET32_DMA_MASK); > + if (err) { > if (pcnet32_debug & NETIF_MSG_PROBE) > pr_err("architecture does not support 32bit PCI busmaster DMA\n"); > - return -ENODEV; > + return err; > } > if (!request_region(ioaddr, PCNET32_TOTAL_SIZE, "pcnet32_probe_pci")) { > if (pcnet32_debug & NETIF_MSG_PROBE) > Yes, now ethernet device works with the patch. Thanks, Jongman Heo.????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?