Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/pci_ahci.c
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
#include <strings.h> | #include <strings.h> | ||||
#include <unistd.h> | #include <unistd.h> | ||||
#include <assert.h> | #include <assert.h> | ||||
#include <pthread.h> | #include <pthread.h> | ||||
#include <pthread_np.h> | #include <pthread_np.h> | ||||
#include <inttypes.h> | #include <inttypes.h> | ||||
#include <md5.h> | #include <md5.h> | ||||
#include "bhyverun.h" | |||||
#include "pci_emul.h" | |||||
#include "ahci.h" | #include "ahci.h" | ||||
#include "block_if.h" | #include "block_if.h" | ||||
#include "bhyverun.h" | |||||
#include "pci_emul.h" | |||||
#define DEF_PORTS 6 /* Intel ICH8 AHCI supports 6 ports */ | #define DEF_PORTS 6 /* Intel ICH8 AHCI supports 6 ports */ | ||||
#define MAX_PORTS 32 /* AHCI supports 32 ports */ | #define MAX_PORTS 32 /* AHCI supports 32 ports */ | ||||
#define PxSIG_ATA 0x00000101 /* ATA drive */ | #define PxSIG_ATA 0x00000101 /* ATA drive */ | ||||
#define PxSIG_ATAPI 0xeb140101 /* ATAPI drive */ | #define PxSIG_ATAPI 0xeb140101 /* ATAPI drive */ | ||||
enum sata_fis_type { | enum sata_fis_type { | ||||
▲ Show 20 Lines • Show All 2,770 Lines • Show Last 20 Lines |