All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]Use DMA_BIT_MASK(44) instead of deprecated DMA_44BIT_MASK
@ 2009-11-08 15:59 Marin Mitov
  2009-11-11  6:31 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Marin Mitov @ 2009-11-08 15:59 UTC (permalink / raw)
  To: David S. Miller; +Cc: linux-kernel, netdev

Hi all,

Use DMA_BIT_MASK(44) instead of deprecated DMA_44BIT_MASK

Signed-off-by: Marin Mitov <mitov@issp.bas.bg>

=========================================================
--- a/drivers/net/niu.c	2009-11-08 17:09:40.000000000 +0200
+++ b/drivers/net/niu.c	2009-11-08 17:10:31.000000000 +0200
@@ -45,10 +45,6 @@
 MODULE_LICENSE("GPL");
 MODULE_VERSION(DRV_MODULE_VERSION);
 
-#ifndef DMA_44BIT_MASK
-#define DMA_44BIT_MASK	0x00000fffffffffffULL
-#endif
-
 #ifndef readq
 static u64 readq(void __iomem *reg)
 {
@@ -9915,7 +9911,7 @@
 		  PCI_EXP_DEVCTL_RELAX_EN);
 	pci_write_config_word(pdev, pos + PCI_EXP_DEVCTL, val16);
 
-	dma_mask = DMA_44BIT_MASK;
+	dma_mask = DMA_BIT_MASK(44);
 	err = pci_set_dma_mask(pdev, dma_mask);
 	if (!err) {
 		dev->features |= NETIF_F_HIGHDMA;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH]Use DMA_BIT_MASK(44) instead of deprecated DMA_44BIT_MASK
  2009-11-08 15:59 [PATCH]Use DMA_BIT_MASK(44) instead of deprecated DMA_44BIT_MASK Marin Mitov
@ 2009-11-11  6:31 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-11-11  6:31 UTC (permalink / raw)
  To: mitov; +Cc: linux-kernel, netdev

From: Marin Mitov <mitov@issp.bas.bg>
Date: Sun, 8 Nov 2009 17:59:27 +0200

> Use DMA_BIT_MASK(44) instead of deprecated DMA_44BIT_MASK
> 
> Signed-off-by: Marin Mitov <mitov@issp.bas.bg>

Applied to net-next-2.6

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-11  6:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-08 15:59 [PATCH]Use DMA_BIT_MASK(44) instead of deprecated DMA_44BIT_MASK Marin Mitov
2009-11-11  6:31 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.