patch-2.4.20 linux-2.4.20/drivers/message/fusion/mptctl.h
Next file: linux-2.4.20/drivers/message/fusion/mptlan.c
Previous file: linux-2.4.20/drivers/message/fusion/mptctl.c
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Thu Nov 28 15:53:13 2002
- Orig file:
linux-2.4.19/drivers/message/fusion/mptctl.h
- Orig date:
Fri Aug 2 17:39:44 2002
diff -urN linux-2.4.19/drivers/message/fusion/mptctl.h linux-2.4.20/drivers/message/fusion/mptctl.h
@@ -20,7 +20,7 @@
* (mailto:sjralston1@netscape.net)
* (mailto:Pam.Delaney@lsil.com)
*
- * $Id: mptctl.h,v 1.9 2002/02/27 18:44:26 sralston Exp $
+ * $Id: mptctl.h,v 1.10 2002/05/28 15:57:16 pdelaney Exp $
*/
/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
/*
@@ -122,7 +122,6 @@
};
#endif /*}*/
-
/*
* IOCTL header structure.
* iocnum - must be defined.
@@ -150,6 +149,20 @@
/*
+ * PCI bus/device/function information structure.
+ */
+struct mpt_ioctl_pci_info {
+ union {
+ struct {
+ unsigned long deviceNumber : 5;
+ unsigned long functionNumber : 3;
+ unsigned long busNumber : 24;
+ } bits;
+ unsigned long asUlong;
+ } u;
+};
+
+/*
* Adapter Information Page
* Read only.
* Data starts at offset 0xC
@@ -173,6 +186,7 @@
char busChangeEvent;
char hostId;
char rsvd[2];
+ struct mpt_ioctl_pci_info pciInfo; /* Added Rev 1 */
};
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)