Re: [PATCH] change ifmap.base_addr to u_long type

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Sep 07 2000 - 16:45:23 EST


> Here is a small patch which is needed on non-i386 platforms.

Which is wrong

> ifmap.base_addr is mainly used to initialize net_device base_addr, which
> is already a u_long.
>
> This change does not increase the memory size for struct ifmap.

But does change the field offsets

> In the same spirit, ifmap.irq should probably be changed to u_int as
> well, but that would increase the size, and I don't have the need yet.
> :-)

Yep.

You want to provide a new ioctl, but think about PCI multiple busses and the
like and talk to DaveM before you think you have all the fields

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



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:31 EST