Linux Kernel
3.7.1
|
#include <dev/aic7xxx/aic79xx_osm.h>
#include <dev/aic7xxx/aic79xx_inline.h>
#include "aic79xx_pci.h"
Go to the source code of this file.
Macros | |
#define | ID_AIC7902_PCI_REV_A4 0x3 |
#define | ID_AIC7902_PCI_REV_B0 0x10 |
#define | SUBID_HP 0x0E11 |
#define | DEVID_9005_HOSTRAID(id) ((id) & 0x80) |
#define | DEVID_9005_TYPE(id) ((id) & 0xF) |
#define | DEVID_9005_TYPE_HBA 0x0 /* Standard Card */ |
#define | DEVID_9005_TYPE_HBA_2EXT 0x1 /* 2 External Ports */ |
#define | DEVID_9005_TYPE_IROC 0x8 /* Raid(0,1,10) Card */ |
#define | DEVID_9005_TYPE_MB 0xF /* On Motherboard */ |
#define | DEVID_9005_MFUNC(id) ((id) & 0x10) |
#define | DEVID_9005_PACKETIZED(id) ((id) & 0x8000) |
#define | SUBID_9005_TYPE(id) ((id) & 0xF) |
#define | SUBID_9005_TYPE_HBA 0x0 /* Standard Card */ |
#define | SUBID_9005_TYPE_MB 0xF /* On Motherboard */ |
#define | SUBID_9005_AUTOTERM(id) (((id) & 0x10) == 0) |
#define | SUBID_9005_LEGACYCONN_FUNC(id) ((id) & 0x20) |
#define | SUBID_9005_SEEPTYPE(id) (((id) & 0x0C0) >> 6) |
#define | SUBID_9005_SEEPTYPE_NONE 0x0 |
#define | SUBID_9005_SEEPTYPE_4K 0x1 |
#define | DEVCONFIG 0x40 |
#define | PCIXINITPAT 0x0000E000ul |
#define | PCIXINIT_PCI33_66 0x0000E000ul |
#define | PCIXINIT_PCIX50_66 0x0000C000ul |
#define | PCIXINIT_PCIX66_100 0x0000A000ul |
#define | PCIXINIT_PCIX100_133 0x00008000ul |
#define | PCI_BUS_MODES_INDEX(devconfig) (((devconfig) & PCIXINITPAT) >> 13) |
#define | TESTMODE 0x00000800ul |
#define | IRDY_RST 0x00000200ul |
#define | FRAME_RST 0x00000100ul |
#define | PCI64BIT 0x00000080ul |
#define | MRDCEN 0x00000040ul |
#define | ENDIANSEL 0x00000020ul |
#define | MIXQWENDIANEN 0x00000008ul |
#define | DACEN 0x00000004ul |
#define | STPWLEVEL 0x00000002ul |
#define | QWENDIANSEL 0x00000001ul |
#define | DEVCONFIG1 0x44 |
#define | PREQDIS 0x01 |
#define | CSIZE_LATTIME 0x0c |
#define | CACHESIZE 0x000000fful |
#define | LATTIME 0x0000ff00ul |
#define | DPE 0x80 |
#define | SSE 0x40 |
#define | RMA 0x20 |
#define | RTA 0x10 |
#define | STA 0x08 |
#define | DPR 0x01 |
Functions | |
struct ahd_pci_identity * | ahd_find_pci_device (ahd_dev_softc_t pci) |
int | ahd_pci_config (struct ahd_softc *ahd, const struct ahd_pci_identity *entry) |
int | ahd_pci_test_register_access (struct ahd_softc *ahd) |
#define CACHESIZE 0x000000fful |
Definition at line 247 of file aic79xx_pci.c.
#define CSIZE_LATTIME 0x0c |
Definition at line 246 of file aic79xx_pci.c.
#define DACEN 0x00000004ul |
Definition at line 239 of file aic79xx_pci.c.
#define DEVCONFIG 0x40 |
Definition at line 212 of file aic79xx_pci.c.
#define DEVCONFIG1 0x44 |
Definition at line 243 of file aic79xx_pci.c.
Definition at line 71 of file aic79xx_pci.c.
Definition at line 79 of file aic79xx_pci.c.
Definition at line 81 of file aic79xx_pci.c.
Definition at line 73 of file aic79xx_pci.c.
#define DEVID_9005_TYPE_HBA 0x0 /* Standard Card */ |
Definition at line 74 of file aic79xx_pci.c.
#define DEVID_9005_TYPE_HBA_2EXT 0x1 /* 2 External Ports */ |
Definition at line 75 of file aic79xx_pci.c.
#define DEVID_9005_TYPE_IROC 0x8 /* Raid(0,1,10) Card */ |
Definition at line 76 of file aic79xx_pci.c.
#define DEVID_9005_TYPE_MB 0xF /* On Motherboard */ |
Definition at line 77 of file aic79xx_pci.c.
#define DPE 0x80 |
Definition at line 739 of file aic79xx_pci.c.
#define DPR 0x01 |
Definition at line 744 of file aic79xx_pci.c.
#define ENDIANSEL 0x00000020ul |
Definition at line 237 of file aic79xx_pci.c.
#define FRAME_RST 0x00000100ul |
Definition at line 234 of file aic79xx_pci.c.
#define ID_AIC7902_PCI_REV_A4 0x3 |
Definition at line 67 of file aic79xx_pci.c.
#define ID_AIC7902_PCI_REV_B0 0x10 |
Definition at line 68 of file aic79xx_pci.c.
#define IRDY_RST 0x00000200ul |
Definition at line 233 of file aic79xx_pci.c.
#define LATTIME 0x0000ff00ul |
Definition at line 248 of file aic79xx_pci.c.
#define MIXQWENDIANEN 0x00000008ul |
Definition at line 238 of file aic79xx_pci.c.
#define MRDCEN 0x00000040ul |
Definition at line 236 of file aic79xx_pci.c.
#define PCI64BIT 0x00000080ul |
Definition at line 235 of file aic79xx_pci.c.
#define PCI_BUS_MODES_INDEX | ( | devconfig | ) | (((devconfig) & PCIXINITPAT) >> 13) |
Definition at line 218 of file aic79xx_pci.c.
#define PCIXINIT_PCI33_66 0x0000E000ul |
Definition at line 214 of file aic79xx_pci.c.
#define PCIXINIT_PCIX100_133 0x00008000ul |
Definition at line 217 of file aic79xx_pci.c.
#define PCIXINIT_PCIX50_66 0x0000C000ul |
Definition at line 215 of file aic79xx_pci.c.
#define PCIXINIT_PCIX66_100 0x0000A000ul |
Definition at line 216 of file aic79xx_pci.c.
#define PCIXINITPAT 0x0000E000ul |
Definition at line 213 of file aic79xx_pci.c.
#define PREQDIS 0x01 |
Definition at line 244 of file aic79xx_pci.c.
#define QWENDIANSEL 0x00000001ul |
Definition at line 241 of file aic79xx_pci.c.
#define RMA 0x20 |
Definition at line 741 of file aic79xx_pci.c.
#define RTA 0x10 |
Definition at line 742 of file aic79xx_pci.c.
#define SSE 0x40 |
Definition at line 740 of file aic79xx_pci.c.
#define STA 0x08 |
Definition at line 743 of file aic79xx_pci.c.
#define STPWLEVEL 0x00000002ul |
Definition at line 240 of file aic79xx_pci.c.
Definition at line 87 of file aic79xx_pci.c.
Definition at line 89 of file aic79xx_pci.c.
Definition at line 91 of file aic79xx_pci.c.
#define SUBID_9005_SEEPTYPE_4K 0x1 |
Definition at line 93 of file aic79xx_pci.c.
#define SUBID_9005_SEEPTYPE_NONE 0x0 |
Definition at line 92 of file aic79xx_pci.c.
Definition at line 83 of file aic79xx_pci.c.
#define SUBID_9005_TYPE_HBA 0x0 /* Standard Card */ |
Definition at line 84 of file aic79xx_pci.c.
#define SUBID_9005_TYPE_MB 0xF /* On Motherboard */ |
Definition at line 85 of file aic79xx_pci.c.
#define SUBID_HP 0x0E11 |
Definition at line 69 of file aic79xx_pci.c.
#define TESTMODE 0x00000800ul |
Definition at line 232 of file aic79xx_pci.c.
|
read |
Definition at line 257 of file aic79xx_pci.c.
Definition at line 295 of file aic79xx_pci.c.
Definition at line 422 of file aic79xx_pci.c.