mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
qed: Add link support
Physical link is handled by the management Firmware. This patch lays the infrastructure for attention handling in the driver, as link change notifications arrive via async. attentions, as well the handling of such notifications. This patch also extends the API with the protocol drivers by adding registered callbacks which the protocol driver passes to qed in order to be notified of async. events originating from the FW/HW. Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com> Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0d8e0aa057
commit
cc875c2e4f
8 changed files with 1102 additions and 5 deletions
|
@ -111,6 +111,10 @@ struct qed_eth_ops {
|
|||
int (*fill_dev_info)(struct qed_dev *cdev,
|
||||
struct qed_dev_eth_info *info);
|
||||
|
||||
void (*register_ops)(struct qed_dev *cdev,
|
||||
struct qed_eth_cb_ops *ops,
|
||||
void *cookie);
|
||||
|
||||
int (*vport_start)(struct qed_dev *cdev,
|
||||
u8 vport_id, u16 mtu,
|
||||
u8 drop_ttl0_flg,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue