[lkml]   [2000]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] change ifmap.base_addr to u_long type
   Date: 	Thu, 07 Sep 2000 14:36:02 -0700
From: Jun Sun <>

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

The layout of this structure is exported to userspace
applications, thus you cannot simply just change the
type in this structure to get the change you need.

This change thus cannot be made as-is.

You must find some other way, let me give you one example
of a potentially acceptable solution:

1) Add new member to union inside of ifreq where ifmap
currently lives. Add new member, perhaps called ifmap2
which uses more appropriate types for base_addr member.

2) Add new ifreq call which looks at ifmap2 instead of ifmap.

This way, existing userland applications still work as they
did before hand, and new ones can be written to use the ifmap2
version of the interface.

Also be sure that the glibc maintainers get this change once it
is in the kernel.

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:41    [W:0.044 / U:3.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site