1 // SPDX-License-Identifier: GPL-2.0
3 * This file is based on code from OCTEON SDK by Cavium Networks.
5 * Copyright (c) 2003-2007 Cavium Networks
9 #include <linux/kernel.h>
10 #include <linux/netdevice.h>
11 #include <linux/ratelimit.h>
14 #include "octeon-ethernet.h"
15 #include "ethernet-defines.h"
16 #include "ethernet-util.h"
17 #include "ethernet-mdio.h"
19 int cvm_oct_sgmii_open(struct net_device
*dev
)
21 return cvm_oct_common_open(dev
, cvm_oct_link_poll
);
24 int cvm_oct_sgmii_init(struct net_device
*dev
)
26 cvm_oct_common_init(dev
);
28 /* FIXME: Need autoneg logic */