Thread (98 messages) flat view 98 messages, 11 authors, 2014-05-05

Automatically detecting when to use kirkwood-tsXXX-6281.dtb vs -6282.dtb (Was: Re: [PATCH 21/21] ARM: Kirkwood: Remove DT support)

From: Ian Campbell <hidden>
Date: 2014-05-05 08:44:58

On Sat, 2014-05-03 at 16:40 +0200, Andrew Lunn wrote:
quoted
However on my 6281 based TS-219 system there seems to be no visible PCI
bus when running the 3.2 kernel in the current Debian stable release
(which of course uses board support). Some info:
The old PCI driver looks to see if there is anything on the bus, and
if not, does not register the PCI bus to the PCI core. The new PCI
driver always registers the busses, allowing hotplug of PCI devices.
Got it, thanks.
quoted
Is the lack of anything on the PCI bus itself sufficient to determine
that this is a 6281 based ts219 rather than a 6282 one (I don't have any
6282 ts219 systems to try)?
No, this is not sufficient, as far as i know. I have a 6282 based
ts119. It also does not have any PCI devices. However, the 6282 DT
file works fine on it. There is no need to differentiate between 119
and 219, just between 6281 and 6282.
Thanks.
Your idea about Ethernet PHY is probably the best way to tell them
apart. But i will see if i can find anything else.
Thanks, I'll start on the PHY base solution, it'll be easy enough to
switch if something even better gets thought up.

Cheers,
Ian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help