Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107536296
D32906.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
823 B
Referenced Files
None
Subscribers
None
D32906.diff
View Options
diff --git a/sys/dev/etherswitch/felix/felix.c b/sys/dev/etherswitch/felix/felix.c
--- a/sys/dev/etherswitch/felix/felix.c
+++ b/sys/dev/etherswitch/felix/felix.c
@@ -96,7 +96,6 @@
static bool felix_is_phyport(felix_softc_t, int);
static struct mii_data *felix_miiforport(felix_softc_t, unsigned int);
-static int felix_phyforport(felix_softc_t, int);
static struct felix_pci_id felix_pci_ids[] = {
{PCI_VENDOR_FREESCALE, FELIX_DEV_ID, FELIX_DEV_NAME},
@@ -999,18 +998,6 @@
return (!sc->ports[port].fixed_port);
}
-static int
-felix_phyforport(felix_softc_t sc, int phy)
-{
- int port;
-
- for (port = 0; port < sc->info.es_nports; port++) {
- if (sc->ports[port].phyaddr == phy)
- return (port);
- }
- return (-1);
-}
-
static struct mii_data*
felix_miiforport(felix_softc_t sc, unsigned int port)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 16, 2:04 PM (20 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15826336
Default Alt Text
D32906.diff (823 B)
Attached To
Mode
D32906: etherswitch/felix: remove unused function
Attached
Detach File
Event Timeline
Log In to Comment