summaryrefslogtreecommitdiff
path: root/src/dev/net/etherbus.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/net/etherbus.cc')
-rw-r--r--src/dev/net/etherbus.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/net/etherbus.cc b/src/dev/net/etherbus.cc
index dee772cc0..fa49b9900 100644
--- a/src/dev/net/etherbus.cc
+++ b/src/dev/net/etherbus.cc
@@ -81,8 +81,8 @@ EtherBus::txDone()
packet = 0;
}
-EtherInt*
-EtherBus::getEthPort(const std::string &if_name, int idx)
+Port &
+EtherBus::getPort(const std::string &if_name, PortID idx)
{
panic("Etherbus doesn't work\n");
}