summaryrefslogtreecommitdiffstats
path: root/drivers/net/jme.c
diff options
context:
space:
mode:
authorGuo-Fu Tseng <cooldavid@cooldavid.org>2008-12-04 06:20:04 +0100
committerDavid S. Miller <davem@davemloft.net>2008-12-04 06:20:04 +0100
commite4e6c38cab208b369bfc8e9a57186581bf0b9987 (patch)
tree3a84024d6180b37ce938c4d552d311bbaccff1e9 /drivers/net/jme.c
parentjme: GHC register control fix for new hardware (diff)
downloadlinux-e4e6c38cab208b369bfc8e9a57186581bf0b9987.tar.xz
linux-e4e6c38cab208b369bfc8e9a57186581bf0b9987.zip
jme: Remove 64 and 40 bit dma_mask
Although the hardware supports the 64bit DMA address in design, but later found that it actually not working. This patch reduced the rang to 32bit. Found-by: "Ethan" <ethanhsiao@jmicron.com> Signed-off-by: "Guo-Fu Tseng" <cooldavid@cooldavid.org> Acked-by: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/jme.c')
-rw-r--r--drivers/net/jme.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/jme.c b/drivers/net/jme.c
index e10d9f38662c..15035cb1738a 100644
--- a/drivers/net/jme.c
+++ b/drivers/net/jme.c
@@ -2591,14 +2591,6 @@ static const struct ethtool_ops jme_ethtool_ops = {
static int
jme_pci_dma64(struct pci_dev *pdev)
{
- if (!pci_set_dma_mask(pdev, DMA_64BIT_MASK))
- if (!pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK))
- return 1;
-
- if (!pci_set_dma_mask(pdev, DMA_40BIT_MASK))
- if (!pci_set_consistent_dma_mask(pdev, DMA_40BIT_MASK))
- return 1;
-
if (!pci_set_dma_mask(pdev, DMA_32BIT_MASK))
if (!pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK))
return 0;