Re: Dealing with buggy hardware (was: b44 and 4g4g)
From: David S. Miller
Date: Sat Jun 05 2004 - 15:24:03 EST
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/