| To: | Pekka Pietikainen <pp@xxxxxxxxxx> |
|---|---|
| Subject: | Re: Dealing with buggy hardware (was: b44 and 4g4g) |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Sat, 5 Jun 2004 13:19:23 -0700 |
| Cc: | netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx |
| In-reply-to: | <20040605200643.GA2210@xxxxxxxxxx> |
| References: | <20040531202104.GA8301@xxxxxxxxxx> <20040605200643.GA2210@xxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Sat, 5 Jun 2004 23:06:44 +0300
Pekka Pietikainen <pp@xxxxxxxxxx> wrote:
> + if(virt_to_bus(skb->data) + skb->len > B44_PCI_DMA_MAX) {
You can't use this non-portable interface, you have to:
1) pci_map the data
2) test the dma_addr_t returned
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Dealing with buggy hardware (was: b44 and 4g4g), Pekka Pietikainen |
|---|---|
| Next by Date: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing, David S. Miller |
| Previous by Thread: | Dealing with buggy hardware (was: b44 and 4g4g), Pekka Pietikainen |
| Next by Thread: | Re: Dealing with buggy hardware (was: b44 and 4g4g), Pekka Pietikainen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |