Re: [2.6 patch] the long overdue pcmcia_ioctl.c removal
From: Russell King
Date: Wed Feb 27 2008 - 15:48:18 EST
On Wed, Feb 27, 2008 at 08:13:03PM +0200, Adrian Bunk wrote:
> On Mon, Feb 18, 2008 at 05:01:33AM -0800, Andrew Morton wrote:
> > On Wed, 13 Feb 2008 23:31:15 +0200 Adrian Bunk <bunk@xxxxxxxxxx> wrote:
> >
> > > pcmcia_ioctl.c was scheduled for removal in 2005, and it has a
> > > deprecation printk() since 2005 (sic).
> > >
> > > This patch contains the long overdue removal and the cleanups that are
> > > now possible.
> >
> > I've had this in -mm for ages, with a note that Dominik had a problem with
> > it. Maybe there are subtleties here, dunno.
>
> This removal has bells and whistles and printk() since 2005...
>
> Dominik, what exactly is the problem why we can't remove it now?
I've objected to it in the past because one of the machines I use
every week requires the ioctls to be able to work - the rootfs is on
a CF card and it uses an initrd to work out - at run time - whether
it's supposed to be running off the CF card or some other internal
memory.
Unfortunately, the project closed down, and I didn't have a chance
(nor the bandwidth) to take a copy of the CVS, which means I've *NO*
possibility to rebuild userspace - which effectively means I can't
change it.
Therefore, removal of the PCMCIA ioctls effectively bars me from
upgrading the kernel on this platform.
There are also other desktop GUI controls which talk to the kernel
PCMCIA subsystem via ioctls - which fall into the same "I can't fix
them" category - some of which are already broken through the removal
of the PCMCIA version reporting IOCTL. Eg, it now thinks there's
always a wireless card plugged in.
TBH I've given up trying to fight this continue "lets remove these
IOCTLs which no one uses" crap. Obviously, _I_ use them.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/