]> git.baikalelectronics.ru Git - kernel.git/commit
sunhme: Don't match PCI devices in SBUS probe.
authorDavid S. Miller <davem@davemloft.net>
Sat, 7 Feb 2009 10:20:25 +0000 (02:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Feb 2009 10:20:25 +0000 (02:20 -0800)
commit5660d10df7c9f72f039a64bb2bda10ff244d2a16
treedf2530cbcda3522278f78fe51440dd3a58bda07c
parent2e5cd95b31da20cbc027a9945ab17d0a556a8b77
sunhme: Don't match PCI devices in SBUS probe.

Unfortunately, the OF device tree nodes for SBUS and PCI
hme devices have the same device node name on some systems.

So if the name of the parent node isn't 'sbus', skip it.

Based upon an excellent report and detective work by
Meelis Roos and Eric Brower.

Signed-off-by: David S. Miller <davem@davemloft.net>
Tested-by: Meelis Roos <mroos@linux.ee>
drivers/net/sunhme.c