02 Jan, 2006
1 commit
-
Ignore all files generated from *_shipped files, plus a few others.
Signed-off-by: Brian Gerst
Signed-off-by: Sam Ravnborg
19 Nov, 2005
39 commits
-
Make sure that userspace passes in enough data when sending a MAD. We
always copy at least sizeof (struct ib_user_mad) + IB_MGMT_RMPP_HDR
bytes from userspace, so anything less is definitely invalid. Also,
if the length is less than this limit, it's possible for the second
copy_from_user() to get a negative length and trigger a BUG().Signed-off-by: Roland Dreier
-
The following patch fixes a crash caused by attempting to bounce buffer
when an IDE CD-ROM is used on a machine with an IO-MMU. [At least, this
patch fixes things so I can use my IDE CD-ROM behind an ns87415 on a
HP PA-RISC workstation.]Signed-off-by: James Bottomley
Signed-off-by: Kyle McMartin
Signed-off-by: Bartlomiej Zolnierkiewicz -
Signed-off-by: Ralf Baechle
Signed-off-by: Bartlomiej Zolnierkiewicz -
Calculation of QP capabilities still isn't exactly right in mthca:
max_send_sge/max_recv_sge fields returned in create_qp can exceed the
handware supported limits.Signed-off-by: Michael S. Tsirkin
Signed-off-by: Roland Dreier -
From: Amit Gud
Patch follows from the suggestions by AC and Felipe W Damasio for fixing the
return codes from IDE drivers.[ bart: fix coding style while at it ]
Signed-off-by: Amit Gud
Signed-off-by: Domen Puncer
Signed-off-by: Alexey Dobriyan
Signed-off-by: Bartlomiej Zolnierkiewicz -
Signed-off-by: Jeff Garzik
Signed-off-by: Bartlomiej Zolnierkiewicz -
Signed-off-by: Thibaut VARENE
Signed-off-by: Bartlomiej Zolnierkiewicz -
From: Thibaut VARENE
Cleaning up the hwif without knowing its previous state in pmac.c is a big
and potentially dangerous job, and there seems to be no generic code interface
that would provide either a way to properly release an hwif or to clean it up.Fixes OOPS for empty PMAC interface and add-on PCI controller.
Acked-by: Benjamin Herrenschmidt
Signed-off-by: Bartlomiej Zolnierkiewicz -
Signed-off-by: Alexey Dobriyan
Signed-off-by: Bartlomiej Zolnierkiewicz -
These drivers do not compile on big endian systems, and parisc
is big endian. Also mark some as broken on m68k as well.Signed-off-by: Matthew Wilcox
Signed-off-by: Kyle McMartin -
From: Hanna Linder
The dev returned from pci_find_device() was not used so it can be
replaced with pci_dev_present(). Compile tested.Signed-off-by: Hanna Linder
Signed-off-by: Maximilian Attems
Signed-off-by: Domen Puncer
Signed-off-by: Alexey Dobriyan
Signed-off-by: Bartlomiej Zolnierkiewicz -
Mention PA-RISC in NS87415 help. PA-RISC [BCJ]xxx0 workstations come with
NS87415 integrated for their CD-ROM drives.Signed-off-by: Matthew Wilcox
Signed-off-by: Kyle McMartin -
Depend on GSC, not PARISC. Machines without GSC don't have a MUX.
Signed-off-by: Matthew Wilcox
Signed-off-by: Kyle McMartin -
The structure ide_driver_t have a .owner field which is a duplicate
of .gendriver.owner field (.gen_driver is a struct device_driver).This patch removes ide_driver_t's owner field.
Signed-off-by: Laurent Riffard
Signed-off-by: Bartlomiej Zolnierkiewicz -
Support multiple controllers in the via82cxxx IDE driver.
Cable detection and ISA bridge finding have been moved into
their own functions.Signed-off-by: Daniel Drake
Signed-off-by: Bartlomiej Zolnierkiewicz -
This entry adds needless complication to the driver as it requires the use of
global variables to be passed into via_get_info(), making things quite ugly
when we try and make this driver support multiple controllers simultaneously.This patch removes /proc/via for simplicity.
On 10/13/05, Daniel Drake wrote:
> Per Bart's suggestion, I've created a user-space app which shows identical
> data (and doesn't even rely on the via82cxxx IDE driver).
>
> http://www.reactivated.net/software/viaideinfo/
>
> So, I think we should be clear to drop /proc/ide/via now.Signed-off-by: Daniel Drake
Signed-off-by: Bartlomiej Zolnierkiewicz -
Jeff Garzik pointed me to his code to see how to remove a disk from
the system _properly_. Well, here it is...
Every place we remove disks we are now testing before calling del_gendisk
or blk_cleanup_queue and then call put_disk.Signed-off-by: Mike Miller
Signed-off-by: Jens Axboe -
Applications using CCISS_BIG_PASSTHRU complained that the data written
was zeros. The problem is that the buffer is being cleared after the
user copy, unless the user copy has failed... Correct that logic.Signed-off-by: Mike Miller
Signed-off-by: Jens Axboe -
ipw2100: Fix 'Driver using old /proc/net/wireless...' message
Wireless extensions moved the get_wireless_stats handler from being
in net_device into wireless_handler.A prior instance of this patch resolved the issue for the ipw2200.
This one fixes it for the ipw2100.Signed-off-by: Benoit Boissinot
Signed-off-by: James Ketrenos
Signed-off-by: John W. Linville -
Change CONFIG_FEC_8XX to depend on CONFIG_8xx instead of CONFIG_FEC.
CONFIG_FEC depends on ColdFire CPUs, which does not apply for the
PPC 8xx processors.Signed-off-by: John W. Linville
-
hermas_bap_pread, hermes_bap_pwrite, and hermes_bap_pwrite_pad all have a parameter "len" that is declared unsigned,
but checked for a value less than zero. Auditing the callers, it is possible for len to be passed a negative value, so len should be an int.Thanks to LinuxICC (http://linuxicc.sf.net)
Signed-off-by: Gabriel A. Devenyi
Signed-off-by: Jeff Garzik -
In isl_38xx.c
In routine isl38xx_trigger-deviceMove unnecessary udelay/register read.
This is only required when hand-compiling the driver and
setting VERBOSE > SHOW_ERROR_MESSAGESSigned-off-by: Roger While
Signed-off-by: Jeff Garzik -
This header file patch was missing from the recent SAA9730 patch.
Signed-off-by: Ralf Baechle
Signed-off-by: Jeff Garzik -
Signed-off-by: Ralf Baechle
The Au1000 ethernet driver references plenty of CONFIG_* symbols.
Signed-off-by: Jeff Garzik -
Signed-off-by: Ralf Baechle
Signed-off-by: Jeff Garzik -
Signed-off-by: John W. Linville
Signed-off-by: Jeff Garzik -
For the four versions of hardware that we (currently) support microcode
download on, the default configuration of our receive interrupt mitigation
microcode was too aggressive, and caused unnecessary delays when pinging,
and low(er) throughput on single connection latency sensitive performance
tests.This code adds microcode support, and sets the defaults to more reasonable
settings. It also explains the functionality in the code in more detail.
Compile and load tested, shows expected behavior for slight delay of ping
packets (1-2ms) when ucode is loaded, and decent interrupt moderation for
small packets, while maintaining good throughput.Signed-off-by: Jesse Brandeburg
Signed-off-by: Jeff Garzik -
sil24_error_intr logs all error interrupts. ATAPI devices generates
many harmless errors which can be ignored and all serious ones are
reported via sense data by SCSI layer. Don't log device errors from
ATAPI devices.Signed-off-by: Tejun Heo
Signed-off-by: Jeff Garzik