* FW: cciss updates for 2.4.22-pre3 [2 of 6]
@ 2003-07-10 21:59 Miller, Mike (OS Dev)
0 siblings, 0 replies; only message in thread
From: Miller, Mike (OS Dev) @ 2003-07-10 21:59 UTC (permalink / raw)
To: linux-kernel
-----Original Message-----
From: Miller, Mike (OS Dev)
Sent: Thursday, July 10, 2003 4:46 PM
To: 'axboe@suse.de'; 'marcelo@conectiva.com.br'
Cc: 'alan@lxorguk.ukuu.org.uk'; 'linuxkernel@vger.kernel.org'
Subject: cciss updates for 2.4.22-pre3 [2 of 6]
These patches can be installed in any order EXCEPT the final 2 of the 6. They are name p1* & p2* respectively.
This patch was built & tested using kernel 2.4.21 with the 2.4.22pre3 patch
applied. It is intended for inclusion in the 2.4.22 kernel.
Patch name: cciss_2447_PCI_BAR_fix.patch
Changes:
1. Changes the PCI_BASE_ADDRESS_MEM_PREFETCH case in the
find_PCI_BAR_index() function to a default case. This
should never happen in PCI version 2.2. Bug fix.
--------------------------------------------------------------------------------------------------------------------
diff -burN lx2422p3/drivers/block/cciss.c lx2422p3.test/drivers/block/cciss.c
--- lx2422p3/drivers/block/cciss.c 2003-07-07 13:49:34.000000000 -0500
+++ lx2422p3.test/drivers/block/cciss.c 2003-07-07 14:43:05.000000000 -0500
@@ -2460,7 +2460,9 @@
case PCI_BASE_ADDRESS_MEM_TYPE_64:
offset += 8;
break;
- case PCI_BASE_ADDRESS_MEM_PREFETCH:
+ default: /* reserved in PCI 2.2 */
+ printk(KERN_WARNING "Base address is invalid\n");
+ return -1;
break;
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-10 21:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-10 21:59 FW: cciss updates for 2.4.22-pre3 [2 of 6] Miller, Mike (OS Dev)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).