Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2016 11:07:59 +0200
From:      Zbigniew Bodek <zbb@semihalf.com>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Cc:        Ed Maste <emaste@freebsd.org>, Zbigniew Bodek <zbb@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r297392 - in head/sys: conf dev/ofw powerpc/mpc85xx powerpc/powermac powerpc/pseries
Message-ID:  <CAG7dG%2BwzQvBNPZhqXffhpUYnhc%2BHgau_JiAScxa4Y7L=Z4hYbQ@mail.gmail.com>
In-Reply-To: <56FDBB36.5000302@freebsd.org>
References:  <201603291519.u2TFJuXW051571@repo.freebsd.org> <CAPyFy2DCPvQ9ESC8FakSsZ=2kD2YkWieZhJiDC5RieSxFFrKqw@mail.gmail.com> <CAG7dG%2ByBOkHGoTxTWQ436jDpufHeDn3rSS%2B6ZoQCOG7O3HLjCQ@mail.gmail.com> <56FBE3D6.9050205@freebsd.org> <CAG7dG%2ByqWh14m0n1yEjpbACM3BghZRcnSmLtz2mKoqB5WEh=5A@mail.gmail.com> <56FC0B55.1040805@freebsd.org> <CAG7dG%2ByqCOm2zZDwK8EzefzC5VatUMmA5g8ckatBg5Xo-To-_g@mail.gmail.com> <56FDBB36.5000302@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks. Done: https://svnweb.freebsd.org/changeset/base/297486

Best regards
zbb

2016-04-01 2:05 GMT+02:00 Nathan Whitehorn <nwhitehorn@freebsd.org>:

> I seem to be wrong. In any event, we don't have any non-device-tree
> platforms on PowerPC anymore, so you can just make it be "pci".
> -Nathan
>
> On 03/31/16 01:18, Zbigniew Bodek wrote:
>
>>
>> Are you sure? I don't see an example of what you are writing about.
>> Instead I can see several other examples such as:
>>
>> dev/usb/controller/ehci_fsl.coptionalehci mpc85xx | ehci qoriq_dpaa
>> dev/iicbus/adm1030.coptionalpowermac windtunnel | adm1030 powermac
>> etc.
>>
>> Why would they do that if they could simply type: ehci mpc85xx |
>> qoriq_dpaa?
>>
>> Best regards
>> zbb
>>
>> 2016-03-30 19:22 GMT+02:00 Nathan Whitehorn <nwhitehorn@freebsd.org
>> <mailto:nwhitehorn@freebsd.org>>:
>>
>>     I think it should be pci aim | fdt, just like the previous line
>>     when the files lived in sys/powerpc. To conf, that evaluates as
>>     pci && (aim || fdt).
>>     -Nathan
>>
>>
>>     On 03/30/16 08:55, Zbigniew Bodek wrote:
>>
>>>
>>>     Thank you Nathan. Please check out new patch in the attachment.
>>>
>>>     Best regards
>>>     zbb
>>>
>>>     2016-03-30 16:33 GMT+02:00 Nathan Whitehorn
>>>     <nwhitehorn@freebsd.org <mailto:nwhitehorn@freebsd.org>>:
>>>
>>>         PowerPC (and SPARC) can have real OFW without FDT support.
>>>         Adding FDT to LINT is the wrong solution: rather, it should
>>>         switch on fdt | aim like the rest of the Open Firmware code.
>>>         -Nathan
>>>
>>>
>>>         On 03/30/16 01:54, Zbigniew Bodek wrote:
>>>
>>>>         Hello Ed,
>>>>
>>>>         Please check out the attached patch. For powerpc we should
>>>>         compile-in ofwpci.c regardless of FDT option.
>>>>         However, it seems that LINT for powerpc does not have FDT.
>>>>         What do you thing about adding it (as can be seen in the
>>>>         attached patch)?. This would be done in a separate commit.
>>>>
>>>>         Best regards
>>>>         zbb
>>>>
>>>>         2016-03-30 1:53 GMT+02:00 Ed Maste <emaste@freebsd.org
>>>>         <mailto:emaste@freebsd.org>>:
>>>>
>>>>             On 29 March 2016 at 15:19, Zbigniew Bodek
>>>>             <zbb@freebsd.org <mailto:zbb@freebsd.org>> wrote:
>>>>             > Author: zbb
>>>>             > Date: Tue Mar 29 15:19:56 2016
>>>>             > New Revision: 297392
>>>>             > URL: https://svnweb.freebsd.org/changeset/base/297392
>>>>             >
>>>>             > Log:
>>>>             >   Reduce OFW PCI code duplication - involves ARM, PPC
>>>>             and SPARC64
>>>>
>>>>             My 'make tinderbox' build is now failing (powerpc LINT)
>>>>             with:
>>>>
>>>>             linking kernel
>>>>             cpcht.o: In function `cpcht_attach':
>>>>             cpcht.c:(.text+0x17dc): undefined reference to
>>>>             `ofw_pci_attach'
>>>>             cpcht.o:(.data.rel+0x0): undefined reference to
>>>>             `ofw_pci_driver'
>>>>             grackle.o: In function `grackle_attach':
>>>>             grackle.c:(.text+0x2dc): undefined reference to
>>>>             `ofw_pci_attach'
>>>>             grackle.o:(.data.rel+0x0): undefined reference to
>>>>             `ofw_pci_driver'
>>>>             uninorthpci.o: In function `uninorth_attach':
>>>>             uninorthpci.c:(.text+0x68c): undefined reference to
>>>>             `ofw_pci_attach'
>>>>             uninorthpci.o:(.data.rel+0x0): undefined reference to
>>>>             `ofw_pci_driver'
>>>>             *** [kernel] Error code 1
>>>>             _______________________________________________
>>>>             svn-src-all@freebsd.org <mailto:svn-src-all@freebsd.org>
>>>>             mailing list
>>>>             https://lists.freebsd.org/mailman/listinfo/svn-src-all
>>>>             To unsubscribe, send any mail to
>>>>             "svn-src-all-unsubscribe@freebsd.org
>>>>             <mailto:svn-src-all-unsubscribe@freebsd.org>"
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG7dG%2BwzQvBNPZhqXffhpUYnhc%2BHgau_JiAScxa4Y7L=Z4hYbQ>