• Bartlomiej Zolnierkiewicz's avatar
    ide-cs: manage I/O resources in driver · d703b79e
    Bartlomiej Zolnierkiewicz authored
    * Make idecs_register() return pointer to hwif structure instead of
      hwif's index.
    
    * Store pointer to hwif structure instead of hwif's index in ide_info_t
      (fixes ide-cs for IDE[6-9]_MAJOR major numbers).
    
    * Remove no longer needed ide_major[].
    
    * Tell IDE layer to not manage resources by setting hwif->mmio flag.
    
    * Use {request,release}_region() for resources management.
    
    * Use driver name for resources management.
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    d703b79e
ide-cs.c 16.1 KB