2007-09-18 04:31:18

by Borislav Petkov

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

Move dma bitmask definitions into the dma-mappings header.

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

--
Index: 23-rc6/drivers/net/netxen/netxen_nic_main.c
===================================================================
--- 23-rc6/drivers/net/netxen/netxen_nic_main.c.orig 2007-09-17 17:51:46.000000000 +0200
+++ 23-rc6/drivers/net/netxen/netxen_nic_main.c 2007-09-17 17:51:59.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.