Stephen Hemminger | f8942e0 | 2010-09-08 14:46:36 -0700 | [diff] [blame] | 1 | #ifndef __INTERFACE_MISC_H |
| 2 | #define __INTERFACE_MISC_H |
| 3 | |
Stephen Hemminger | f8942e0 | 2010-09-08 14:46:36 -0700 | [diff] [blame] | 4 | INT |
| 5 | InterfaceRDM(PS_INTERFACE_ADAPTER psIntfAdapter, |
| 6 | UINT addr, |
| 7 | PVOID buff, |
| 8 | INT len); |
| 9 | |
| 10 | INT |
| 11 | InterfaceWRM(PS_INTERFACE_ADAPTER psIntfAdapter, |
| 12 | UINT addr, |
| 13 | PVOID buff, |
| 14 | INT len); |
| 15 | |
| 16 | |
| 17 | int InterfaceFileDownload( PVOID psIntfAdapter, |
| 18 | struct file *flp, |
| 19 | unsigned int on_chip_loc); |
| 20 | |
| 21 | int InterfaceFileReadbackFromChip( PVOID psIntfAdapter, |
| 22 | struct file *flp, |
| 23 | unsigned int on_chip_loc); |
| 24 | |
| 25 | |
| 26 | int BcmRDM(PVOID arg, |
| 27 | UINT addr, |
| 28 | PVOID buff, |
| 29 | INT len); |
| 30 | |
| 31 | int BcmWRM(PVOID arg, |
| 32 | UINT addr, |
| 33 | PVOID buff, |
| 34 | INT len); |
| 35 | |
| 36 | INT Bcm_clear_halt_of_endpoints(PMINI_ADAPTER Adapter); |
| 37 | |
| 38 | VOID Bcm_kill_all_URBs(PS_INTERFACE_ADAPTER psIntfAdapter); |
| 39 | |
| 40 | #define DISABLE_USB_ZERO_LEN_INT 0x0F011878 |
| 41 | |
| 42 | #endif // __INTERFACE_MISC_H |