Changeset df747b9c in mainline for uspace/srv/drivers/isa/isa.c


Ignore:
Timestamp:
2010-04-23T11:30:25Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5af21c5
Parents:
a78fa2a
Message:

added device states (usable, invalid, not present, not initialized); add_device driver callback method returns integer (errno) instead of bool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/drivers/isa/isa.c

    ra78fa2a rdf747b9c  
    8989static device_class_t isa_child_class;
    9090
    91 static bool isa_add_device(device_t *dev);
     91static int isa_add_device(device_t *dev);
    9292
    9393/** The isa device driver's standard operations.
     
    474474}
    475475
    476 static bool isa_add_device(device_t *dev)
     476static int isa_add_device(device_t *dev)
    477477{
    478478        printf(NAME ": isa_add_device, device handle = %d\n", dev->handle);
     
    482482        printf(NAME ": finished the enumeration of legacy devices\n", dev->handle);
    483483       
    484         return true;
     484        return EOK;
    485485}
    486486
Note: See TracChangeset for help on using the changeset viewer.