Home | History | Annotate | Line # | Download | only in dev
octeon_mpivar.h revision 1.1
      1 /*	$NetBSD: octeon_mpivar.h,v 1.1 2015/04/29 08:32:01 hikaru Exp $	*/
      2 
      3 #ifndef _DEV_OCTEON_MPI_H_
      4 #define _DEV_OCTEON_MPI_H_
      5 
      6 struct octeon_mpi_controller {
      7 	void	*sct_cookie;
      8 	int	(*sct_configure)(void *, void *, void *);
      9 	void	(*sct_read)(void *, u_int, u_int, size_t, uint8_t *);
     10 	void	(*sct_write)(void *, u_int, u_int, size_t, uint8_t *);
     11 	bus_space_tag_t		sc_bust;	/* Bus space tag */
     12 	bus_space_handle_t	sc_bush;	/* Bus space handle */
     13 };
     14 
     15 struct octeon_mpi_attach_args {
     16 	struct octeon_mpi_controller	*octeon_mpi_ctrl;
     17 };
     18 
     19 #endif /* _DEV_OCTEON_MPI_H__ */
     20