diff options
Diffstat (limited to 'sys/i386/isa/if_rdp.c')
-rw-r--r-- | sys/i386/isa/if_rdp.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/i386/isa/if_rdp.c b/sys/i386/isa/if_rdp.c index 31ad93a..f959a52 100644 --- a/sys/i386/isa/if_rdp.c +++ b/sys/i386/isa/if_rdp.c @@ -614,8 +614,7 @@ rdp_attach(struct isa_device *isa_dev) /* * Attach the interface */ - if_attach(ifp); - ether_ifattach(ifp); + ether_ifattach(ifp, ETHER_BPF_SUPPORTED); } /* @@ -629,10 +628,6 @@ rdp_attach(struct isa_device *isa_dev) printf("%s%d: address %6D\n", ifp->if_name, ifp->if_unit, sc->arpcom.ac_enaddr, ":"); - /* - * If BPF is in the kernel, call the attach for it - */ - bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); return 1; } |