{"action":"created","issue":{"url":"https://api.github.com/repos/kuba-moo/mt7630e/issues/16","labels_url":"https://api.github.com/repos/kuba-moo/mt7630e/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/kuba-moo/mt7630e/issues/16/comments","events_url":"https://api.github.com/repos/kuba-moo/mt7630e/issues/16/events","html_url":"https://github.com/kuba-moo/mt7630e/issues/16","id":91485570,"number":16,"title":"Unable to install driver with error","user":{"login":"nileshcool","id":8081012,"avatar_url":"https://avatars.githubusercontent.com/u/8081012?v=3","gravatar_id":"","url":"https://api.github.com/users/nileshcool","html_url":"https://github.com/nileshcool","followers_url":"https://api.github.com/users/nileshcool/followers","following_url":"https://api.github.com/users/nileshcool/following{/other_user}","gists_url":"https://api.github.com/users/nileshcool/gists{/gist_id}","starred_url":"https://api.github.com/users/nileshcool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nileshcool/subscriptions","organizations_url":"https://api.github.com/users/nileshcool/orgs","repos_url":"https://api.github.com/users/nileshcool/repos","events_url":"https://api.github.com/users/nileshcool/events{/privacy}","received_events_url":"https://api.github.com/users/nileshcool/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-27T15:55:31Z","updated_at":"2015-06-28T16:37:06Z","closed_at":null,"body":"Here is the error I recevied while installing the driver\r\n\r\n[nilesh@NileshDBl mt7630e-master]$ make\r\nmake -C /lib/modules/`uname -r`/build M=/home/nilesh/Downloads/mt7630e-master/rt2x00 modules\r\nmake[1]: Entering directory `/usr/src/kernels/3.10.0-229.el7.x86_64'\r\n  CC [M]  /home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.o\r\nIn file included from /home/nilesh/Downloads/mt7630e-master/rt2x00/rt2x00.h:40:0,\r\n                 from /home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.c:43:\r\n/home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.c: In function ‘rt2800pci_txstatus_interrupt’:\r\ninclude/linux/kfifo.h:395:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]\r\n   __dummy = (typeof(__val))NULL; \\\r\n             ^\r\n/home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.c:1490:8: note: in expansion of macro ‘kfifo_put’\r\n   if (!kfifo_put(&rt2x00dev->txstatus_fifo, status)) {\r\n        ^\r\ninclude/linux/kfifo.h:395:11: warning: assignment makes pointer from integer without a cast [enabled by default]\r\n   __dummy = (typeof(__val))NULL; \\\r\n           ^\r\n/home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.c:1490:8: note: in expansion of macro ‘kfifo_put’\r\n   if (!kfifo_put(&rt2x00dev->txstatus_fifo, status)) {\r\n        ^\r\ninclude/linux/kfifo.h:398:47: error: invalid type argument of unary ‘*’ (have ‘u32’)\r\n   __ret = __kfifo_in_r(__kfifo, __val, sizeof(*__val), \\\r\n                                               ^\r\n/home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.c:1490:8: note: in expansion of macro ‘kfifo_put’\r\n   if (!kfifo_put(&rt2x00dev->txstatus_fifo, status)) {\r\n        ^\r\ninclude/linux/kfifo.h:392:9: warning: passing argument 2 of ‘__kfifo_in_r’ makes pointer from integer without a cast [enabled by default]\r\n  struct __kfifo *__kfifo = &__tmp->kfifo; \\\r\n         ^\r\n/home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.c:1490:8: note: in expansion of macro ‘kfifo_put’\r\n   if (!kfifo_put(&rt2x00dev->txstatus_fifo, status)) {\r\n        ^\r\ninclude/linux/kfifo.h:819:21: note: expected ‘const void *’ but argument is of type ‘u32’\r\n extern unsigned int __kfifo_in_r(struct __kfifo *fifo,\r\n                     ^\r\ninclude/linux/kfifo.h:407:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]\r\n     *(typeof(__tmp->type))__val; \\\r\n      ^\r\n/home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.c:1490:8: note: in expansion of macro ‘kfifo_put’\r\n   if (!kfifo_put(&rt2x00dev->txstatus_fifo, status)) {\r\n        ^\r\n/home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.c: At top level:\r\n/home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.c:1624:2: warning: initialization from incompatible pointer type [enabled by default]\r\n  .flush   = rt2x00mac_flush,\r\n  ^\r\n/home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.c:1624:2: warning: (near initialization for ‘rt2800pci_mac80211_ops.flush’) [enabled by default]\r\nmake[2]: *** [/home/nilesh/Downloads/mt7630e-master/rt2x00/rt2800pci.o] Error 1\r\nmake[1]: *** [_module_/home/nilesh/Downloads/mt7630e-master/rt2x00] Error 2\r\nmake[1]: Leaving directory `/usr/src/kernels/3.10.0-229.el7.x86_64'\r\nmake: *** [all] Error 2\r\n\r\nHere is the O/P of lscpi -nn command\r\n[nilesh@NileshDBl ~]$ lspci -nn\r\n00:00.0 Host bridge [0600]: Intel Corporation 3rd Gen Core processor DRAM Controller [8086:0154] (rev 09)\r\n00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)\r\n00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)\r\n00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)\r\n00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)\r\n00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)\r\n00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)\r\n00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4)\r\n00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4)\r\n00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)\r\n00:1f.0 ISA bridge [0601]: Intel Corporation HM76 Express Chipset LPC Controller [8086:1e59] (rev 04)\r\n00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)\r\n00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)\r\n02:00.0 Network controller [0280]: MEDIATEK Corp. MT7630e 802.11bgn Wireless Network Adapter [14c3:7630]\r\n03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:5289] (rev 01)\r\n03:00.2 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0a)\r\n\r\nand the o/p of lshw command\r\nsudo lshw -C network\r\n  *-network UNCLAIMED     \r\n       description: Network controller\r\n       product: MT7630e 802.11bgn Wireless Network Adapter\r\n       vendor: MEDIATEK Corp.\r\n       physical id: 0\r\n       bus info: pci@0000:02:00.0\r\n       version: 00\r\n       width: 32 bits\r\n       clock: 33MHz\r\n       capabilities: pm msi pciexpress bus_master cap_list\r\n       configuration: latency=0\r\n       resources: memory:f7d00000-f7dfffff\r\n\r\nHope I have provided all the information needed, for rectification and modification in the driver code"},"comment":{"url":"https://api.github.com/repos/kuba-moo/mt7630e/issues/comments/116296601","html_url":"https://github.com/kuba-moo/mt7630e/issues/16#issuecomment-116296601","issue_url":"https://api.github.com/repos/kuba-moo/mt7630e/issues/16","id":116296601,"user":{"login":"nileshcool","id":8081012,"avatar_url":"https://avatars.githubusercontent.com/u/8081012?v=3","gravatar_id":"","url":"https://api.github.com/users/nileshcool","html_url":"https://github.com/nileshcool","followers_url":"https://api.github.com/users/nileshcool/followers","following_url":"https://api.github.com/users/nileshcool/following{/other_user}","gists_url":"https://api.github.com/users/nileshcool/gists{/gist_id}","starred_url":"https://api.github.com/users/nileshcool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nileshcool/subscriptions","organizations_url":"https://api.github.com/users/nileshcool/orgs","repos_url":"https://api.github.com/users/nileshcool/repos","events_url":"https://api.github.com/users/nileshcool/events{/privacy}","received_events_url":"https://api.github.com/users/nileshcool/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T16:37:06Z","updated_at":"2015-06-28T16:37:06Z","body":"I thought this driver is ment to be working with Kernel 3.5 and above.\r\nBut then, so from which version of kernel will the driver work on, following is the o/p of uname\r\n\r\n[nilesh@NileshDBl ~]$ uname -a\r\nLinux NileshDBl.local 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\nhope this is some how helpfull to you"}}