+#ifdef CONFIG_SATA_PMP_DELAY_LINK_ENUMERATION
+extern unsigned int sata_pmp_allow_link_enumeration_flag;
+static inline void sata_pmp_allow_link_enumeration( unsigned int allow )
+{
+ sata_pmp_allow_link_enumeration_flag = allow;
+}
+static inline unsigned int sata_pmp_is_link_enumeration_allowed( void )
+{
+ return sata_pmp_allow_link_enumeration_flag;
+}
+#else
+static inline void sata_pmp_allow_link_enumeration( unsigned int allow )
+{
+ printk(KERN_WARNING "sata_pmp_allow_link_enumeration ignored - not included in kernel");
+}
+static inline unsigned int sata_pmp_is_link_enumeration_allowed( void )
+{
+ return 1;
+}
+#endif /* SATA_PMP_DELAY_LINK_ENUMERATION */