]> git.baikalelectronics.ru Git - kernel.git/commit
sunhme: Allow usage on SBI based SBus systems
authoroftedal <oftedal@gmail.com>
Mon, 7 Nov 2011 11:47:53 +0000 (11:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Nov 2011 19:01:42 +0000 (14:01 -0500)
commit5ad73a5b12d093a45537840de621f8b04f1b86c7
treef3e0b10ba5db506127bc01f6504bf707e16e8849
parent239b7cbcfeea43c5c7260564dd4c6aeb7f47ace8
sunhme: Allow usage on SBI based SBus systems

To prevent the SBus driver for Sun Happy Meal cards from being loaded for
PCI cards utilizing the same chipset, a filter was added to the probe
function in commit 5660d10df7c9f72f039a64bb2bda10ff244d2a16.

The filter was implemented by checking the name of the parent node in
the OF tree. This patch extends this filter, so that the driver will
load on SBus systems that are based upon SBI SBus Bridges.

Signed-off-by: Kjetil Oftedal <oftedal@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunhme.c