Hello,
This doesn't seem to be really taking into account my previous comments:
“
It seems there are other things done on ether_port in
setup_ethernet_device. I however guess these could be moved into
ethernet_open(), so that we can indeed merely call it on device_write()
errors.
Probably we al
---
pfinet/ethernet.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c
index b96c09a..f9fadf1 100644
--- a/pfinet/ethernet.c
+++ b/pfinet/ethernet.c
@@ -241,11 +241,24 @@ ethernet_open (struct device *dev)
int
ethernet_x