public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] compile fix for MPT Fusion driver for 2.5.70 bk
@ 2003-06-05 16:01 James Morris
  2003-06-05 16:29 ` Dave Jones
  2003-06-07 11:45 ` Adrian Bunk
  0 siblings, 2 replies; 6+ messages in thread
From: James Morris @ 2003-06-05 16:01 UTC (permalink / raw)
  To: pam.delaney; +Cc: Greg KH, linux-kernel

The patch below fixes compilation for the MPT Fusion driver, which broke 
with recent changes to the PCI API.

It seems that the code is trying to detect which version of the API its 
being compiled for, but the macro it was looking for has disappeared.


- James
-- 
James Morris
<jmorris@intercode.com.au>

diff -urN -X dontdiff bk.pending/drivers/message/fusion/linux_compat.h bk.w1/drivers/message/fusion/linux_compat.h
--- bk.pending/drivers/message/fusion/linux_compat.h	2003-06-06 00:36:11.000000000 +1000
+++ bk.w1/drivers/message/fusion/linux_compat.h	2003-06-06 01:48:49.000000000 +1000
@@ -147,7 +147,7 @@
 
 
 /* PCI/driver subsystem { */
-#ifndef pci_for_each_dev
+#ifndef pci_for_each_dev_reverse
 #define pci_for_each_dev(dev)		for((dev)=pci_devices; (dev)!=NULL; (dev)=(dev)->next)
 #define pci_peek_next_dev(dev)		((dev)->next ? (dev)->next : NULL)
 #define DEVICE_COUNT_RESOURCE           6


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-06-07 16:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-05 16:01 [PATCH] compile fix for MPT Fusion driver for 2.5.70 bk James Morris
2003-06-05 16:29 ` Dave Jones
2003-06-05 16:33   ` Greg KH
2003-06-05 16:38   ` James Morris
2003-06-07 11:45 ` Adrian Bunk
2003-06-07 16:07   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox