Re: [PATCH] [RFC] increase MAX_ADDR_LEN

From: Roland Dreier (roland@topspin.com)
Date: Mon Nov 11 2002 - 19:01:43 EST


>>>>> "Alan" == Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

>>>>> On Mon, 2002-11-11 at 23:38, David S. Miller wrote:

    Dave> So how are apps able to specify such larger hw addresses to
    Dave> configure a driver if IFHWADDRLEN is still 6?

    Dave> I'm not going to increase MAX_ADDR_LEN if there is no user
    Dave> ABI capable of configuring such larger addresses properly.

    Alan> The kernel just ignores it. We support multiple devices with
    Alan> larger address lengths. Its mostly a legacy constant

What drivers in the kernel are there with address length more than
MAX_ADDR_LEN? What do they put dev->addr_len and dev->dev_addr?

Thanks,
  Roland <roland@topspin.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:24 EST