]> git.hungrycats.org Git - linux/commit
[PATCH] PCI: add pci_get_slot() function
authorMatthew Wilcox <willy@debian.org>
Thu, 29 Jan 2004 06:32:13 +0000 (22:32 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 29 Jan 2004 06:32:13 +0000 (22:32 -0800)
commit9648e089aaba09d60282558c69e598ae40254160
treef7e765034afb1306b8938f3bbe8218f4ad4039c0
parent68b308e82cafcd64e2a102b410b8db3077aae44d
[PATCH] PCI: add pci_get_slot() function

tg3.c has a bug where it can find the wrong 5704 peer on a machine with
PCI domains.  The problem is that pci_find_slot() can't distinguish
whether it has the correct domain or not.

This patch fixes that problem by introducing pci_get_slot().
drivers/pci/search.c
include/linux/pci.h