patch-2.4.23 linux-2.4.23/drivers/scsi/aacraid/aacraid.h

Next file: linux-2.4.23/drivers/scsi/aacraid/commctrl.c
Previous file: linux-2.4.23/drivers/scsi/aacraid/aachba.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/scsi/aacraid/aacraid.h linux-2.4.23/drivers/scsi/aacraid/aacraid.h
@@ -1,3 +1,6 @@
+#define AAC_DRIVER_VERSION		0x01010300
+#define AAC_DRIVER_BUILD_DATE		__DATE__ " " __TIME__
+
 //#define dprintk(x) printk x
 #if (!defined(dprintk))
 # define dprintk(x)
@@ -759,7 +762,7 @@
 	 */	
 	dma_addr_t		hw_fib_pa;
 	struct hw_fib		*hw_fib_va;
-	ulong			fib_base_va;
+	struct hw_fib		*aif_base_va;
 	/*
 	 *	Fib Headers
 	 */
@@ -1178,6 +1181,31 @@
 	struct aac_mntent mnt[1];
 };
 
+#define CT_READ_NAME 130
+struct aac_get_name {
+	u32		command;
+	u32		type;	// CT_READ_NAME
+	u32		cid;
+	u32		parm1;
+	u32		parm2;
+	u32		parm3;
+	u32		parm4;
+	u32		count;	// sizeof(((struct aac_get_name_resp *)NULL)->data)
+};
+
+#define CT_OK        218
+struct aac_get_name_resp {
+	u32		dummy0;
+	u32		dummy1;
+	u32		status;	// CT_OK
+	u32		parm1;
+	u32		parm2;
+	u32		parm3;
+	u32		parm4;
+	u32		parm5;
+	u8		data[16];
+};
+
 /*
  * The following command is sent to shut down each container.
  */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)