- Nov 07, 2005
-
-
John W. Linville authored
Convert 3c59x driver to use pci_iomap API. This makes it easier to enable the use of memory-mapped PCI I/O resources. Signed-off-by:
John W. Linville <linville@tuxdriver.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
- Nov 06, 2005
-
-
Pantelis Antoniou authored
The offsets of the registers are in a different place, and some parts cannot handle a full set of modem control signals. Signed-off-by:
Pantelis Antoniou <pantelis@embeddedalley.ocm> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 05, 2005
-
-
Samuel Thibault authored
Some visually impaired people use hardware devices which directly read the vga screen. When newt for instance asks to hide the cursor for better visual aspect, the kernel puts the vga cursor out of the screen, so that the cursor position can't be read by the hardware device. This is a great loss for such people. Here is a patch which uses the same technique as CUR_NONE for hiding the cursor while still moving it. Mario, you should apply it to the speakup kernel for access floppies asap. I'll submit a 2.4 patch too. Signed-off-by:
<samuel.thibault@ens-lyon.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Russell King authored
Statically allocated devices in module data is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module data will be freed. Subsequent use of the platform device will cause a kernel oops. Use generic platform device allocation/release code in modules. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Russell King authored
Statically allocated devices in module data is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module data will be freed. Subsequent use of the platform device will cause a kernel oops. Use generic platform device allocation/release code in modules. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Russell King authored
Release code in driver modules is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module text will be freed. Subsequently, when the last reference is dropped, the release code will be called, which no longer exists. Use generic platform device allocation/release code in modules. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Russell King authored
Release code in driver modules is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module text will be freed. Subsequently, when the last reference is dropped, the release code will be called, which no longer exists. Use generic platform device allocation/release code in modules. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Russell King authored
Release code in driver modules is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module text will be freed. Subsequently, when the last reference is dropped, the release code will be called, which no longer exists. Use generic platform device allocation/release code in modules. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Russell King authored
Release code in driver modules is a potential cause of oopsen. The device may be in use by a userspace process, which will keep a reference to the device. If the module is unloaded, the module text will be freed. Subsequently, when the last reference is dropped, the release code will be called, which no longer exists. Use generic platform device allocation/release code in modules. Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Russell King authored
Re-jig the simple platform device support to allow private data to be attached to a platform device, as well as allowing the parent device to be set. Example usage: pdev = platform_device_alloc("mydev", id); if (pdev) { err = platform_device_add_resources(pdev, &resources, ARRAY_SIZE(resources)); if (err == 0) err = platform_device_add_data(pdev, &platform_data, sizeof(platform_data)); if (err == 0) err = platform_device_add(pdev); } else { err = -ENOMEM; } if (err) platform_device_put(pdev); Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
Matt Porter authored
Adds a phy_mask field to struct mii_bus and uses it. This field indicates each phy address to be ignored when probing the mdio bus. This support is needed for the fs_enet and ibm_emac drivers to be converted to the generic phy layer among other drivers. Many systems lock up on probing certain phy addresses or probing doesn't return 0xffff when nothing is found at the address. A new driver I'm working on also makes use of this mask. Signed-off-by:
Matt Porter <mporter@kernel.crashing.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Don Fry authored
Some boards using the 79c976 pcnet32 chip will hang the system if the ethtool --register-dump is performed with the device operational. The request to read bcr30 is retried by the PCI device infinitely without returning data, hanging the system. Tested ia32 and ppc64. Signed-off-by:
Don Fry <brazilnut@us.ibm.com> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Don Fry authored
This patch is a better fix for Allied Telesyn 2700/2701 FX boards than the change made in early January this year. It allows the user to select the speed/duplex via module_param, but if no selection is made, forces the speed to 100 FD. It fixes both Bugzilla bugs 2669 and 4551. Tested ia32 and ppc64 by myself, and by the originator of bug 2669. Signed-off-by:
Don Fry <brazilnut@us.ibm.com> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Don Fry authored
Display the name eth%d or pci_name() of device which fails to allocate memory. When changing ring size via ethtool, it also releases the lock before returning on error. Added comment that the caller of pcnet32_alloc_ring must call pcnet32_free_ring on error, to avoid leak. Tested ia32 by forcing allocation errors. Signed-off-by:
Don Fry <brazilnut@us.ibm.com> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Ananda Raju authored
Hi, This patch provides dynamic two buffer-mode and 3 buffer-mode options. Previously 2 buffer-mode was compilation option. Now with this patch applied one can load driver in 2 buffer-mode with module-load parameter ie. #insmod s2io.ko rx_ring_mode=2 This patch also provides 3 buffer-mode which provides header separation functionality. In 3 buffer-mode skb->data will have L2/L3/L4 headers and "skb_shinfo(skb)->frag_list->data" will have have L4 payload. one can load driver in 3 buffer-mode with same above module-load parameter ie. #insmod s2io.ko rx_ring_mode=3 Please review the patch. Signed-off-by:
Ananda Raju <ananda.raju@neterion.com> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Gabriel A. Devenyi authored
fid is declared as a u32 (unsigned int), and then a few lines later, it is checked for a value < 0, which is clearly useless. In the two locations this function is used, in one it is *explicitly* given a negative number, which would be ignored with the current definition. Thanks to LinuxICC (http://linuxicc.sf.net ). Signed-off-by:
Gabriel A. Devenyi <ace@staticwave.ca> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Tejun Heo authored
-
Alan Stern authored
Currently the driver takes a reference only for requests coming by way of the gendisk, not for requests coming by way of the struct device or struct scsi_device. Such requests can arrive in the rescan, flush, and shutdown pathways. The patch also makes the scsi_disk keep a reference to the underlying scsi_device, and it erases the scsi_device's pointer to the scsi_disk when the scsi_device is removed (since the pointer should no longer be used). This resolves Bugzilla entry #5237. Signed-off-by:
Alan Stern <stern@rowland.harvard.edu> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Pierre Ossman authored
The printks that aren't for debugging should use the name of the controller, not the driver name. Multiple MMC controllers aren't that common today, but this is the right way to do things. Signed-off-by:
Pierre Ossman <drzeus@drzeus.cx> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Pierre Ossman authored
There is a broken if clause in the wbsd driver that can cause the driver to try and configure the chip even though none is found. This results in i/o on invalid ports. Signed-off-by:
Pierre Ossman <drzeus@drzeus.cx> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 04, 2005
-
-
James Bottomley authored
It looks like one of the ips patches was missing a closing brace in a function Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
-
Jeff Garzik authored
Use ata_pad_{alloc,free} in two drivers, to factor out common code. Add ata_pad_{alloc,free} to two other drivers, which needed the padding but had not been updated.
-
Calin A. Culianu authored
This adds support for the Nvidia Geforce 7800 series of cards to the nvidiafb framebuffer driver. All it does is add the PCI device id for the 7800, 7800 GTX, 7800 GO, and 7800 GTX GO cards to the module device table for the nvidiafb.ko driver, so that nvidiafb.ko will actually work on these cards. I also added the relevant PCI device ids to linux/pci_ids.h I tested it on my 7800 GTX here and it works like a charm. I now can get framebuffer support on this card! Woo hoo!! Nothing like 200x75 text mode to make your eyes BLEED. ;) Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
David S. Miller authored
At header fixup time, it is not yet legal to ioremap() PCI device registers, yet that is what this quirk code needs to do. Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Russell King authored
Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
No longer maintained
-
Russell King authored
No longer maintained
-
Russell King authored
No longer maintained
-
- Nov 03, 2005
-
-
Jack Morgenstein authored
Make sure that the P_Key index passed into mthca_modify_qp() is within the device's P_Key table. Signed-off-by:
Jack Morgenstein <jackm@mellanox.co.il> Signed-off-by:
Roland Dreier <rolandd@cisco.com>
-
Ben Dooks authored
Fix sparse warning about passing `0` to simple_strtoul() Signed-off-by:
Ben Dooks <ben-linux@fluff.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Roland Dreier authored
Fix hotplug of devices for ib_umad module: when a device goes away, kill off all MAD agents for open files associated with that device, and make sure that the device is not touched again after ib_umad returns from its remove_one function. Signed-off-by:
Roland Dreier <rolandd@cisco.com>
-
- Nov 02, 2005
-
-
Roland Dreier authored
Mellanox has decided that the components of the firmware version are really meant to be displayed in decimal, e.g. 0x000400070190 is version 4.7.400. Change the format we use from "%x.%x.%x" to "%d.%d.%d" to match this convention. Signed-off-by:
Roland Dreier <rolandd@cisco.com>
-
Roland Dreier authored
Don't build ipoib_mcast_iter_ functions if CONFIG_INFINIBAND_IPOIB_DEBUG is not enabled -- their only callers will not be built either. Also move the prototype for ipoib_open() to ipoib.h to fix a sparse warning. Signed-off-by:
Roland Dreier <rolandd@cisco.com>
-
Roland Dreier authored
Add an InfiniBand SCSI RDMA Protocol (SRP) initiator. This driver is used to talk talk to InfiniBand SRP targets (storage devices). Signed-off-by:
Roland Dreier <rolandd@cisco.com>
-
Roland Dreier authored
Shrink our source and .text a little by removing a few assignments of NULL and 0 to memory that is already cleared as part of the allocation. Signed-off-by:
Roland Dreier <rolandd@cisco.com>
-
Roland Dreier authored
Replace kmalloc()+memset(,0,) with kzalloc(), for a net savings of 35 source lines and about 500 bytes of text. Signed-off-by:
Roland Dreier <rolandd@cisco.com>
-
Russell King authored
Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 01, 2005
-
-
Tejun Heo authored
cfq's add_req_fn callback may invoke q->request_fn directly and depending on low-level driver used and timing, a queued request may be finished & deallocated before add_req_fn callback returns. So, __elv_add_request must not access rq after it's passed to add_req_fn callback. This patch moves rq_mergeable test above add_req_fn(). This may result in q->last_merge pointing to REQ_NOMERGE request if add_req_fn callback sets it but as RQ_NOMERGE is checked again when blk layer actually tries to merge requests, this does not cause any problem. Signed-off-by:
Tejun Heo <htejun@gmail.com> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Santiago Leon authored
This patch fixes a panic in the current tree caused by a race condition between the initial replenish cycle and the rx processing of the first packets trying to replenish the buffers. Signed-off-by:
Santiago Leon <santil@us.ibm.com> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Al Viro authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-