summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-10-09 21:56:21 +0000
committerwdenk <wdenk>2004-10-09 21:56:21 +0000
commit3e01d75ff25b3668191beb86ab32cb2d1fb7f73b (patch)
tree2e035097bf7974c1309cba1a050668ef83f2ab29
parenta5bbcc3c53a7fb541f812d25d576c35f097438ba (diff)
downloadu-boot-imx-3e01d75ff25b3668191beb86ab32cb2d1fb7f73b.zip
u-boot-imx-3e01d75ff25b3668191beb86ab32cb2d1fb7f73b.tar.gz
u-boot-imx-3e01d75ff25b3668191beb86ab32cb2d1fb7f73b.tar.bz2
Patch by Andreas Engel, 16 Aug 2004:
parameter type cleanup for NetSetTimeout()
-rw-r--r--include/net.h2
-rw-r--r--net/net.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net.h b/include/net.h
index 5a6b808..9e55430 100644
--- a/include/net.h
+++ b/include/net.h
@@ -374,7 +374,7 @@ extern uint NetCksum(uchar *, int); /* Calculate the checksum */
/* Set callbacks */
extern void NetSetHandler(rxhand_f *); /* Set RX packet handler */
-extern void NetSetTimeout(int, thand_f *); /* Set timeout handler */
+extern void NetSetTimeout(ulong, thand_f *);/* Set timeout handler */
/* Transmit "NetTxPacket" */
extern void NetSendPacket(volatile uchar *, int);
diff --git a/net/net.c b/net/net.c
index 261f7c1..90315ca 100644
--- a/net/net.c
+++ b/net/net.c
@@ -585,7 +585,7 @@ NetSetHandler(rxhand_f * f)
void
-NetSetTimeout(int iv, thand_f * f)
+NetSetTimeout(ulong iv, thand_f * f)
{
if (iv == 0) {
timeHandler = (thand_f *)0;