4.115
Last change
on this file since 602e395 was
5130248e,
checked in by Daniel Cederman <cederman@…>, on 03/13/14 at 13:28:46
|
smc91111: Move driver attach prototype to header file.
Also signal to compiler that the start variable in lan91cxx_recv is only used when debugging.
|
-
Property mode set to
100644
|
File size:
716 bytes
|
Line | |
---|
1 | #ifndef _SMC91111_EXP_H_ |
---|
2 | #define _SMC91111_EXP_H_ |
---|
3 | |
---|
4 | #include <bsp.h> |
---|
5 | |
---|
6 | typedef struct scmv91111_configuration { |
---|
7 | void *baseaddr; |
---|
8 | rtems_vector_number vector; |
---|
9 | unsigned int pio; |
---|
10 | unsigned int ctl_rspeed; |
---|
11 | unsigned int ctl_rfduplx; |
---|
12 | unsigned int ctl_autoneg; |
---|
13 | #ifdef BSP_FEATURE_IRQ_EXTENSION |
---|
14 | const char * info; |
---|
15 | rtems_option options; |
---|
16 | rtems_interrupt_handler interrupt_wrapper; |
---|
17 | void * arg; |
---|
18 | #endif |
---|
19 | } scmv91111_configuration_t; |
---|
20 | |
---|
21 | int _rtems_smc91111_driver_attach (struct rtems_bsdnet_ifconfig *config, |
---|
22 | scmv91111_configuration_t * scm_config); |
---|
23 | |
---|
24 | #endif /* _SMC_91111_EXP_H_ */ |
---|
25 | |
---|
26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.