예제 #1
0
static void ql_link_down(struct ql_adapter *qdev, struct mbox_params *mbcp)
{
	int status;

	mbcp->out_count = 3;

	status = ql_get_mb_sts(qdev, mbcp);
	if (status)
		QPRINTK(qdev, DRV, ERR, "Link down AEN broken!\n");

	ql_link_off(qdev);
}
예제 #2
0
static void ql_link_down(struct ql_adapter *qdev, struct mbox_params *mbcp)
{
    int status;

    mbcp->out_count = 3;

    status = ql_get_mb_sts(qdev, mbcp);
    if (status)
        netif_err(qdev, drv, qdev->ndev, "Link down AEN broken!\n");

    ql_link_off(qdev);
}