diff options
| author | 2008-11-23 23:44:01 +0000 | |
|---|---|---|
| committer | 2008-11-23 23:44:01 +0000 | |
| commit | 5da2d3b532875615013c3ccd4ae9e0c636a5699b (patch) | |
| tree | dd5226659b8799042ee3d36330f7f6413a48219c /sys/net/if_ethersubr.c | |
| parent | pass in the dmat when we attach the drm driver. reduces pci dependancy. (diff) | |
| download | wireguard-openbsd-5da2d3b532875615013c3ccd4ae9e0c636a5699b.tar.xz wireguard-openbsd-5da2d3b532875615013c3ccd4ae9e0c636a5699b.zip | |
softraid support for ata over ethernet (aoe). this includes a client and
part of a server. there's no configuration yet, and several other drawbacks,
but it can be hammered into shape. i haven't moved the code forward in a year,
and marco wants it in the tree to hack on.
Diffstat (limited to 'sys/net/if_ethersubr.c')
| -rw-r--r-- | sys/net/if_ethersubr.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index dcbaab93b0c..8adca1c9a9b 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.127 2008/10/16 19:12:51 naddy Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.128 2008/11/23 23:44:01 tedu Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */ /* @@ -135,6 +135,10 @@ didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>. #include <net/if_trunk.h> #endif +#ifdef AOE +#include <net/if_aoe.h> +#endif /* AOE */ + #ifdef INET6 #ifndef INET #include <netinet/in.h> @@ -736,6 +740,11 @@ decapsulate: schednetisr(NETISR_PPPOE); break; #endif /* NPPPOE > 0 */ +#ifdef AOE + case ETHERTYPE_AOE: + aoe_input(ifp, m); + goto done; +#endif /* AOE */ #ifdef MPLS case ETHERTYPE_MPLS: case ETHERTYPE_MPLS_MCAST: |
