Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/ata_bd/ata_bd.c

    r029b13c r79ae36dd  
    317317        (void) async_share_out_finalize(callid, fs_va);
    318318
    319         while (1) {
     319        while (true) {
    320320                callid = async_get_call(&call);
    321321                method = IPC_GET_IMETHOD(call);
    322                 switch (method) {
    323                 case IPC_M_PHONE_HUNGUP:
     322               
     323                if (!method) {
    324324                        /* The other side has hung up. */
    325325                        async_answer_0(callid, EOK);
    326326                        return;
     327                }
     328               
     329                switch (method) {
    327330                case BD_READ_BLOCKS:
    328331                        ba = MERGE_LOUP32(IPC_GET_ARG1(call),
Note: See TracChangeset for help on using the changeset viewer.