public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matt Porter <mporter@kernel.crashing.org>
To: john.ronciak@intel.com, ganesh.venkatesan@intel.com,
	scott.feldman@intel.com
Cc: jgarzik@pobox.com, linux-kernel@vger.kernel.org
Subject: [PATCH] Fix e100 for non coherent arches
Date: Tue, 18 May 2004 15:35:38 -0700	[thread overview]
Message-ID: <20040518153538.A2660@home.com> (raw)

Corrects pci_map_single() direction arg.

-Matt

===== drivers/net/e100.c 1.11 vs edited =====
--- 1.11/drivers/net/e100.c	Tue Apr 20 15:55:32 2004
+++ edited/drivers/net/e100.c	Tue May 18 15:25:01 2004
@@ -1397,7 +1397,7 @@
 	skb_reserve(rx->skb, rx_offset);
 	memcpy(rx->skb->data, &nic->blank_rfd, sizeof(struct rfd));
 	rx->dma_addr = pci_map_single(nic->pdev, rx->skb->data,
-		RFD_BUF_LEN, PCI_DMA_FROMDEVICE);
+		RFD_BUF_LEN, PCI_DMA_BIDIRECTIONAL);
 
 	/* Link the RFD to end of RFA by linking previous RFD to
 	 * this one, and clearing EL bit of previous.  */

                 reply	other threads:[~2004-05-18 22:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040518153538.A2660@home.com \
    --to=mporter@kernel.crashing.org \
    --cc=ganesh.venkatesan@intel.com \
    --cc=jgarzik@pobox.com \
    --cc=john.ronciak@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=scott.feldman@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox