On Mon, 11 Jul 2005 15:51:38 +0800 munro <munro.biswal@xxxxxxxxxxxxxxxx> wrote: > Hi, all, > > I am a newbie. i wish to add another ioctl into brctl for doing some > manipulations. How do i do so?? > > Please advise on the steps. > I moved away from using ioctl's for doing bridge stuff and used sysfs instead for the newer API's in 2.6. The problem was that it is impossible to to use device private ioctl's in a mixed 32bit/64bit environment. If you look at the ioctl translation code in kernel/compat.c you will see how the bridge specific ioctl's are translated. But the SIOCDEVPRIVATE one's couldn't easily be fixed.