DORMANTno replies

[PATCH 2.6] fore200e.c replace pci_find_device with pci_get_device (fwd)

From: Hanna Linder <hidden>
Date: 2004-10-13 22:37:28


---------- Forwarded Message ----------
Date: Wednesday, October 13, 2004 03:18:30 PM -0700
From: Hanna Linder <redacted>
To: lkml <redacted>, kernel-janitors <redacted>
Cc: Hanna Linder <redacted>, greg@kroah.com, chas@cmf.nrl.navy.mil
Subject: [PATCH 2.6] fore200e.c replace pci_find_device with pci_get_device



As pci_find_device is going away soon I have converted this file to use
pci_get_device instead. I have compile tested it. If anyone has this ATM card
and could test it that would be great.

Hanna Linder
IBM Linux Technology Center

Signed-off-by: Hanna Linder <redacted>

---
diff -Nrup linux-2.6.9-rc4-mm1cln/drivers/atm/fore200e.c linux-2.6.9-rc4-mm1patch3/drivers/atm/fore200e.c
--- linux-2.6.9-rc4-mm1cln/drivers/atm/fore200e.c	2004-10-12 14:15:10.000000000 -0700
+++ linux-2.6.9-rc4-mm1patch3/drivers/atm/fore200e.c	2004-10-13 13:57:12.000000000 -0700
@@ -644,7 +644,7 @@ fore200e_pca_detect(const struct fore200
     int              count = index;
     
     do {
-	pci_dev = pci_find_device(PCI_VENDOR_ID_FORE, PCI_DEVICE_ID_FORE_PCA200E, pci_dev);
+	pci_dev = pci_get_device(PCI_VENDOR_ID_FORE, PCI_DEVICE_ID_FORE_PCA200E, pci_dev);
 	if (pci_dev == NULL)
 	    return NULL;
     } while (count--);



---------- End Forwarded Message ----------
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help