Re: token ring dev->type numbers

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 9 Jan 2000 13:47:57 +0000 (GMT)


> However, as shown above, a fake type is used for token ring, despite the
> real type (802.2 -- 6) being listed. The autoconfig code sets the BOOTP
> type directly from the dev->type field, which contains for the fake number
> in the case of token ring.

Ok I missed that when doing the tr merge and putting the TR special type in.
You probably want to issue a type=6 for this device.

> I assume linux uses the fake number so that it can differentiate between
> the different 802.2 hardware (which (rarely) includes non-TR things).

Token ring has different multicast handling rules. This is why we differentiate.
Just map it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/