Re: [PATCH 2.6.18-rc7 9/9] NetXen: CRB reg definitions

Pradeep Dalvi
2006-09-19T15:32:29Z

diff -u linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_phan_reg.h linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_phan_reg.h
--- linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_phan_reg.h 2006-09-15 10:51:59.000000000 -0700
+++ linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_phan_reg.h 2006-09-19 07:51:20.000000000 -0700
@@ -30,26 +30,26 @@
#ifndef __NIC_PHAN_REG_H_
#define __NIC_PHAN_REG_H_

-/**
- * CRB Registers or queue message done only at initialization time....
- **/
+/*
+ * CRB Registers or queue message done only at initialization time.
+ */

-/**
+/*
* The following 2 are the base adresses for the CRB registers and their
- * offsets will be added to get addresses for the index addresses.......
- **/
+ * offsets will be added to get addresses for the index addresses.
+ */
#define NIC_CRB_BASE_PORT1 NETXEN_CAM_RAM(0x200)
#define NIC_CRB_BASE_PORT2 NETXEN_CAM_RAM(0x250)

#define NETXEN_NIC_REG(X) (NIC_CRB_BASE_PORT1+(X))

-/**
+/*
* CrbPortPhanCntrHi/Lo is used to pass the address of HostPhantomIndex address
* which can be read by the Phantom host to get producer/consumer indexes from
* Phantom/Casper. If it is not HOST_SHARED_MEMORY, then the following
* registers will be used for the addresses of the ring's shared memory
* on the Phantom.
- **/
+ */

#define CRB_PHAN_CNTRL_LO_OFFSET NETXEN_NIC_REG(0x00)
#define CRB_PHAN_CNTRL_HI_OFFSET NETXEN_NIC_REG(0x04)