require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&SATA_PMREG_SSTS)) {
    sub SATA_PMREG_SSTS () {	0;}
}
unless(defined(&SATA_PMREG_SERR)) {
    sub SATA_PMREG_SERR () {	1;}
}
unless(defined(&SATA_PMREG_SCTL)) {
    sub SATA_PMREG_SCTL () {	2;}
}
unless(defined(&SATA_PMREG_SACT)) {
    sub SATA_PMREG_SACT () {	3;}
}
unless(defined(&SATA_PM_SSTS_DET)) {
    sub SATA_PM_SSTS_DET () {	0xf;}
}
unless(defined(&SATA_PM_SSTS_DET_NONE)) {
    sub SATA_PM_SSTS_DET_NONE () {	0x;}
}
unless(defined(&SATA_PM_SSTS_DET_DEV_NE)) {
    sub SATA_PM_SSTS_DET_DEV_NE () {	0x1;}
}
unless(defined(&SATA_PM_SSTS_DET_DEV)) {
    sub SATA_PM_SSTS_DET_DEV () {	0x3;}
}
unless(defined(&SATA_PM_SSTS_DET_PHYOFFLINE)) {
    sub SATA_PM_SSTS_DET_PHYOFFLINE () {	0x4;}
}
unless(defined(&SATA_PM_SSTS_SPD)) {
    sub SATA_PM_SSTS_SPD () {	0xf0;}
}
unless(defined(&SATA_PM_SSTS_SPD_NONE)) {
    sub SATA_PM_SSTS_SPD_NONE () {	0x;}
}
unless(defined(&SATA_PM_SSTS_SPD_GEN1)) {
    sub SATA_PM_SSTS_SPD_GEN1 () {	0x10;}
}
unless(defined(&SATA_PM_SSTS_SPD_GEN2)) {
    sub SATA_PM_SSTS_SPD_GEN2 () {	0x20;}
}
unless(defined(&SATA_PM_SSTS_IPM)) {
    sub SATA_PM_SSTS_IPM () {	0xf00;}
}
unless(defined(&SATA_PM_SSTS_IPM_NONE)) {
    sub SATA_PM_SSTS_IPM_NONE () {	0x;}
}
unless(defined(&SATA_PM_SSTS_IPM_ACTIVE)) {
    sub SATA_PM_SSTS_IPM_ACTIVE () {	0x100;}
}
unless(defined(&SATA_PM_SSTS_IPM_PARTIAL)) {
    sub SATA_PM_SSTS_IPM_PARTIAL () {	0x200;}
}
unless(defined(&SATA_PM_SSTS_IPM_SLUMBER)) {
    sub SATA_PM_SSTS_IPM_SLUMBER () {	0x600;}
}
unless(defined(&SATA_PM_SCTL_DET)) {
    sub SATA_PM_SCTL_DET () {	0xf;}
}
unless(defined(&SATA_PM_SCTL_DET_NONE)) {
    sub SATA_PM_SCTL_DET_NONE () {	0x;}
}
unless(defined(&SATA_PM_SCTL_DET_INIT)) {
    sub SATA_PM_SCTL_DET_INIT () {	0x1;}
}
unless(defined(&SATA_PM_SCTL_DET_DISABLE)) {
    sub SATA_PM_SCTL_DET_DISABLE () {	0x4;}
}
unless(defined(&SATA_PM_SCTL_SPD)) {
    sub SATA_PM_SCTL_SPD () {	0xf0;}
}
unless(defined(&SATA_PM_SCTL_SPD_ANY)) {
    sub SATA_PM_SCTL_SPD_ANY () {	0x;}
}
unless(defined(&SATA_PM_SCTL_SPD_GEN1)) {
    sub SATA_PM_SCTL_SPD_GEN1 () {	0x10;}
}
unless(defined(&SATA_PM_SCTL_SPD_GEN2)) {
    sub SATA_PM_SCTL_SPD_GEN2 () {	0x20;}
}
unless(defined(&SATA_PM_SCTL_IPM)) {
    sub SATA_PM_SCTL_IPM () {	0xf00;}
}
unless(defined(&SATA_PM_SCTL_IPM_NONE)) {
    sub SATA_PM_SCTL_IPM_NONE () {	0x;}
}
unless(defined(&SATA_PM_SCTL_IPM_NOPARTIAL)) {
    sub SATA_PM_SCTL_IPM_NOPARTIAL () {	0x100;}
}
unless(defined(&SATA_PM_SCTL_IPM_NOSLUMBER)) {
    sub SATA_PM_SCTL_IPM_NOSLUMBER () {	0x200;}
}
unless(defined(&SATA_PM_SCTL_IPM_DISABLED)) {
    sub SATA_PM_SCTL_IPM_DISABLED () {	0x300;}
}
unless(defined(&SATA_PM_SCTL_SPM)) {
    sub SATA_PM_SCTL_SPM () {	0xf000;}
}
unless(defined(&SATA_PM_SCTL_SPM_NONE)) {
    sub SATA_PM_SCTL_SPM_NONE () {	0x;}
}
unless(defined(&SATA_PM_SCTL_SPM_NOPARTIAL)) {
    sub SATA_PM_SCTL_SPM_NOPARTIAL () {	0x1000;}
}
unless(defined(&SATA_PM_SCTL_SPM_NOSLUMBER)) {
    sub SATA_PM_SCTL_SPM_NOSLUMBER () {	0x2000;}
}
unless(defined(&SATA_PM_SCTL_SPM_DISABLED)) {
    sub SATA_PM_SCTL_SPM_DISABLED () {	0x3000;}
}
unless(defined(&SATA_PM_SCTL_PMP)) {
    sub SATA_PM_SCTL_PMP () {	0xf0000;}
}
unless(defined(&SATA_PM_SCTL_PMP_SHIFT)) {
    sub SATA_PM_SCTL_PMP_SHIFT () {	16;}
}
unless(defined(&SATA_PM_SERR_ERR_I)) {
    sub SATA_PM_SERR_ERR_I () {	(1<<0);}
}
unless(defined(&SATA_PM_SERR_ERR_M)) {
    sub SATA_PM_SERR_ERR_M () {	(1<<1);}
}
unless(defined(&SATA_PM_SERR_ERR_T)) {
    sub SATA_PM_SERR_ERR_T () {	(1<<8);}
}
unless(defined(&SATA_PM_SERR_ERR_C)) {
    sub SATA_PM_SERR_ERR_C () {	(1<<9);}
}
unless(defined(&SATA_PM_SERR_ERR_P)) {
    sub SATA_PM_SERR_ERR_P () {	(1<<10);}
}
unless(defined(&SATA_PM_SERR_ERR_E)) {
    sub SATA_PM_SERR_ERR_E () {	(1<<11);}
}
unless(defined(&SATA_PM_SERR_DIAG_N)) {
    sub SATA_PM_SERR_DIAG_N () {	(1<<16);}
}
unless(defined(&SATA_PM_SERR_DIAG_I)) {
    sub SATA_PM_SERR_DIAG_I () {	(1<<17);}
}
unless(defined(&SATA_PM_SERR_DIAG_W)) {
    sub SATA_PM_SERR_DIAG_W () {	(1<<18);}
}
unless(defined(&SATA_PM_SERR_DIAG_B)) {
    sub SATA_PM_SERR_DIAG_B () {	(1<<19);}
}
unless(defined(&SATA_PM_SERR_DIAG_D)) {
    sub SATA_PM_SERR_DIAG_D () {	(1<<20);}
}
unless(defined(&SATA_PM_SERR_DIAG_C)) {
    sub SATA_PM_SERR_DIAG_C () {	(1<<21);}
}
unless(defined(&SATA_PM_SERR_DIAG_H)) {
    sub SATA_PM_SERR_DIAG_H () {	(1<<22);}
}
unless(defined(&SATA_PM_SERR_DIAG_S)) {
    sub SATA_PM_SERR_DIAG_S () {	(1<<23);}
}
unless(defined(&SATA_PM_SERR_DIAG_T)) {
    sub SATA_PM_SERR_DIAG_T () {	(1<<24);}
}
unless(defined(&SATA_PM_SERR_DIAG_F)) {
    sub SATA_PM_SERR_DIAG_F () {	(1<<25);}
}
unless(defined(&SATA_PM_SERR_DIAG_X)) {
    sub SATA_PM_SERR_DIAG_X () {	(1<<26);}
}
unless(defined(&SATA_PFMT_SERR)) {
    sub SATA_PFMT_SERR () {	"\020" "\033DIAG.X" "\032DIAG.F" "\031DIAG.T" "\030DIAG.S" "\027DIAG.H" "\026DIAG.C" "\025DIAG.D" "\024DIAG.B" "\023DIAG.W" "\022DIAG.I" "\021DIAG.N" "\014ERR.E" "\013ERR.P" "\012ERR.C" "\011ERR.T" "\002ERR.M" "\001ERR.I";}
}
unless(defined(&SATA_PMREV_PM1_0)) {
    sub SATA_PMREV_PM1_0 () {	0x2;}
}
unless(defined(&SATA_PMREV_PM1_1)) {
    sub SATA_PMREV_PM1_1 () {	0x4;}
}
unless(defined(&SATA_PFMT_PM_REV)) {
    sub SATA_PFMT_PM_REV () {	"\20" "\003PM1.1" "\002PM1.0";}
}
unless(defined(&SATA_PMREG_FEA)) {
    sub SATA_PMREG_FEA () {	64;}
}
unless(defined(&SATA_PMREG_FEAEN)) {
    sub SATA_PMREG_FEAEN () {	96;}
}
unless(defined(&SATA_PMFEA_BIST)) {
    sub SATA_PMFEA_BIST () {	0x1;}
}
unless(defined(&SATA_PMFEA_PMREQ)) {
    sub SATA_PMFEA_PMREQ () {	0x2;}
}
unless(defined(&SATA_PMFEA_DYNSSC)) {
    sub SATA_PMFEA_DYNSSC () {	0x4;}
}
unless(defined(&SATA_PMFEA_ASYNCNOTIFY)) {
    sub SATA_PMFEA_ASYNCNOTIFY () {	0x8;}
}
unless(defined(&SATA_PFMT_PM_FEA)) {
    sub SATA_PFMT_PM_FEA () {	"\20" "\004AsyncNotify" "\003DynamicSSC" "\002PMREQ" "\001BIST";}
}
unless(defined(&SATA_PMREG_EINFO)) {
    sub SATA_PMREG_EINFO () {	32;}
}
unless(defined(&SATA_PMREG_EEENA)) {
    sub SATA_PMREG_EEENA () {	33;}
}
unless(defined(&SATA_PMP_MAX_PORTS)) {
    sub SATA_PMP_MAX_PORTS () {	16;}
}
unless(defined(&SATA_PMP_CONTROL_PORT)) {
    sub SATA_PMP_CONTROL_PORT () {	0xf;}
}
1;
