diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2011-02-20 06:42:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-22 13:26:47 -0500 |
commit | 9e1453c5c5fe670bb98a6097b262122386b0d3fe (patch) | |
tree | 12a5c30448e26b98de86e8298961a6c0ed300f9a /drivers/net/benet/be_hw.h | |
parent | 609ff3bb8f6cd38c68c719bbc3c31d6b0b9ce894 (diff) |
be2net: use hba_port_num instead of port_num
Use hba_port_num for phy loopback and ethtool phy identification.
From: Suresh R <suresh.reddy@emulex.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_hw.h')
-rw-r--r-- | drivers/net/benet/be_hw.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/drivers/net/benet/be_hw.h b/drivers/net/benet/be_hw.h index 4096d9778234..3f459f76cd1d 100644 --- a/drivers/net/benet/be_hw.h +++ b/drivers/net/benet/be_hw.h | |||
@@ -327,6 +327,53 @@ struct be_eth_rx_compl { | |||
327 | u32 dw[4]; | 327 | u32 dw[4]; |
328 | }; | 328 | }; |
329 | 329 | ||
330 | struct mgmt_hba_attribs { | ||
331 | u8 flashrom_version_string[32]; | ||
332 | u8 manufacturer_name[32]; | ||
333 | u32 supported_modes; | ||
334 | u32 rsvd0[3]; | ||
335 | u8 ncsi_ver_string[12]; | ||
336 | u32 default_extended_timeout; | ||
337 | u8 controller_model_number[32]; | ||
338 | u8 controller_description[64]; | ||
339 | u8 controller_serial_number[32]; | ||
340 | u8 ip_version_string[32]; | ||
341 | u8 firmware_version_string[32]; | ||
342 | u8 bios_version_string[32]; | ||
343 | u8 redboot_version_string[32]; | ||
344 | u8 driver_version_string[32]; | ||
345 | u8 fw_on_flash_version_string[32]; | ||
346 | u32 functionalities_supported; | ||
347 | u16 max_cdblength; | ||
348 | u8 asic_revision; | ||
349 | u8 generational_guid[16]; | ||
350 | u8 hba_port_count; | ||
351 | u16 default_link_down_timeout; | ||
352 | u8 iscsi_ver_min_max; | ||
353 | u8 multifunction_device; | ||
354 | u8 cache_valid; | ||
355 | u8 hba_status; | ||
356 | u8 max_domains_supported; | ||
357 | u8 phy_port; | ||
358 | u32 firmware_post_status; | ||
359 | u32 hba_mtu[8]; | ||
360 | u32 rsvd1[4]; | ||
361 | }; | ||
362 | |||
363 | struct mgmt_controller_attrib { | ||
364 | struct mgmt_hba_attribs hba_attribs; | ||
365 | u16 pci_vendor_id; | ||
366 | u16 pci_device_id; | ||
367 | u16 pci_sub_vendor_id; | ||
368 | u16 pci_sub_system_id; | ||
369 | u8 pci_bus_number; | ||
370 | u8 pci_device_number; | ||
371 | u8 pci_function_number; | ||
372 | u8 interface_type; | ||
373 | u64 unique_identifier; | ||
374 | u32 rsvd0[5]; | ||
375 | }; | ||
376 | |||
330 | struct controller_id { | 377 | struct controller_id { |
331 | u32 vendor; | 378 | u32 vendor; |
332 | u32 device; | 379 | u32 device; |