aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/my
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-09-01 22:05:21 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-09-01 22:05:21 +0000
commit6622a5e91215765c0b0ca363750e1c193d14728e (patch)
tree9a91e3ab2ee6c710abb03f16ddd68391db5223e0 /sys/dev/my
parentecb86c27ba2cf1930515099c3afced9604315e4a (diff)
Notes
Diffstat (limited to 'sys/dev/my')
-rw-r--r--sys/dev/my/if_my.c7
-rw-r--r--sys/dev/my/if_myreg.h2
2 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c
index 414b726c1002..1e519e700379 100644
--- a/sys/dev/my/if_my.c
+++ b/sys/dev/my/if_my.c
@@ -80,7 +80,6 @@ static int MY_USEIOSPACE = 1;
#define MY_RID MY_PCI_LOMEM
#endif
-
#include <dev/my/if_myreg.h>
/*
@@ -220,7 +219,6 @@ my_send_cmd_to_phy(struct my_softc * sc, int opcode, int regad)
return miir;
}
-
static u_int16_t
my_phy_readreg(struct my_softc * sc, int reg)
{
@@ -264,7 +262,6 @@ my_phy_readreg(struct my_softc * sc, int reg)
return (u_int16_t) data;
}
-
static void
my_phy_writereg(struct my_softc * sc, int reg, int data)
{
@@ -1006,7 +1003,6 @@ my_detach(device_t dev)
return (0);
}
-
/*
* Initialize the transmit descriptors.
*/
@@ -1179,7 +1175,6 @@ my_rxeof(struct my_softc * sc)
return;
}
-
/*
* A frame was downloaded to the chip. It's safe for us to clean up the list
* buffers.
@@ -1311,7 +1306,6 @@ my_intr(void *arg)
my_init_locked(sc);
}
#endif
-
}
/* Re-enable interrupts. */
@@ -1709,7 +1703,6 @@ my_watchdog(void *arg)
my_start_locked(ifp);
}
-
/*
* Stop the adapter and free any mbufs allocated to the RX and TX lists.
*/
diff --git a/sys/dev/my/if_myreg.h b/sys/dev/my/if_myreg.h
index 27c7f1cdd445..a3a723d05322 100644
--- a/sys/dev/my/if_myreg.h
+++ b/sys/dev/my/if_myreg.h
@@ -585,5 +585,3 @@ struct my_softc {
#define PHY_BMSR_LINKSTAT 0x0004
#define PHY_BMSR_JABBER 0x0002
#define PHY_BMSR_EXTENDED 0x0001
-
-