summaryrefslogtreecommitdiffstats
path: root/bsps/include/libchip/smc91111exp.h
blob: 08e086d9e79ec086854cc06e75a9654274cfb0ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef _SMC91111_EXP_H_
#define _SMC91111_EXP_H_

#include <bsp.h>

typedef struct scmv91111_configuration {
  void                     *baseaddr;
  rtems_vector_number       vector;
  unsigned int              pio;
  unsigned int              ctl_rspeed;
  unsigned int              ctl_rfduplx;
  unsigned int              ctl_autoneg;
#ifdef BSP_FEATURE_IRQ_EXTENSION
  const char *              info;
  rtems_option              options;
  rtems_interrupt_handler   interrupt_wrapper;
  void *                    arg;
#endif
} scmv91111_configuration_t;

int _rtems_smc91111_driver_attach (struct rtems_bsdnet_ifconfig *config,
				   scmv91111_configuration_t * scm_config);

#endif  /* _SMC_91111_EXP_H_ */