• Bartlomiej Zolnierkiewicz's avatar
    ide: fix IDE port slots reservation and freeing (take 2) · 8cdf3100
    Bartlomiej Zolnierkiewicz authored
    * 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: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    8cdf3100
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
usr Loading commit data...
virt/kvm Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...