Porting mt7620a+mt7610e driver to OpenWrt trunk (Linux Kernel 3.14.18)

Source: Internet
Author: User

MT7620

Modify Trunk/build_dir/target-mipsel_24kec+dsp_uclibc-0.9.33.2/linux-ramips_mt7620a/mt7620/rt2880/os/linux/rt_ linux.c:1201 Line

Will:  

Posfsinfo->fsuid = Current_fsuid ();
Posfsinfo->fsgid = Current_fsgid ();

Modified to:

Posfsinfo->fsuid = * (int *) &current_fsuid ();

Posfsinfo->fsgid = * (int *) &current_fsgid ();

mt7610e

7610E drive to be modified in 2 locations

1. Modify Trunk/build_dir/target-mipsel_24kec+dsp_uclibc-0.9.33.2/linux-ramips_mt7620a/mt7610e..../os/linux/rt_ linux.c:899 Line

Will:

Posfsinfo->fsuid = Current_fsuid ();
Posfsinfo->fsgid = Current_fsgid ();

Modified to:

Posfsinfo->fsuid = * (int *) &current_fsuid ();

Posfsinfo->fsgid = * (int *) &current_fsgid ();

2. Modify Trunk/build_dir/target-mipsel_24kec+dsp_uclibc-0.9.33.2/linux-ramips_mt7620a/mt7610e....../os/linux/pci_ Main_dev.c

Remove all __dev in the file

Recompile make v=99

The whole world is pure ...

Porting mt7620a+mt7610e driver to OpenWrt trunk (Linux Kernel 3.14.18)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.