4 * Copyright (C) 2006 James Bottomley <James.Bottomley@SteelEye.com>
6 * This is a simple module to wait until all the async scans are
7 * complete. The idea is to use it in initrd/initramfs scripts. You
8 * modprobe it after all the modprobes of the root SCSI drivers and it
9 * will wait until they have all finished scanning their busses before
10 * allowing the boot to proceed
13 #include <linux/module.h>
14 #include "scsi_priv.h"
16 static int __init
wait_scan_init(void)
18 scsi_complete_async_scans();
22 static void __exit
wait_scan_exit(void)
26 MODULE_DESCRIPTION("SCSI wait for scans");
27 MODULE_AUTHOR("James Bottomley");
28 MODULE_LICENSE("GPL");
30 late_initcall(wait_scan_init
);
31 module_exit(wait_scan_exit
);
This page took 0.030793 seconds and 5 git commands to generate.