/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to driver/base.c

  • Committer: Suren A. Chilingaryan
  • Date: 2011-04-12 00:57:02 UTC
  • Revision ID: csa@dside.dyndns.org-20110412005702-ir1cch0f1feop7ay
Infrastructure for event API

Show diffs side-by-side

added added

removed removed

Lines of Context:
626
626
 
627
627
        /* Check sizes */
628
628
        vma_size = (vmap->vm_end - vmap->vm_start);
 
629
 
629
630
        if ((vma_size != bar_length) &&
630
631
           ((bar_length < PAGE_SIZE) && (vma_size != PAGE_SIZE))) {
631
632
                mod_info( "mmap size is not correct! bar: %lu - vma: %lu\n", bar_length, vma_size );