Archived
14
0
Fork 0

Staging: poch: Increase groups per interrupt

Increase groups per interrupt to reduce hogging of the CPU.

Signed-off-by: Vijay Kumar B. <vijaykumar@bravegnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Vijay Kumar B 2009-09-21 11:23:56 +05:30 committed by Greg Kroah-Hartman
parent b01faf0574
commit 7e72a85e07

View file

@ -483,7 +483,7 @@ static void channel_dma_init(struct channel_info *channel)
fpga + block_count_reg);
iowrite32(channel->group_count, fpga + group_count_reg);
/* FIXME: Hardcoded groups per int. Get it from sysfs? */
iowrite32(1, fpga + groups_per_int_reg);
iowrite32(16, fpga + groups_per_int_reg);
/* Unlock PCI address? Not defined in the data sheet, but used
* in the reference code by Redrapids.