Re: r314131: link_elf_obj: symbol iwm7265_cfg undefined

2017-02-23 Thread Jakob Alvermark
On Thu, February 23, 2017 14:52, Andreas Nilsson wrote:
> On Thu, Feb 23, 2017 at 1:56 PM, Andreas Nilsson 
> wrote:
>
>
>>
>>
>> On Thu, Feb 23, 2017 at 1:29 PM, Jakob Alvermark 
>> wrote:
>>
>>
>>> Hi,
>>>
>>>
>>> Updated to r314131 and my iwm no longer works. (It is a 7265)
>>> Dmesg says:
>>> link_elf_obj: symbol iwm7265_cfg undefined
>>> linker_load_file: Unsupported file type
>>>
>>>
>>> Jakob
>>>
>>>
>>> ___
>>> freebsd-current@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to
>>> "freebsd-current-unsubscr...@freebsd.org
>>> "
>>>
>>>
>>
>> Hello,
>>
>>
>> I can second that, although I'm on FreeBSD 12.0-CURRENT #3
>> bb6561e09c3(drm-next) with an ac8260.
>>
>> Best regards
>> Andreas
>>
>>
>
> It would seem a simple mistake in  a Makefile: see attached diff.
>
>
> The module loads for me with that patch applied.
>
>
> Best regards
> Andreas

Yes, it works. I'm online again.

Thanks!
(Anyone committing this?)

Jakob

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: r314131: link_elf_obj: symbol iwm7265_cfg undefined

2017-02-23 Thread Andreas Nilsson
On Thu, Feb 23, 2017 at 1:56 PM, Andreas Nilsson  wrote:

>
>
> On Thu, Feb 23, 2017 at 1:29 PM, Jakob Alvermark 
> wrote:
>
>> Hi,
>>
>> Updated to r314131 and my iwm no longer works. (It is a 7265)
>> Dmesg says:
>> link_elf_obj: symbol iwm7265_cfg undefined
>> linker_load_file: Unsupported file type
>>
>> Jakob
>>
>> ___
>> freebsd-current@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org
>> "
>>
>
> Hello,
>
> I can second that, although I'm on FreeBSD 12.0-CURRENT #3
> bb6561e09c3(drm-next) with an ac8260.
>
> Best regards
> Andreas
>

It would seem a simple mistake in  a Makefile: see attached diff.

The module loads for me with that patch applied.

Best regards
Andreas
diff --git a/sys/modules/iwm/Makefile b/sys/modules/iwm/Makefile
index 2d076906ce9..f8ae70650cb 100644
--- a/sys/modules/iwm/Makefile
+++ b/sys/modules/iwm/Makefile
@@ -7,6 +7,7 @@ KMOD=   if_iwm
 SRCS=  if_iwm.c if_iwm_binding.c if_iwm_util.c if_iwm_phy_db.c
 SRCS+= if_iwm_mac_ctxt.c if_iwm_phy_ctxt.c if_iwm_time_event.c
 SRCS+= if_iwm_power.c if_iwm_scan.c if_iwm_led.c if_iwm_notif_wait.c
+SRCS+=  if_iwm_7000.c if_iwm_8000.c
 # bus layer
 SRCS+= if_iwm_pcie_trans.c
 SRCS+= device_if.h bus_if.h pci_if.h opt_wlan.h
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: r314131: link_elf_obj: symbol iwm7265_cfg undefined

2017-02-23 Thread Andreas Nilsson
On Thu, Feb 23, 2017 at 1:29 PM, Jakob Alvermark 
wrote:

> Hi,
>
> Updated to r314131 and my iwm no longer works. (It is a 7265)
> Dmesg says:
> link_elf_obj: symbol iwm7265_cfg undefined
> linker_load_file: Unsupported file type
>
> Jakob
>
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>

Hello,

I can second that, although I'm on FreeBSD 12.0-CURRENT #3
bb6561e09c3(drm-next) with an ac8260.

Best regards
Andreas
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"