Home | History | Annotate | Line # | Download | only in dev
      1 /*	$NetBSD: octeon_mpivar.h,v 1.2 2020/05/31 06:27:06 simonb Exp $	*/
      2 
      3 #ifndef _DEV_OCTEON_MPI_H_
      4 #define _DEV_OCTEON_MPI_H_
      5 
      6 struct octmpi_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 octmpi_attach_args {
     16 	struct octmpi_controller	*octmpi_ctrl;
     17 };
     18 
     19 #endif /* _DEV_OCTEON_MPI_H__ */
     20