RE: [PATCH v7] ethernet/arc/arc_emac - Add new driver

2013-06-21 Thread David Laight
So it should be declared dma_addr_t then, + addr = dma_map_single(ndev-dev, (void *)rx_buff-skb-data, + buflen, DMA_FROM_DEVICE); + if (dma_mapping_error(ndev-dev, addr)) { + if (net_ratelimit())

RE: pci and pcie device-tree binding - range No cells

2012-12-19 Thread David Laight
Does it mean that pci is supposed be always 64 bit wide? And there is no option to have just 32bit values. I certainly believe that all PCIe (not PCI) transfers are nominally multiples of 64bit data. There are (effectively) 8 byte-lane enables to allow partial word transfers (I'm not sure