struct phylink_config phylink_config;
u16 id;
u16 family_id;
- const struct rtl838x_reg *r;
+ const struct rtl838x_eth_reg *r;
u8 cpu_port;
u32 lastEvent;
u16 rxrings;
return IRQ_HANDLED;
}
-static const struct rtl838x_reg rtl838x_reg = {
+static const struct rtl838x_eth_reg rtl838x_reg = {
.net_irq = rtl83xx_net_irq,
.mac_port_ctrl = rtl838x_mac_port_ctrl,
.dma_if_intr_sts = RTL838X_DMA_IF_INTR_STS,
.decode_tag = rtl838x_decode_tag,
};
-static const struct rtl838x_reg rtl839x_reg = {
+static const struct rtl838x_eth_reg rtl839x_reg = {
.net_irq = rtl83xx_net_irq,
.mac_port_ctrl = rtl839x_mac_port_ctrl,
.dma_if_intr_sts = RTL839X_DMA_IF_INTR_STS,
.decode_tag = rtl839x_decode_tag,
};
-static const struct rtl838x_reg rtl930x_reg = {
+static const struct rtl838x_eth_reg rtl930x_reg = {
.net_irq = rtl93xx_net_irq,
.mac_port_ctrl = rtl930x_mac_port_ctrl,
.dma_if_intr_rx_runout_sts = RTL930X_DMA_IF_INTR_RX_RUNOUT_STS,
.decode_tag = rtl930x_decode_tag,
};
-static const struct rtl838x_reg rtl931x_reg = {
+static const struct rtl838x_eth_reg rtl931x_reg = {
.net_irq = rtl93xx_net_irq,
.mac_port_ctrl = rtl931x_mac_port_ctrl,
.dma_if_intr_rx_runout_sts = RTL931X_DMA_IF_INTR_RX_RUNOUT_STS,