diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 07:57:59 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 14:19:22 -0500 |
commit | f575ae1f7d3940efbfc43e4236adb4a8ec1db632 (patch) | |
tree | c938134ea39543f6919396f0d9641a18d2530574 /net/cdp.h | |
parent | eafc8db0e35275330f43a4cf7b7ae8aba71c9728 (diff) | |
download | u-boot-imx-f575ae1f7d3940efbfc43e4236adb4a8ec1db632.zip u-boot-imx-f575ae1f7d3940efbfc43e4236adb4a8ec1db632.tar.gz u-boot-imx-f575ae1f7d3940efbfc43e4236adb4a8ec1db632.tar.bz2 |
net: Move CDP out of net.c
Separate this functionality out of the net.c behemoth
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'net/cdp.h')
-rw-r--r-- | net/cdp.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/cdp.h b/net/cdp.h new file mode 100644 index 0000000..93bc461 --- /dev/null +++ b/net/cdp.h @@ -0,0 +1,20 @@ +/* + * Copied from Linux Monitor (LiMon) - Networking. + * + * Copyright 1994 - 2000 Neil Russell. + * (See License) + * Copyright 2000 Roland Borde + * Copyright 2000 Paolo Scaffardi + * Copyright 2000-2002 Wolfgang Denk, wd@denx.de + */ + +#if defined(CONFIG_CMD_CDP) + +#ifndef __CDP_H__ +#define __CDP_H__ + +void CDPStart(void); +void CDPHandler(const uchar *pkt, unsigned len); + +#endif /* __CDP_H__ */ +#endif |