static void __dasd_device_check_path_events(struct dasd_device *device)
 {
+       __u8 tbvpm, fcsecpm;
        int rc;
 
-       if (!dasd_path_get_tbvpm(device))
+       tbvpm = dasd_path_get_tbvpm(device);
+       fcsecpm = dasd_path_get_fcsecpm(device);
+
+       if (!tbvpm && !fcsecpm)
                return;
 
        if (device->stopped &
            ~(DASD_STOPPED_DC_WAIT | DASD_UNRESUMED_PM))
                return;
-       rc = device->discipline->pe_handler(device,
-                                           dasd_path_get_tbvpm(device));
-       if (rc)
+       rc = device->discipline->pe_handler(device, tbvpm, fcsecpm);
+       if (rc) {
                dasd_device_set_timer(device, 50);
-       else
+       } else {
                dasd_path_clear_all_verify(device);
+               dasd_path_clear_all_fcsec(device);
+       }
 };
 
 /*
                        if (device->discipline->kick_validate)
                                device->discipline->kick_validate(device);
                }
+               if (path_event[chp] & PE_PATH_FCES_EVENT) {
+                       dasd_path_fcsec_update(device, chp);
+                       dasd_schedule_device_bh(device);
+               }
        }
        hpfpm = dasd_path_get_hpfpm(device);
        ifccpm = dasd_path_get_ifccpm(device);
 
        __u8 rcd_buffer[DASD_ECKD_RCD_DATA_SIZE];
        int isglobal;
        __u8 tbvpm;
+       __u8 fcsecpm;
 };
 static struct pe_handler_work_data *pe_handler_worker;
 static DEFINE_MUTEX(dasd_pe_handler_mutex);
                return;
        }
 
-       dasd_eckd_path_available_action(device, data);
+       if (data->tbvpm)
+               dasd_eckd_path_available_action(device, data);
+       if (data->fcsecpm)
+               dasd_eckd_read_fc_security(device);
 
        clear_bit(DASD_FLAG_PATH_VERIFY, &device->flags);
        dasd_put_device(device);
                kfree(data);
 }
 
-static int dasd_eckd_pe_handler(struct dasd_device *device, __u8 lpm)
+static int dasd_eckd_pe_handler(struct dasd_device *device,
+                               __u8 tbvpm, __u8 fcsecpm)
 {
        struct pe_handler_work_data *data;
 
        INIT_WORK(&data->worker, do_pe_handler_work);
        dasd_get_device(device);
        data->device = device;
-       data->tbvpm = lpm;
+       data->tbvpm = tbvpm;
+       data->fcsecpm = fcsecpm;
        schedule_work(&data->worker);
        return 0;
 }
 
         * configuration.
         */
        int (*verify_path)(struct dasd_device *, __u8);
-       int (*pe_handler)(struct dasd_device *, __u8);
+       int (*pe_handler)(struct dasd_device *, __u8, __u8);
 
        /*
         * Last things to do when a device is set online, and first things
 #define DASD_PATH_NOHPF        6
 #define DASD_PATH_CUIR        7
 #define DASD_PATH_IFCC        8
+#define DASD_PATH_FCSEC               9
 
 #define DASD_THRHLD_MAX                4294967295U
 #define DASD_INTERVAL_MAX      4294967295U
                dasd_path_clear_verify(device, chp);
 }
 
+static inline void dasd_path_fcsec(struct dasd_device *device, int chp)
+{
+       __set_bit(DASD_PATH_FCSEC, &device->path[chp].flags);
+}
+
+static inline void dasd_path_clear_fcsec(struct dasd_device *device, int chp)
+{
+       __clear_bit(DASD_PATH_FCSEC, &device->path[chp].flags);
+}
+
+static inline int dasd_path_need_fcsec(struct dasd_device *device, int chp)
+{
+       return test_bit(DASD_PATH_FCSEC, &device->path[chp].flags);
+}
+
+static inline void dasd_path_clear_all_fcsec(struct dasd_device *device)
+{
+       int chp;
+
+       for (chp = 0; chp < 8; chp++)
+               dasd_path_clear_fcsec(device, chp);
+}
+
 static inline void dasd_path_operational(struct dasd_device *device, int chp)
 {
        __set_bit(DASD_PATH_OPERATIONAL, &device->path[chp].flags);
        return tbvpm;
 }
 
+static inline int dasd_path_get_fcsecpm(struct dasd_device *device)
+{
+       int chp;
+
+       for (chp = 0; chp < 8; chp++)
+               if (dasd_path_need_fcsec(device, chp))
+                       return 1;
+
+       return 0;
+}
+
 static inline __u8 dasd_path_get_nppm(struct dasd_device *device)
 {
        int chp;
        dasd_path_clear_nonpreferred(device, chp);
 }
 
+static inline void dasd_path_fcsec_update(struct dasd_device *device, int chp)
+{
+       dasd_path_fcsec(device, chp);
+}
+
 /*
  * remove all paths from normal operation
  */