From: Jorrit Herder Date: Fri, 21 Oct 2005 14:39:21 +0000 (+0000) Subject: Added replies to status requests from RS. X-Git-Tag: v3.1.2a~562 X-Git-Url: http://zhaoyanbai.com/repos/man.named.html?a=commitdiff_plain;h=f8edaa7de4d456497bba4bd6aeddc096ff62c8e8;p=minix.git Added replies to status requests from RS. --- diff --git a/drivers/dp8390/dp8390.c b/drivers/dp8390/dp8390.c index e7aeff46e..ea1e0db80 100644 --- a/drivers/dp8390/dp8390.c +++ b/drivers/dp8390/dp8390.c @@ -192,6 +192,7 @@ int main(int argc, char *argv[]) switch (m.m_type) { + case DEV_PING: notify(m.m_source); continue; case DL_WRITE: do_vwrite(&m, FALSE, FALSE); break; case DL_WRITEV: do_vwrite(&m, FALSE, TRUE); break; case DL_READ: do_vread(&m, FALSE); break; diff --git a/drivers/dpeth/dp.c b/drivers/dpeth/dp.c index e00212c45..28e2a3cbc 100644 --- a/drivers/dpeth/dp.c +++ b/drivers/dpeth/dp.c @@ -566,6 +566,9 @@ PUBLIC int main(int argc, char **argv) DEBUG(printf("eth: got message %d, ", m.m_type)); switch (m.m_type) { + case DEV_PING: /* Status request from RS */ + notify(m.m_source); + continue; case DL_WRITE: /* Write message to device */ do_vwrite(&m, FALSE); break; diff --git a/drivers/fxp/fxp.c b/drivers/fxp/fxp.c index cea26046d..f9828b43c 100644 --- a/drivers/fxp/fxp.c +++ b/drivers/fxp/fxp.c @@ -297,6 +297,7 @@ int main(int argc, char *argv[]) switch (m.m_type) { + case DEV_PING: notify(m.m_source); continue; case DL_WRITEV: fxp_writev(&m, FALSE, TRUE); break; case DL_WRITE: fxp_writev(&m, FALSE, FALSE); break; #if 0 diff --git a/drivers/lance/lance.c b/drivers/lance/lance.c index 69ab6dd08..ec483f6e1 100644 --- a/drivers/lance/lance.c +++ b/drivers/lance/lance.c @@ -345,6 +345,7 @@ void main( int argc, char **argv ) /*printf( "." );*/ switch (m.m_type){ + case DEV_PING: notify(m.m_source); continue; case DL_WRITE: do_vwrite(&m, FALSE, FALSE); break; case DL_WRITEV: do_vwrite(&m, FALSE, TRUE); break; case DL_READ: do_vread(&m, FALSE); break; diff --git a/drivers/rtl8139/rtl8139.c b/drivers/rtl8139/rtl8139.c index 7863fb260..4faaf4a39 100755 --- a/drivers/rtl8139/rtl8139.c +++ b/drivers/rtl8139/rtl8139.c @@ -315,6 +315,7 @@ int main(int argc, char *argv[]) switch (m.m_type) { + case DEV_PING: notify(m.m_source); continue; case DL_WRITEV: rl_writev(&m, FALSE, TRUE); break; case DL_WRITE: rl_writev(&m, FALSE, FALSE); break; #if 0