patch-2.3.25 linux/include/linux/cycx_drv.h

Next file: linux/include/linux/fb.h
Previous file: linux/include/linux/bfs_fs_sb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.24/linux/include/linux/cycx_drv.h linux/include/linux/cycx_drv.h
@@ -11,13 +11,14 @@
 *		as published by the Free Software Foundation; either version
 *		2 of the License, or (at your option) any later version.
 * ============================================================================
+* 1999/10/23	acme		cycxhw_t cleanup
 * 1999/01/03	acme		more judicious use of data types...
 *				uclong, ucchar, etc deleted, the u8, u16, u32
 *				types are the portable way to go.
 * 1999/01/03	acme		judicious use of data types... u16, u32, etc
-* Dec 26, 1998	Arnaldo 	FIXED_BUFFERS, CONF_OFFSET,
+* 1998/12/26	acme	 	FIXED_BUFFERS, CONF_OFFSET,
 *                               removal of cy_read{bwl}
-* Aug 08, 1998	Arnaldo 	Initial version.
+* 1998/08/08	acme	 	Initial version.
 */
 #ifndef	_CYCX_DRV_H
 #define	_CYCX_DRV_H
@@ -43,22 +44,19 @@
 /* Adapter hardware configuration. Pointer to this structure is passed to all
  * APIs.  */
 typedef struct cycxhw {
-	u32 type;		/* adapter type */
 	u32 fwid;		/* firmware ID */
 	int irq;		/* interrupt request level */
 	u32 dpmbase;		/* dual-port memory base */
 	u32 dpmsize;		/* dual-port memory size */
-	u32 pclk;		/* CPU clock rate, kHz */
-	u32 memory;		/* memory size */
 	u32 reserved[5];
 } cycxhw_t;
 
 /* Function Prototypes */
 extern int cycx_setup (cycxhw_t *hw, void *sfm, u32 len);
-extern int cycx_down (cycxhw_t *hw);
-extern int cycx_inten (cycxhw_t *hw);
-extern int cycx_intr (cycxhw_t *hw);
 extern int cycx_peek (cycxhw_t *hw, u32 addr, void *buf, u32 len);
 extern int cycx_poke (cycxhw_t *hw, u32 addr, void *buf, u32 len);
 extern int cycx_exec (u32 addr);
+
+extern void cycx_inten (cycxhw_t *hw);
+extern void cycx_intr (cycxhw_t *hw);
 #endif	/* _CYCX_DRV_H */

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