Skip to content

Commit

Permalink
[PATCH] pcmcia: deprecate ioctl
Browse files Browse the repository at this point in the history
Schedule removal of the PCMCIA ioctl (and thus kernel support for the
pcmcia-cs userspace package) for November 2005.

A big "thank you" to Dave Hinds for his great work on supporting PCMCIA in
Linux.  Things are just done differently by now, so the ongoing work to make
PCMCIA behave like any other hotpluggable bus should continue.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Dominik Brodowski authored and Linus Torvalds committed Jul 8, 2005
1 parent 69a4d56 commit bf45d9b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
16 changes: 16 additions & 0 deletions Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,19 @@ Why: Match the other drivers' name for the same function, duplicate names
will be available until removal of old names.
Who: Grant Coady <gcoady@gmail.com>

---------------------------

What: PCMCIA control ioctl (needed for pcmcia-cs [cardmgr, cardctl])
When: November 2005
Files: drivers/pcmcia/: pcmcia_ioctl.c
Why: With the 16-bit PCMCIA subsystem now behaving (almost) like a
normal hotpluggable bus, and with it using the default kernel
infrastructure (hotplug, driver core, sysfs) keeping the PCMCIA
control ioctl needed by cardmgr and cardctl from pcmcia-cs is
unnecessary, and makes further cleanups and integration of the
PCMCIA subsystem into the Linux kernel device driver model more
difficult. The features provided by cardmgr and cardctl are either
handled by the kernel itself now or are available in the new
pcmciautils package available at
http://kernel.org/pub/linux/utils/kernel/pcmcia/
Who: Dominik Brodowski <linux@brodo.de>
14 changes: 5 additions & 9 deletions drivers/pcmcia/Kconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#
# PCMCIA bus subsystem configuration
#
# Right now the non-CardBus choices are not supported
# by the integrated kernel driver.
# PCCARD (PCMCIA/CardBus) bus subsystem configuration
#

menu "PCCARD (PCMCIA/CardBus) support"
Expand Down Expand Up @@ -32,7 +29,7 @@ config PCMCIA_DEBUG

The kernel command line options are:
pcmcia_core.pc_debug=N
ds.pc_debug=N
pcmcia.pc_debug=N
sa11xx_core.pc_debug=N

The module option is called pc_debug=N
Expand Down Expand Up @@ -73,17 +70,16 @@ config PCMCIA_LOAD_CIS
If unsure, say Y.

config PCMCIA_IOCTL
bool
bool "PCMCIA control ioctl (obsolete)"
depends on PCMCIA
default y
help
If you say Y here, the deprecated ioctl interface to the PCMCIA
subsystem will be built. It is needed by cardmgr and cardctl
(pcmcia-cs) to function properly.

If you do not use the new pcmciautils package, and have a
yenta, Cirrus PD6729, i82092, i82365 or tcic compatible bridge,
you need to say Y here to be able to use 16-bit PCMCIA cards.
You should use the new pcmciautils package instead (see
<file:Documentation/Changes> for location and details).

If unsure, say Y.

Expand Down

0 comments on commit bf45d9b

Please sign in to comment.