Linux Kernel
3.7.1
|
#include "aic7xxx_osm.h"
#include "aic7xxx_inline.h"
#include <scsi/scsicam.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/slab.h>
Go to the source code of this file.
Data Structures | |
struct | adapter_tag_info_t |
Macros | |
#define | AIC7XXX_RESET_DELAY 5000 |
#define | AIC7XXX_CMDS_PER_DEVICE AHC_MAX_QUEUE |
#define | AIC7XXX_CONFIGED_TAG_COMMANDS |
#define | DID_UNDERFLOW DID_ERROR |
#define | BUILD_SCSIID(ahc, cmd) |
Variables | |
uint32_t | aic7xxx_allow_memio = ~0 |
struct scsi_host_template | aic7xxx_driver_template |
uint32_t | aic7xxx_verbose |
#define AIC7XXX_CMDS_PER_DEVICE AHC_MAX_QUEUE |
Definition at line 218 of file aic7xxx_osm.c.
#define AIC7XXX_CONFIGED_TAG_COMMANDS |
Definition at line 221 of file aic7xxx_osm.c.
#define AIC7XXX_RESET_DELAY 5000 |
Definition at line 144 of file aic7xxx_osm.c.
#define BUILD_SCSIID | ( | ahc, | |
cmd | |||
) |
#define DID_UNDERFLOW DID_ERROR |
Definition at line 260 of file aic7xxx_osm.c.
__setup | ( | ) |
Definition at line 394 of file aic7xxx_osm.c.
int ahc_dma_tag_create | ( | struct ahc_softc * | ahc, |
bus_dma_tag_t | parent, | ||
bus_size_t | alignment, | ||
bus_size_t | boundary, | ||
dma_addr_t | lowaddr, | ||
dma_addr_t | highaddr, | ||
bus_dma_filter_t * | filter, | ||
void * | filterarg, | ||
bus_size_t | maxsize, | ||
int | nsegments, | ||
bus_size_t | maxsegsz, | ||
int | flags, | ||
bus_dma_tag_t * | ret_tag | ||
) |
Definition at line 836 of file aic7xxx_osm.c.
void ahc_dma_tag_destroy | ( | struct ahc_softc * | ahc, |
bus_dma_tag_t | dmat | ||
) |
Definition at line 864 of file aic7xxx_osm.c.
void ahc_dmamap_destroy | ( | struct ahc_softc * | ahc, |
bus_dma_tag_t | dmat, | ||
bus_dmamap_t | map | ||
) |
Definition at line 906 of file aic7xxx_osm.c.
int ahc_dmamap_load | ( | struct ahc_softc * | ahc, |
bus_dma_tag_t | dmat, | ||
bus_dmamap_t | map, | ||
void * | buf, | ||
bus_size_t | buflen, | ||
bus_dmamap_callback_t * | cb, | ||
void * | cb_arg, | ||
int | flags | ||
) |
Definition at line 889 of file aic7xxx_osm.c.
int ahc_dmamap_unload | ( | struct ahc_softc * | ahc, |
bus_dma_tag_t | dmat, | ||
bus_dmamap_t | map | ||
) |
Definition at line 911 of file aic7xxx_osm.c.
int ahc_dmamem_alloc | ( | struct ahc_softc * | ahc, |
bus_dma_tag_t | dmat, | ||
void ** | vaddr, | ||
int | flags, | ||
bus_dmamap_t * | mapp | ||
) |
Definition at line 870 of file aic7xxx_osm.c.
void ahc_dmamem_free | ( | struct ahc_softc * | ahc, |
bus_dma_tag_t | dmat, | ||
void * | vaddr, | ||
bus_dmamap_t | map | ||
) |
Definition at line 881 of file aic7xxx_osm.c.
Definition at line 1720 of file aic7xxx_osm.c.
Definition at line 448 of file aic7xxx_osm.c.
irqreturn_t ahc_linux_isr | ( | int | irq, |
void * | dev_id | ||
) |
Definition at line 1608 of file aic7xxx_osm.c.
int ahc_linux_register_host | ( | struct ahc_softc * | ahc, |
struct scsi_host_template * | template | ||
) |
Definition at line 1097 of file aic7xxx_osm.c.
Definition at line 423 of file aic7xxx_osm.c.
Definition at line 434 of file aic7xxx_osm.c.
int ahc_platform_abort_scbs | ( | struct ahc_softc * | ahc, |
int | target, | ||
char | channel, | ||
int | lun, | ||
u_int | tag, | ||
role_t | role, | ||
uint32_t | status | ||
) |
Definition at line 1366 of file aic7xxx_osm.c.
Definition at line 1221 of file aic7xxx_osm.c.
Definition at line 2359 of file aic7xxx_osm.c.
Definition at line 1622 of file aic7xxx_osm.c.
Definition at line 1240 of file aic7xxx_osm.c.
Definition at line 1274 of file aic7xxx_osm.c.
void ahc_platform_set_tags | ( | struct ahc_softc * | ahc, |
struct scsi_device * | sdev, | ||
struct ahc_devinfo * | devinfo, | ||
ahc_queue_alg | alg | ||
) |
Definition at line 1283 of file aic7xxx_osm.c.
Definition at line 263 of file aic7xxx_osm.c.
Definition at line 1628 of file aic7xxx_osm.c.
MODULE_AUTHOR | ( | "Maintainer: Hannes Reinecke <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Adaptec AIC77XX/78XX SCSI Host Bus Adapter driver" | ) |
module_exit | ( | ahc_linux_exit | ) |
module_init | ( | ahc_linux_init | ) |
MODULE_LICENSE | ( | "Dual BSD/GPL" | ) |
module_param | ( | aic7xxx | , |
charp | , | ||
0444 | |||
) |
MODULE_PARM_DESC | ( | aic7xxx | ) |
MODULE_VERSION | ( | AIC7XXX_DRIVER_VERSION | ) |
uint32_t aic7xxx_allow_memio = ~0 |
Definition at line 310 of file aic7xxx_osm.c.
struct scsi_host_template aic7xxx_driver_template |
Definition at line 802 of file aic7xxx_osm.c.
uint32_t aic7xxx_verbose |
Definition at line 1094 of file aic7xxx_osm.c.