summaryrefslogtreecommitdiff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 21:55:57 +0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 21:55:57 +0400
commit8cdf310025bff8c5ef78564f525a8f347952237b (patch)
treedc2f999834e4c8f2d347dc7248ca7f067968c34e /drivers/watchdog
parente0d0020788543febd10ab933bde0fa181b627f4f (diff)
downloadlinux-8cdf310025bff8c5ef78564f525a8f347952237b.tar.xz
ide: fix IDE port slots reservation and freeing (take 2)
* Make ide_find_port_slot() return port slot index. * Add ide_free_port_slot() helper. * Move ide_init_port_data() call and error printk() from ide_find_port_slot() to ide_host_alloc_all(). * Make ide_{find,free}_port_slot() take ide_cfg_mtx mutex and convert them use ide_indexes bitmap to keep track of reserved port slots. * Don't set hwif->chipset in ide_host_alloc_all() as it is no longer necessary. v2: * Pass the correct slot index to ide_init_port_data(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions