source: svn/trunk/newcon3bcm2_21bu/toolchain/mips-linux-uclibc/include/linux/isicom.h

Last change on this file was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 836 bytes
Line 
1#ifndef _LINUX_ISICOM_H
2#define _LINUX_ISICOM_H
3
4/*#define               ISICOM_DEBUG*/
5/*#define               ISICOM_DEBUG_DTR_RTS*/
6
7
8/*
9 *      Firmware Loader definitions ...
10 */
11 
12#define         __MultiTech             ('M'<<8)
13#define         MIOCTL_LOAD_FIRMWARE    (__MultiTech | 0x01)
14#define         MIOCTL_READ_FIRMWARE    (__MultiTech | 0x02)
15#define         MIOCTL_XFER_CTRL        (__MultiTech | 0x03)
16#define         MIOCTL_RESET_CARD       (__MultiTech | 0x04)
17
18#define         DATA_SIZE       16
19
20typedef struct  {
21                unsigned short  exec_segment;
22                unsigned short  exec_addr;
23}       exec_record;
24
25typedef struct  {
26                int             board;          /* Board to load */
27                unsigned short  addr;
28                unsigned short  count;
29}       bin_header;
30
31typedef struct  {
32                int             board;          /* Board to load */
33                unsigned short  addr;
34                unsigned short  count;
35                unsigned short  segment;
36                unsigned char   bin_data[DATA_SIZE];
37}       bin_frame;
38
39#endif  /*      ISICOM_H        */
40
Note: See TracBrowser for help on using the repository browser.