Nut/OS  5.0.5
API Reference
cs8900a.h
Go to the documentation of this file.
00001 /****************************************************************************
00002 *  This file is part of the Ethernut port for the OLIMEX LPC-E2294 board.
00003 *
00004 *  Copyright (c) 2005 by Michael Fischer. All rights reserved.
00005 *
00006 *  Redistribution and use in source and binary forms, with or without
00007 *  modification, are permitted provided that the following conditions
00008 *  are met:
00009 *
00010 *  1. Redistributions of source code must retain the above copyright
00011 *     notice, this list of conditions and the following disclaimer.
00012 *  2. Redistributions in binary form must reproduce the above copyright
00013 *     notice, this list of conditions and the following disclaimer in the
00014 *     documentation and/or other materials provided with the distribution.
00015 *  3. Neither the name of the author nor the names of its contributors may
00016 *     be used to endorse or promote products derived from this software
00017 *     without specific prior written permission.
00018 *
00019 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00020 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00021 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00022 *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
00023 *  THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00024 *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00025 *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
00026 *  OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
00027 *  AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00028 *  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
00029 *  THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00030 *  SUCH DAMAGE.
00031 *
00032 ****************************************************************************
00033 *
00034 *  History:
00035 *
00036 *  24.09.05  mifi   First Version
00037 *                   The CrossWorks for ARM toolchain will be used.
00038 *                   This was a header file from a previous Nut/OS version.
00039 ****************************************************************************/
00040 #ifndef __CS8900A_H__
00041 #define __CS8900A_H__
00042 
00043 #include <dev/netbuf.h>
00044 #include <net/if_var.h>
00045 
00046 
00052 /*
00053  * Available drivers.
00054  */
00055 extern NUTDEVICE devCS8900A;
00056 
00057 #ifndef DEV_ETHER
00058 #define DEV_ETHER   devCS8900A
00059 #endif
00060 
00061 /*
00062  * Driver routines.
00063  */
00064 extern int cs8900Init(NUTDEVICE *dev);
00065 extern int cs8900Output(NUTDEVICE *dev, NETBUF *nb);
00066 
00067 #endif /* !__CS8900A_H__ */
00068 /*** EOF ***/
00069