grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / devs / networks / e1000 / unit.h
blob72baa809f3d882361ec352078e09820e2db0f755
1 #ifndef _UNIT_H_
2 #define _UNIT_H_
3 /*
4 * $Id$
5 */
6 /*
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20 MA 02111-1307, USA.
23 #include <exec/types.h>
24 #include <exec/resident.h>
25 #include <exec/io.h>
26 #include <exec/ports.h>
27 #include <exec/errors.h>
29 #include <devices/sana2.h>
30 #include <devices/sana2specialstats.h>
31 #include <devices/newstyle.h>
33 #include <utility/utility.h>
34 #include <utility/tagitem.h>
35 #include <utility/hooks.h>
37 #include <proto/exec.h>
38 #include <proto/dos.h>
39 #include <proto/battclock.h>
41 #include <stdlib.h>
43 #include "e1000_hw.h"
44 #include LC_LIBDEFS_FILE
46 struct e1000Unit *CreateUnit(LIBBASETYPEPTR, OOP_Object *);
47 void DeleteUnit(struct e1000Base *, struct e1000Unit *);
48 void FlushUnit(LIBBASETYPEPTR, struct e1000Unit *, UBYTE, BYTE);
49 BOOL AddressFilter(struct e1000Base *, struct e1000Unit *, UBYTE *);
50 VOID CopyPacket(struct e1000Base *, struct e1000Unit *, struct IOSana2Req *, UWORD, UWORD, struct eth_frame *);
51 VOID ReportEvents(struct e1000Base *, struct e1000Unit *, ULONG);
52 struct TypeStats *FindTypeStats(struct e1000Base *, struct e1000Unit *, struct MinList *, ULONG);
54 BOOL AddMulticastRange(LIBBASETYPEPTR, struct e1000Unit *, const UBYTE *, const UBYTE *);
55 BOOL RemMulticastRange(LIBBASETYPEPTR, struct e1000Unit *, const UBYTE *, const UBYTE *);
57 #endif //_UNIT_H_