]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc64: Fix OOPS in psycho_pcierr_intr_other().
authorDavid S. Miller <davem@davemloft.net>
Tue, 16 Sep 2008 16:53:42 +0000 (09:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Oct 2008 03:23:09 +0000 (20:23 -0700)
commit28a65ba636ea471e15c8552faeb2be0eb179b385
treec9bfe450c75f6a1db7143e7af8eaf50ae68f0e43
parent284be31eccb95054e4e3c4eb9f86b9d4b562008a
sparc64: Fix OOPS in psycho_pcierr_intr_other().

[ Upstream commit f948cc6ab9e61a8e88d70ee9aafc690e6d26f92c ]

We no longer put the top-level PCI controller device into the
PCI layer device list.  So pbm->pci_bus->self is always NULL.

Therefore, use direct PCI config space accesses to get at
the PCI controller's PCI_STATUS register.

Tested by Meelis Roos.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc64/kernel/pci_psycho.c