|
Linux Kernel
3.7.1
|
#include <linux/netdevice.h>#include <linux/delay.h>#include <linux/slab.h>#include <linux/if_vlan.h>#include "netxen_nic.h"#include "netxen_nic_hw.h"Go to the source code of this file.
Data Structures | |
| struct | crb_addr_pair |
Macros | |
| #define | NETXEN_MAX_CRB_XFORM 60 |
| #define | NETXEN_ADDR_ERROR (0xffffffff) |
| #define | crb_addr_transform(name) |
| #define | NETXEN_NIC_XDMA_RESET 0x8000ff |
| #define | NETXEN_MAX_ROM_WAIT_USEC 100 |
| #define | NETXEN_BOARDTYPE 0x4008 |
| #define | NETXEN_BOARDNUM 0x400c |
| #define | NETXEN_CHIPNUM 0x4010 |
| #define | QLCNIC_FILEHEADER_SIZE (14 * 4) |
| #define | NETXEN_MIN_P3_FW_SUPP NETXEN_VERSION_CODE(4, 0, 505) |
| #define | TCP_HDR_SIZE 20 |
| #define | TCP_TS_OPTION_SIZE 12 |
| #define | TCP_TS_HDR_SIZE (TCP_HDR_SIZE + TCP_TS_OPTION_SIZE) |
| #define | netxen_merge_rx_buffers(list, head) do { list_splice_tail_init(list, head); } while (0); |
| #define crb_addr_transform | ( | name | ) |
Definition at line 42 of file netxen_nic_init.c.
| #define NETXEN_ADDR_ERROR (0xffffffff) |
Definition at line 40 of file netxen_nic_init.c.
| #define NETXEN_BOARDNUM 0x400c |
Definition at line 436 of file netxen_nic_init.c.
| #define NETXEN_BOARDTYPE 0x4008 |
Definition at line 435 of file netxen_nic_init.c.
| #define NETXEN_CHIPNUM 0x4010 |
Definition at line 437 of file netxen_nic_init.c.
| #define NETXEN_MAX_CRB_XFORM 60 |
Definition at line 38 of file netxen_nic_init.c.
| #define NETXEN_MAX_ROM_WAIT_USEC 100 |
Definition at line 347 of file netxen_nic_init.c.
Definition at line 1671 of file netxen_nic_init.c.
| #define NETXEN_MIN_P3_FW_SUPP NETXEN_VERSION_CODE(4, 0, 505) |
Definition at line 962 of file netxen_nic_init.c.
| #define NETXEN_NIC_XDMA_RESET 0x8000ff |
Definition at line 46 of file netxen_nic_init.c.
| #define QLCNIC_FILEHEADER_SIZE (14 * 4) |
Definition at line 609 of file netxen_nic_init.c.
| #define TCP_HDR_SIZE 20 |
Definition at line 1591 of file netxen_nic_init.c.
| #define TCP_TS_HDR_SIZE (TCP_HDR_SIZE + TCP_TS_OPTION_SIZE) |
Definition at line 1593 of file netxen_nic_init.c.
| #define TCP_TS_OPTION_SIZE 12 |
Definition at line 1592 of file netxen_nic_init.c.
| int netxen_alloc_sw_resources | ( | struct netxen_adapter * | adapter | ) |
Definition at line 193 of file netxen_nic_init.c.
| int netxen_check_flash_fw_compatibility | ( | struct netxen_adapter * | adapter | ) |
Definition at line 965 of file netxen_nic_init.c.
| void netxen_free_dummy_dma | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1302 of file netxen_nic_init.c.
| void netxen_free_sw_resources | ( | struct netxen_adapter * | adapter | ) |
Definition at line 164 of file netxen_nic_init.c.
| int netxen_init_dummy_dma | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1267 of file netxen_nic_init.c.
| int netxen_init_firmware | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1394 of file netxen_nic_init.c.
| int netxen_load_firmware | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1000 of file netxen_nic_init.c.
| int netxen_need_fw_reset | ( | struct netxen_adapter * | adapter | ) |
Definition at line 895 of file netxen_nic_init.c.
| void netxen_nic_clear_stats | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1937 of file netxen_nic_init.c.
| int netxen_phantom_init | ( | struct netxen_adapter * | adapter, |
| int | pegtune_val | ||
| ) |
Definition at line 1338 of file netxen_nic_init.c.
| int netxen_pinit_from_rom | ( | struct netxen_adapter * | adapter | ) |
Definition at line 439 of file netxen_nic_init.c.
| void netxen_post_rx_buffers | ( | struct netxen_adapter * | adapter, |
| u32 | ringid, | ||
| struct nx_host_rds_ring * | rds_ring | ||
| ) |
Definition at line 1836 of file netxen_nic_init.c.
| int netxen_process_cmd_ring | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1764 of file netxen_nic_init.c.
| int netxen_process_rcv_ring | ( | struct nx_host_sds_ring * | sds_ring, |
| int | max | ||
| ) |
Definition at line 1675 of file netxen_nic_init.c.
| void netxen_release_firmware | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1261 of file netxen_nic_init.c.
| void netxen_release_rx_buffers | ( | struct netxen_adapter * | adapter | ) |
Definition at line 108 of file netxen_nic_init.c.
| void netxen_release_tx_buffers | ( | struct netxen_adapter * | adapter | ) |
Definition at line 132 of file netxen_nic_init.c.
| void netxen_request_firmware | ( | struct netxen_adapter * | adapter | ) |
Definition at line 1232 of file netxen_nic_init.c.
| int netxen_rom_fast_read | ( | struct netxen_adapter * | adapter, |
| int | addr, | ||
| int * | valp | ||
| ) |
Definition at line 423 of file netxen_nic_init.c.
| int netxen_rom_fast_read_words | ( | struct netxen_adapter * | adapter, |
| int | addr, | ||
| u8 * | bytes, | ||
| size_t | size | ||
| ) |
Definition at line 408 of file netxen_nic_init.c.
1.8.2