Ignore:
Timestamp:
Jul 17, 2017, 1:22:11 PM (7 years ago)
Author:
max@…
Message:

hide the fields

Location:
trunk/hal/tsar_mips32/drivers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/drivers/soclib_bdv.c

    r75 r211  
    3434    // get extended pointer on SOCLIB_BDV peripheral base address
    3535        xptr_t  bdv_xp = chdev->base;
     36
     37    // set driver specific fields
     38    chdev->cmd = &soclib_bdv_cmd;
     39    chdev->isr = &soclib_bdv_isr;
    3640
    3741    // get hardware device cluster and local pointer
  • trunk/hal/tsar_mips32/drivers/soclib_hba.c

    r101 r211  
    5959    // get hardware device base address
    6060        xptr_t  hba_xp = chdev->base;
     61
     62    // set driver specific fields
     63    chdev->cmd = &soclib_hba_cmd;
     64    chdev->isr = &soclib_hba_isr;
    6165
    6266    // get hardware device cluster and local pointer
Note: See TracChangeset for help on using the changeset viewer.