2007-09-18 06:17:20

by Borislav Petkov

[permalink] [raw]
Subject: [PATCH 1/2] unify DMA_..BIT_MASK definitions v2: netxen local defs

Move dma bitmask definitions into the dma-mappings header.

Signed-off-by: Borislav Petkov <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Cc: Muli Ben-Yehuda <[email protected]>

---
23-rc6/drivers/net/netxen/netxen_nic_main.c | 3 ---
1 file changed, 3 deletions(-)

Index: b/23-rc6/drivers/net/netxen/netxen_nic_main.c
===================================================================
--- a/23-rc6/drivers/net/netxen/netxen_nic_main.c 2007-09-18 08:11:03.000000000 +0200
+++ b/23-rc6/drivers/net/netxen/netxen_nic_main.c 2007-09-18 08:14:29.000000000 +0200
@@ -54,9 +54,6 @@
#define NETXEN_ADAPTER_UP_MAGIC 777
#define NETXEN_NIC_PEG_TUNE 0

-#define DMA_32BIT_MASK 0x00000000ffffffffULL
-#define DMA_35BIT_MASK 0x00000007ffffffffULL
-
/* Local functions to NetXen NIC driver */
static int __devinit netxen_nic_probe(struct pci_dev *pdev,
const struct pci_device_id *ent);

--
Regards/Gru?,
Boris.