diff options
author | simokawa <simokawa@FreeBSD.org> | 2004-07-20 04:29:33 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2004-07-20 04:29:33 +0000 |
commit | 25877174f85378239276387e09a574f3f5f92b4b (patch) | |
tree | bab8ab5fa4b4488cfde2618bcb68426f9919e2cb /sys/dev/firewire | |
parent | b5eb40de5b7f387366c0b523d305700999c9a7d4 (diff) | |
download | FreeBSD-src-25877174f85378239276387e09a574f3f5f92b4b.zip FreeBSD-src-25877174f85378239276387e09a574f3f5f92b4b.tar.gz |
Initialize ifp->if_output for FreeBSD-4.
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r-- | sys/dev/firewire/if_fwe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/firewire/if_fwe.c b/sys/dev/firewire/if_fwe.c index eb8a942..d3c828d 100644 --- a/sys/dev/firewire/if_fwe.c +++ b/sys/dev/firewire/if_fwe.c @@ -209,6 +209,9 @@ fwe_attach(device_t dev) ifp->if_name = "fwe"; #endif ifp->if_init = fwe_init; +#if defined(__DragonFly__) || __FreeBSD_version < 500000 + ifp->if_output = ether_output; +#endif ifp->if_start = fwe_start; ifp->if_ioctl = fwe_ioctl; ifp->if_mtu = ETHERMTU; |