Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | i1480 |
struct | i1480_evt_confirm |
struct | i1480_rceb |
struct | i1480_evt_confirm_GMPI |
struct | i1480_cmd_mpi_write |
struct | i1480_cmd_mpi_read |
struct | i1480_evt_mpi_read |
Macros | |
#define | i1480_FW_UPLOAD_MODE_MASK (cpu_to_le32(0x00000018)) |
Enumerations | |
enum | { i1480_CET_VS1 = 0xfd, i1480_CMD_SET_IP_MAS = 0x000e, i1480_CMD_GET_MAC_PHY_INFO = 0x0003, i1480_CMD_MPI_WRITE = 0x000f, i1480_CMD_MPI_READ = 0x0010, i1480_EVT_CONFIRM = 0x0002, i1480_EVT_RM_INIT_DONE = 0x0101, i1480_EVT_DEV_ADD = 0x0103, i1480_EVT_DEV_RM = 0x0104, i1480_EVT_DEV_ID_CHANGE = 0x0105, i1480_EVT_GET_MAC_PHY_INFO = i1480_EVT_CONFIRM } |
Functions | |
int | i1480_fw_upload (struct i1480 *) |
int | i1480_pre_fw_upload (struct i1480 *) |
int | i1480_mac_fw_upload (struct i1480 *) |
int | i1480_phy_fw_upload (struct i1480 *) |
ssize_t | i1480_cmd (struct i1480 *, const char *, size_t, size_t) |
int | i1480_rceb_check (const struct i1480 *, const struct uwb_rceb *, const char *, u8, u8, unsigned) |
struct i1480_evt_confirm | __attribute__ ((packed)) |
#define i1480_FW_UPLOAD_MODE_MASK (cpu_to_le32(0x00000018)) |
Definition at line 71 of file i1480-dfu.h.
anonymous enum |
Definition at line 150 of file i1480-dfu.h.
|
read |
mcontroller : adapter info structure for old mimd_t apps
: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id
Definition at line 171 of file esd_usb2.c.
Upload a PHY firmware, wait for it to start
: Device instance : Name of the file that contains the firmware
We assume the MAC fw is up and running. This means we can use the MPI interface to write the PHY firmware. Once done, we issue an MBOA Reset, which will force the MAC to reset and reinitialize the PHY. If that works, we are ready to go.
Max packet size for the MPI write is 512, so the max buffer is 480 (which gives us 160 byte triads of MSB, LSB and VAL for the data).
u8 bResultCode |
Definition at line 188 of file i1480-dfu.h.
struct uwb_dev_addr dev_addr |
Definition at line 248 of file i1480-dfu.h.
u8 key_stores |
Definition at line 253 of file i1480-dfu.h.
Definition at line 247 of file i1480-dfu.h.
__le16 mac_caps |
Definition at line 251 of file i1480-dfu.h.
__le16 mac_fw_rev |
Definition at line 249 of file i1480-dfu.h.
__le16 mcast_addr_stores |
Definition at line 254 of file i1480-dfu.h.
Definition at line 244 of file i1480-dfu.h.
Definition at line 244 of file i1480-dfu.h.
u8 phy_caps |
Definition at line 252 of file i1480-dfu.h.
__le16 phy_fw_rev |
Definition at line 250 of file i1480-dfu.h.
Definition at line 245 of file i1480-dfu.h.
Definition at line 184 of file i1480-dfu.h.
u8 sec_mode_supported |
Definition at line 255 of file i1480-dfu.h.
__le16 size |
Definition at line 246 of file i1480-dfu.h.
Definition at line 246 of file i1480-dfu.h.
u8 value |
Definition at line 257 of file i1480-dfu.h.