SIS1100e/310x LINUX driver opensuse 12.3rc1 at kernel 3.7.6

Thanks to Tibor Keri from the University of Glasgow for bringing the following to our attention:

In kernel 3.7-rc1, the flag VM_RESERVED is removed

The implication is, that sis11_mmap.c requires the following patch:

/*   offset in bytes           + size of mapping          */

if ((vma->vm_pgoff<<PAGE_SHIFT)+(vma->vm_end-vma->vm_start)>


return -EINVAL;

/* start of patch  */




/* end of patch  */

vma->vm_flags |= VM_RESERVED;

vma->vm_flags |= VM_IO;

vma->vm_flags |= VM_DONTEXPAND;

vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);


Refer to the following links also:

This entry was posted in Driver, Interface and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.