]> err.no Git - linux-2.6/commit
[SCSI] advansys: Update resource management
authorMatthew Wilcox <matthew@wil.cx>
Mon, 30 Jul 2007 14:04:53 +0000 (08:04 -0600)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:39:08 +0000 (14:39 -0400)
commit71f36115d20e8d8b0ef10479ff0cde877ec56f98
treeadf0da802ca05e404ae6e6a9170e81e92dd0f3d0
parentc304ec94733aec764396813f3f05dfbe02f4a6da
[SCSI] advansys: Update resource management

Make sure the resources are reserved and released by all the callers of
advansys_board_found().  This eliminates the check_region-style race.
It also allows us to use the pci_request_regions() API.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/advansys.c