forked from Minki/linux
[PATCH] e1000: Added functions declarations
Added e1000_mc_addr_list_update Added e1000_read_reg_io Added e1000_enable_pciex_master These are not static functions, that is why we have them declared in the header. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
This commit is contained in:
parent
2f82665fe5
commit
6150f03815
@ -377,6 +377,7 @@ int32_t e1000_swfw_sync_acquire(struct e1000_hw *hw, uint16_t mask);
|
|||||||
void e1000_swfw_sync_release(struct e1000_hw *hw, uint16_t mask);
|
void e1000_swfw_sync_release(struct e1000_hw *hw, uint16_t mask);
|
||||||
|
|
||||||
/* Filters (multicast, vlan, receive) */
|
/* Filters (multicast, vlan, receive) */
|
||||||
|
void e1000_mc_addr_list_update(struct e1000_hw *hw, uint8_t * mc_addr_list, uint32_t mc_addr_count, uint32_t pad, uint32_t rar_used_count);
|
||||||
uint32_t e1000_hash_mc_addr(struct e1000_hw *hw, uint8_t * mc_addr);
|
uint32_t e1000_hash_mc_addr(struct e1000_hw *hw, uint8_t * mc_addr);
|
||||||
void e1000_mta_set(struct e1000_hw *hw, uint32_t hash_value);
|
void e1000_mta_set(struct e1000_hw *hw, uint32_t hash_value);
|
||||||
void e1000_rar_set(struct e1000_hw *hw, uint8_t * mc_addr, uint32_t rar_index);
|
void e1000_rar_set(struct e1000_hw *hw, uint8_t * mc_addr, uint32_t rar_index);
|
||||||
@ -401,7 +402,9 @@ void e1000_read_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t * value);
|
|||||||
void e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t * value);
|
void e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t * value);
|
||||||
/* Port I/O is only supported on 82544 and newer */
|
/* Port I/O is only supported on 82544 and newer */
|
||||||
uint32_t e1000_io_read(struct e1000_hw *hw, unsigned long port);
|
uint32_t e1000_io_read(struct e1000_hw *hw, unsigned long port);
|
||||||
|
uint32_t e1000_read_reg_io(struct e1000_hw *hw, uint32_t offset);
|
||||||
void e1000_io_write(struct e1000_hw *hw, unsigned long port, uint32_t value);
|
void e1000_io_write(struct e1000_hw *hw, unsigned long port, uint32_t value);
|
||||||
|
void e1000_enable_pciex_master(struct e1000_hw *hw);
|
||||||
int32_t e1000_disable_pciex_master(struct e1000_hw *hw);
|
int32_t e1000_disable_pciex_master(struct e1000_hw *hw);
|
||||||
int32_t e1000_get_software_semaphore(struct e1000_hw *hw);
|
int32_t e1000_get_software_semaphore(struct e1000_hw *hw);
|
||||||
void e1000_release_software_semaphore(struct e1000_hw *hw);
|
void e1000_release_software_semaphore(struct e1000_hw *hw);
|
||||||
|
Loading…
Reference in New Issue
Block a user