Re: Problem with NETIF_F_HIGHDMA

From: Chris Wright
Date: Wed Feb 22 2006 - 14:01:56 EST


* Corey Minyard (minyard@xxxxxxx) wrote:
> I was looking at a problem with a new system we are trying to get up and
> running. It has a 32-bit only PCI network device, but is a 64-bit
> (x86_64) system. Looking at the code for NETIF_F_HIGHDMA (which, when
> not set on a PCI network device, means that it cannot do 64-bit
> accesses) in net/core/dev.c, it seems wrong to me.

Why would NETIF_F_HIGHDMA if it's 32-bit only PCI network device?
Typically net drivers do pci_set_dma_mask, and set features accordingly.
Then pci_map_* should just work.

thanks,
-chris
-
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/