Deleted Added
full compact
30c30
< * $FreeBSD: head/sys/dev/cs/if_cs.c 104252 2002-10-01 00:46:41Z brooks $
---
> * $FreeBSD: head/sys/dev/cs/if_cs.c 106937 2002-11-14 23:54:55Z sam $
660c660
< ether_ifattach(ifp, ETHER_BPF_SUPPORTED);
---
> ether_ifattach(ifp, sc->arpcom.ac_enaddr);
753,754c753
< * Get the packet from the board and send it to the upper layer
< * via ether_input().
---
> * Get the packet from the board and send it to the upper layer.
814,817d812
< m->m_pkthdr.len -= sizeof(struct ether_header);
< m->m_len -= sizeof(struct ether_header);
< m->m_data += sizeof(struct ether_header);
<
819c814
< ether_input(ifp, eh, m);
---
> (*ifp->if_input)(ifp, m);
964,966c959
< if (ifp->if_bpf) {
< bpf_mtap(ifp, m);
< }
---
> BPF_MTAP(ifp, m);
1088,1093d1080
< case SIOCSIFADDR:
< case SIOCGIFADDR:
< case SIOCSIFMTU:
< ether_ioctl(ifp, command, data);
< break;
<
1135c1122,1123
< error = EINVAL;
---
> ether_ioctl(ifp, command, data);
> break;