X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=drivers%2Fnet%2Fmyri_sbus.c;h=8b4313085359ce703f2f4bd6c91c815c43a2c030;hb=8fe6536850ae49609704a263cbc7542133536922;hp=b3513ad3b7037eb45b76190b32124b9f7a842dba;hpb=a0607fd3a25ba1848a63a0d925e36d914735ab47;p=safe%2Fjmp%2Flinux-2.6 diff --git a/drivers/net/myri_sbus.c b/drivers/net/myri_sbus.c index b3513ad..8b43130 100644 --- a/drivers/net/myri_sbus.c +++ b/drivers/net/myri_sbus.c @@ -716,10 +716,10 @@ static int myri_header(struct sk_buff *skb, struct net_device *dev, pad[0] = MYRI_PAD_LEN; pad[1] = 0xab; - /* Set the protocol type. For a packet of type ETH_P_802_3 we put the length - * in here instead. It is up to the 802.2 layer to carry protocol information. + /* Set the protocol type. For a packet of type ETH_P_802_3/2 we put the + * length in here instead. */ - if (type != ETH_P_802_3) + if (type != ETH_P_802_3 && type != ETH_P_802_2) eth->h_proto = htons(type); else eth->h_proto = htons(len);