21 Mar, 2006
1 commit
-
platform_get_irq*() now returns on -ENXIO when the resource cannot be
found. Ensure all users of platform_get_irq*() handle this error
appropriately.Signed-off-by: David Vrabel
Signed-off-by: Greg Kroah-Hartman
11 Mar, 2006
1 commit
-
Fix pcmcia_device_probe NULL pointer dereference at startup.
Signed-off-by: Hugh Dickins
Signed-off-by: Linus Torvalds
01 Mar, 2006
1 commit
-
The second pseudo multi-function device of a PCMCIA card may only be
configured once the first one is initialized. Therefore, delay the
registration of the second device until the first one is initialized.Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net
14 Jan, 2006
1 commit
-
Signed-off-by: Russell King
Signed-off-by: Greg Kroah-Hartman
13 Jan, 2006
3 commits
-
With the "power/state" sysfs interface being deprecated, make another
one available which is compatible to what was discussed on the linux
PM mailinglist.Signed-off-by: Dominik Brodowski
11 Jan, 2006
1 commit
-
Patch from Richard Purdie
Change mainstone and sharpsl pxa2xx pcmcia drivers to use
platform_device_alloc which fixes a memory leak.Signed-off-by: Richard Purdie
Signed-off-by: Russell King
10 Jan, 2006
2 commits
-
Signed-off-by: Ralf Baechle
-
Replace obsolete pci_module_init() with pci_register_driver().
Signed-off-by: Richard Knutsson
Signed-off-by: Greg Kroah-Hartman
07 Jan, 2006
1 commit
06 Jan, 2006
20 commits
-
kill the socket_shutdown()/shutdown_socket() confusion by making it
one single function. move cs_socket_put() in there. nicer to read and
smaller:original:
text data bss dec hex filename
25181 1076 32 26289 66b1 drivers/pcmcia/pcmcia_core.kopatched:
text data bss dec hex filename
24973 1076 32 26081 65e1 drivers/pcmcia/pcmcia_core.koSigned-off-by: Daniel Ritz
Signed-off-by: Dominik Brodowski -
Signed-off-by: Alexey Dobriyan
Signed-off-by: Dominik Brodowski -
Convert users of kmalloc and memset to kzalloc
Signed-off-by: Dominik Brodowski
-
Do not wildly probe the IO ports we're trying to use on PARISC.
Signed-off-by: Dominik Brodowski
-
Export the stored values instead of re-reading everything in the socket
information sysfs files, and make them accessible to all users, not only
to root.Signed-off-by: Dominik Brodowski
-
This adds PCMCIA support for both MPC885ADS and MPC866ADS.
This is established not together with FADS, because 885 does not have
io_block_mapping() for BCSR area.
Also, some cleanups done both for 885ADS and MBX.Signed-off-by: Vitaly Bordug
Signed-off-by: Marcelo Tosatti
Signed-off-by: Dominik Brodowski -
This fixes misconfiguration that could result in odd work of some old CF
cards.Signed-off-by: Vitaly Bordug
Signed-off-by: Marcelo Tosatti
Signed-off-by: Dominik Brodowski -
Some PCMCIA sockets have statically mapped memory windows, but dynamically
mapped IO windows. Using the "nonstatic" socket library is inpractical for
them, as they do neither need a resource database (as we can trust the
kernel resource database on m68k and ppc) nor lots of other features of that
library. Let them get a small "iodyn" socket library (105 lines of code)
instead.Signed-off-by: Dominik Brodowski
-
Unify the EVENT_CARD_INSERTION and "attach" callbacks to one unified
probe() callback. As all in-kernel drivers are changed to this new
callback, there will be no temporary backwards-compatibility. Inside a
probe() function, each driver _must_ set struct pcmcia_device
*p_dev->instance and instance->handle correctly.With these patches, the basic driver interface for 16-bit PCMCIA drivers
now has the classic four callbacks known also from other buses:int (*probe) (struct pcmcia_device *dev);
void (*remove) (struct pcmcia_device *dev);int (*suspend) (struct pcmcia_device *dev);
int (*resume) (struct pcmcia_device *dev);Signed-off-by: Dominik Brodowski
-
Remove the old "detach" mechanism as it is unused now.
Signed-off-by: Dominik Brodowski
-
Unify the "detach" and REMOVAL_EVENT handlers to one "remove" function.
Old functionality is preserved, for the moment.Signed-off-by: Dominik Brodowski
-
Merge the suspend and resume methods for 16-bit PCMCIA cards into the
device model -- for both runtime power management and suspend to ram/disk.Bugfix in ds.c by Richard Purdie
Signed-Off-By: Richard PurdieSigned-off-by: Dominik Brodowski
-
Move the suspend and resume methods out of the event handler, and into
special functions. Also use these functions for pre- and post-reset, as
almost all drivers already do, and the remaining ones can easily be
converted.Bugfix to include/pcmcia/ds.c
Signed-off-by: Andrew MortonSigned-off-by: Dominik Brodowski
-
Make the bridge specific initialization code config options depending on
CONFIG_EMBEDDED. Config options for TI/EnE, Toshiba, Ricoh and O2Micro are
available. Disabling all of the specific tweaks cuts off more than half
of yenta_socket.ko.Signed-off-by: Daniel Ritz
Signed-off-by: Dominik Brodowski -
Also return a value if CONFIG_PCMCIA_PROBE is not set.
Signed-off-by: Andrew Morton
Signed-off-by: Dominik Brodowski -
Add a return value to pcmcia_validate_mem. Only if we have enough memory
available to map the CIS, we should proceed in trying to determine information
about the device.Signed-off-by: Dominik Brodowski
-
The .get_socket callback is never used by the PCMCIA core, therefore remove
it.Signed-off-by: Dominik Brodowski
-
Don't waste cpu time in yenta interrupt handler when the interrupt was for
another device.Signed-off-by: Daniel Ritz
Signed-off-by: Dominik Brodowski -
Fix macro abuse in pcmcia.
Signed-off-by: Pavel Machek
Signed-off-by: Dominik Brodowski -
Patch from Richard Purdie
The SL-Cxx00 devices have a power control register in SCOOP that is
shared by both CF and MMC/SD card slots. The CF reset code was resetting
this register leading to various lockups as the MMC power was suddenly
lost. This patch handles the CPR register in a more sensitive manner.It also removes some unneeded collie specific calls as the reset code
handles this.Signed-off-by: Richard Purdie
Signed-off-by: Russell King
05 Jan, 2006
1 commit
-
Leave the overloaded "hotplug" word to susbsystems which are handling
real devices. The driver core does not "plug" anything, it just exports
the state to userspace and generates events.Signed-off-by: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
29 Nov, 2005
1 commit
-
This patch is for supporting IDE interface for M3A-2170(Mappi-III) board.
Signed-off-by: Mamoru Sakugawa
Signed-off-by: Hirokazu Takata
Cc: Bartlomiej Zolnierkiewicz
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
13 Nov, 2005
2 commits
-
Print out minimal information in dmesg whnever a CardBus or PCMCIA card
is inserted into or ejected from a slot. This will make debugging certain
types of bugs much easier, and is similar to output produced by other
hotpluggable buses.Signed-off-by: Dominik Brodowski
-
Use the new platform_device helpers in the i82365 driver to get rid of the
"device 'i823650' does not have a release() function" warning, and to solve
bug #3676.Signed-off-by: Dominik Brodowski
10 Nov, 2005
3 commits
-
The i82365 driver does not release all the resources when the device is not
found. This can cause an oops when reading /proc/ioports after module
unload.Signed-off-by: Igor Popik
Signed-off-by: Dominik Brodowski -
Kconfig entry: dependency on 8xx
Makefile: fix whitespace breakage
m8xx_pcmcia.c:
- asm/segment.h is gone
- use generic PCMCIA suspend/resume methodsSigned-off-by: Marcelo Tosatti
Signed-off-by: Dominik Brodowski -
Add rsp. remove the inclusion of as needed.
Signed-off-by: Ralf Baechle
Signed-off-by: Dominik Brodowski
09 Nov, 2005
2 commits
-
This patch removes almost all inclusions of linux/version.h. The 3
#defines are unused in most of the touched files.A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
unfortunatly in linux/version.h.There are also lots of #ifdef for long obsolete kernels, this was not
touched. In a few places, the linux/version.h include was move to where
the LINUX_VERSION_CODE was used.quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'`
search pattern:
/UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).hSigned-off-by: Olaf Hering
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Patch from Richard Purdie
The Sharp SL-Cxx00 models have a combined power control for the SD
and CF slot 0. This patch adds hooks to the scoop driver to allow
machines to provide a custom control function for this and such a
function is added for spitz/akita/borzoi.It also moves the gpio init code into the machine files as this
is machine dependent and differs between some models. A couple of
warnings when compiling for collie are also fixed.Signed-off-by: Richard Purdie
Signed-off-by: Russell King