FUJITA Tomonori 5cb2fc0610 [SCSI] scsi_debug: create new scsi_debug devices at a single place
Two functions, sdebug_add_adapter and devInfoReg, creates new
scsi_debug devices. To simplify the code, this patch adds a new helper
function to create new scsi_debug devices (sdebug_device_create) and
converts both functions to use it.

I plan to add more to scsi_debug devices (e.g. using a thread for a
scsi_debug device for scalability testings). This patch enable me to
add such to just the new helper function instead of touching two
functions, sdebug_add_adapter and devInfoReg.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-04-07 12:18:58 -05:00
..
2008-04-04 02:43:38 -04:00
2008-04-06 16:10:40 -07:00
2008-02-05 09:44:23 -08:00
2008-03-23 20:28:20 +01:00
2008-03-30 14:18:41 -07:00
2008-03-15 19:17:12 -07:00
2008-03-03 10:47:13 -08:00
2008-03-19 18:53:37 -07:00
2008-02-26 14:12:09 +09:00
2008-03-18 01:22:10 -04:00
2008-03-30 14:20:23 -07:00
2008-03-04 16:35:12 -08:00
2008-04-04 18:36:46 +02:00