Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/completion.h>
#include <linux/blkdev.h>
#include <linux/semaphore.h>
#include "aacraid.h"
Go to the source code of this file.
Functions | |
unsigned int | aac_response_normal (struct aac_queue *q) |
unsigned int | aac_command_normal (struct aac_queue *q) |
unsigned int | aac_intr_normal (struct aac_dev *dev, u32 index, int isAif, int isFastResponse, struct hw_fib *aif_fib) |
aac_command_normal - handle commands : queue to process
This DPC routine will be queued when the adapter interrupts us to let us know there is a command on our normal priority queue. We will pull off all QE there are and wake up all the waiters before exiting. We will take a spinlock out on the queue before operating on it.
unsigned int aac_intr_normal | ( | struct aac_dev * | dev, |
u32 | index, | ||
int | isAif, | ||
int | isFastResponse, | ||
struct hw_fib * | aif_fib | ||
) |
aac_response_normal - Handle command replies : Queue to read from
This DPC routine will be run when the adapter interrupts us to let us know there is a response on our normal priority queue. We will pull off all QE there are and wake up all the waiters before exiting. We will take a spinlock out on the queue before operating on it.