An error occurred fetching the project authors.
- 18 Oct, 2004 7 commits
-
-
Dominik Brodowski authored
Add a wrapper around pcmcia_validate_cis, and use pccard_validate_cis in ds.c
-
Dominik Brodowski authored
Rename the "internal" read_tuple to pccard_read_tuple, and update it to better calling conventions.
-
Dominik Brodowski authored
Add a wrapper around pcmcia_parse_tuple, and use pccard_parse_tuple in ds.c
-
Dominik Brodowski authored
Add a wrapping around pcmcia_get_tuple_data, and use pccard_get_tuple_data wherever possible.
-
Dominik Brodowski authored
Add wrappings around pcmcia_get_{first,next}_tuple, and use the new pccard_get_first,next_tuple calls wherever possible.
-
Dominik Brodowski authored
pcmcia_replace_cis doesn't need to know about the handle or a sub- function, as the cis can only be replaced as a whole. Also, remove bogus entries in cs_internal.h
-
Dominik Brodowski authored
The rest of drivers/pcmcia/bulkmem.c is only used by code relevant for 16-bit PCMCIA devices. So, link it with ds instead of with cs. The newly created module pcmcia.ko contains a MODULE_ALIAS() for the name "ds" so that backwards compatibility is ensured.
-
- 05 Oct, 2004 1 commit
-
-
Linus Torvalds authored
It was pretty clean already, adding the proper annotations to the base pointers and a few functions was all it took to make sparse happy about the PCI accesses.
-
- 22 Aug, 2004 2 commits
-
-
Russell King authored
-
Russell King authored
Add static_start element to pccard_mem_map - which is used by statically mapped sockets to return the physical address which should be used to access the memory region.
-
- 20 Jun, 2004 1 commit
-
-
Russell King authored
Make find_mem_region() return a struct resource. We preserve pccard_mem_map's sys_start and sys_stop elements for the moment since socket drivers are relying on this information for setting up their windows.
-
- 19 Jun, 2004 1 commit
-
-
Russell King authored
Move validate_mem() so we don't recurse. We call this function from the DS_GET_FIRST_TUPLE and DS_VALIDATE_CIS calls, which are the the first two functions which may be called by cardmgr or cardctl which require CIS access.
-
- 17 Apr, 2004 1 commit
-
-
Pavel Roskin authored
Patch from: Pavel Roskin As it turns out, mixing MODULE_PARM and module_param in one module is wrong. The parameters specified in module_param are ignored. I've just posted a patch to LKML that will detect this condition and warn about it. The new debugging code used the new-style module_param, which means that all instances of MODULE_PARM should be converted. The attached patch does that. An additional bonus is that module_param_array provides the number of array elements. This allowed me to change tcic.c and i82365.c to use this number for IRQ list. This change was tested with i82365. If "irq_list" is not specified, irq_list_count is 0. I set all permissions to 0444 to be safe. I think we have no secrets from the users regarding those parameters. If some parameters can be changed safely at the runtime, the permissions could be changed to 0644. I didn't examine how safe (and how useful) it would be, so it's 0444 for now.
-
- 14 Mar, 2004 1 commit
-
-
Russell King authored
The PCMCIA core debugging assumes that "pc_debug" is a global. If pc_debug were to be a global, it would pollute the kernel's global name space, potentially clashing with PCMCIA drivers and even ds.c. We also get rid of PCMCIA using the "DEBUG" macro, which is the standard macro to enable debugging in the kernel. Instead, we introduce cs_dbg() for core PCMCIA debugging, ds_dbg() for driver services debugging, and similar macros in the socket drivers.
-
- 30 Dec, 2003 1 commit
-
-
Andrew Morton authored
From: David Hinds <dhinds@sonic.net> This changes the PCMCIA CIS parsing code to use kmalloc() rather than allocating some data structures on the kernel stack.
-
- 27 Aug, 2003 1 commit
-
-
Russell King authored
If we fail to map the CIS space, don't pollute the CIS cache with invalid data.
-
- 07 Jul, 2003 1 commit
-
-
Dominik Brodowski authored
Rename the strangely named "ss_entry" structure to "ops".
-
- 16 Jun, 2003 1 commit
-
-
Russell King authored
We must always allocate windows below 1MB when a socket driver indicates that it does not have "page registers". Handle this case in rsrc_mgr.c within find_mem_region rather than each use of find_mem_region().
-
- 15 Jun, 2003 1 commit
-
-
Dominik Brodowski authored
Remove the inquire_socket callback by moving the (static) capability information to the top-level of struct pcmcia_socket.
-
- 12 Jun, 2003 1 commit
-
-
Dominik Brodowski authored
Get rid of the typedef struct pcmcia_socket socket_info_t; by replacing all remaining usages of cs_internal's socket_info_t with struct pcmcia_socket.
-
- 11 Jun, 2003 1 commit
-
-
Dominik Brodowski authored
This patch updates the callbacks to the socket drivers to take the corresponding struct pcmcia_socket as argument instead of the "socket number". drivers/pcmcia/bulkmem.c | 6 +++--- drivers/pcmcia/cistpl.c | 4 ++-- drivers/pcmcia/cs.c | 18 +++++++++--------- drivers/pcmcia/i82092.c | 36 +++++++++++++++++++++++------------- drivers/pcmcia/i82092aa.h | 20 ++++++++++---------- drivers/pcmcia/i82365.c | 34 +++++++++++++++++++++++----------- drivers/pcmcia/pci_socket.c | 40 ++++++++++++++++++++-------------------- drivers/pcmcia/rsrc_mgr.c | 2 +- drivers/pcmcia/tcic.c | 35 ++++++++++++++++++----------------- include/pcmcia/ss.h | 22 ++++++++++++---------- 10 files changed, 121 insertions(+), 96 deletions(-)
-
- 23 Apr, 2003 1 commit
-
-
Russell King authored
Several PCMCIA cards I have here do not work correctly over a suspend/resume cycle; the PCMCIA code believes that the card has been changed in the slot, and therefore performs a remove/insert cycle. This seems to be because the card returns more or less random data when reading memory space, leading to the CIS cache mismatching the card data. This in turn is caused because we try to read CIS data from both the attribute and memory spaces, and we add the result to the CIS cache whether or not the returned data was valid. We therefore convert the CIS cache to use a linked list, and provide a way to remove cached data from that list. We also replace the "s->cis_used=0;" construct with a function "destroy_cis_cache(s)" which clearly describes what we're doing.
-
- 23 Mar, 2003 2 commits
-
-
Russell King authored
Now that we have the critical PCI changes in place, we can convert cardbus to use this PCI functionality. This allows us to scan behind PCI to PCI bridges on cardbus cards, and setup the bus resources using the generic PCI support code. Note that drivers/pci/setup-bus.c needs to be built when hotplug (ie, cardbus) is enabled.
-
Russell King authored
- Re-order functions in cistpl.c. - Combine setup_cis_mem and set_cis_map into one function. - Move cis_readable(), checksum() and checksum_match() into rsrc_mgr.c - Only pass the socket structure to validate_mem() - Remove socket_info_t *vs variable, and the race condition along with it. - Pass the socket_info_t through validate_mem(), do_mem_probe() and inv_probe() to these functions. - Call cis_readable() and checksum_match() directly from do_mem_probe().
-
- 21 Mar, 2003 1 commit
-
-
Alan Cox authored
-
- 17 Mar, 2003 1 commit
-
-
Russell King authored
Remove bus_* abstractions from PCMCIA core and PCMCIA drivers; they are unused.
-
- 23 Feb, 2003 1 commit
-
-
Russell King authored
read_cb_mem is only ever called with its "fn" argument set to zero. We therefore do not need to pass it.
-
- 19 Nov, 2002 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Nov, 2002 1 commit
-
-
David Hinds authored
include/pcmcia/ciscode.h o added product ID's for a few more cards drivers/net/pcmcia/fmvj18x_cs.c o Added MODULE_DESCRIPTION o Added support for RATOC cards o Added support for Nextcom NC5310B cards o Added support for SSi 78Q8370 chipset o Added support for TDK GN3410 multifunction cards o Better errno for failed module initialization o Cleaned up whitespace drivers/net/pcmcia/smc91c92_cs.c o Added full duplex support for smc91c100 based cards o Better errno for failed module initialization o Synced up naming of stuff to match pcmcia-cs version o Cleaned up whitespace drivers/pcmcia/cardbus.c drivers/pcmcia/cistpl.c drivers/pcmcia/cs_internal.c o Fixed card identification bug triggered by invoking certain PCMCIA tools when cardmgr is not running.
-
- 01 Oct, 2002 1 commit
-
-
Paul Mackerras authored
The patch below is a forward-port from 2.4 of a fix that went in to the 2.4.x PCMCIA code some time back. It makes sure that that we request I/O and memory regions from the correct resource (the parent of the PCMCIA bridge chip, for PCMCIA bridges connected to a PCI bus) rather than always requesting them from the top-level ioport_resource or iomem_resource.
-
- 05 Feb, 2002 4 commits
-
-
Linus Torvalds authored
- Mikael Pettersson: make proc_misc happy without modules - Arjan van de Ven: clean up acpitable implementation ("micro-acpi") - Anton Altaparmakov: LDM partition code update - Alan Cox: final (yeah, sure) small missing pieces - Andrey Savochkin/Andrew Morton: eepro100 config space save/restore over suspend - Arjan van de Ven: remove power from pcmcia socket on card remove - Greg KH: USB updates - Neil Brown: multipath updates - Martin Dalecki: fix up some "asmlinkage" routine markings
-
Linus Torvalds authored
- sync up more with Alan - Urban Widmark: smbfs and HIGHMEM fix - Chris Mason: reiserfs tail unpacking fix ("null bytes in reiserfs files") - Adan Richter: new cpia usb ID - Hugh Dickins: misc small sysv ipc fixes - Andries Brouwer: remove overly restrictive sector size check for SCSI cd-roms
-
Linus Torvalds authored
- Jens: better ordering of requests when unable to merge - Neil Brown: make md work as a module again (we cannot autodetect in modules, not enough background information) - Neil Brown: raid5 SMP locking cleanups - Neil Brown: nfsd: handle Irix NFS clients named pipe behavior and dentry leak fix - maestro3 shutdown fix - fix dcache hash calculation that could cause bad hashes under certain circumstances (Dean Gaudet) - David Miller: networking and sparc updates - Jeff Garzik: include file cleanups - Andy Grover: ACPI update - Coda-fs error return fixes - rth: alpha Jensen update
-
Linus Torvalds authored
-