]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
bind bsg to all SCSI devices
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Wed, 28 Mar 2007 11:29:24 +0000 (13:29 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 16 Jul 2007 06:52:46 +0000 (08:52 +0200)
commit4e2872d6b0252d33f28ea67f33704208ca781978
treef65f01929d9a262d57e779705ff3cc643ad0ffd0
parentd351af01b9307566135cb0f355ca65d0952c10b5
bind bsg to all SCSI devices

This patch binds bsg to all SCSI devices (their request queues) like
the current sg driver does. We can send SCSI commands to non disk and
cdrom scsi devices like OSD via bsg.

This patch removes bsg_register_queue from blk_register_queue so bsg
devices aren't bound to non SCSI block devices. If they want bsg, I'll
send a patch to do that.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/bsg.c
block/ll_rw_blk.c