* [PATCH] Fix SAL 3.2 detection
@ 2004-03-24 1:58 Matthew Wilcox
2004-03-24 9:34 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Matthew Wilcox @ 2004-03-24 1:58 UTC (permalink / raw)
To: linux-ia64
Hi David. This important fix checks the SAl *revision* rather than
the *version*. I carefully documented which was which, then used the
wrong one.
Index: arch/ia64/pci/pci.c
=================================RCS file: /var/cvs/linux-2.6/arch/ia64/pci/pci.c,v
retrieving revision 1.8
diff -u -p -r1.8 pci.c
--- a/arch/ia64/pci/pci.c 20 Mar 2004 20:29:23 -0000 1.8
+++ b/arch/ia64/pci/pci.c 24 Mar 2004 01:55:32 -0000
@@ -128,7 +128,8 @@ struct pci_raw_ops *raw_pci_ops = &pci_s
static int __init
pci_set_sal_ops (void)
{
- if (sal_version >= SAL_VERSION_CODE(3, 2)) {
+ if (sal_revision >= SAL_VERSION_CODE(3, 2)) {
+ printk("Using SAL 3.2 to access PCI config space\n");
raw_pci_ops = &pci_sal_ext_ops;
}
return 0;
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] Fix SAL 3.2 detection
2004-03-24 1:58 [PATCH] Fix SAL 3.2 detection Matthew Wilcox
@ 2004-03-24 9:34 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2004-03-24 9:34 UTC (permalink / raw)
To: linux-ia64
Matthew Wilcox <willy@debian.org> writes:
> Hi David. This important fix checks the SAl *revision* rather than
> the *version*. I carefully documented which was which, then used the
> wrong one.
Thanks a lot, this has fixed all my issues!
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-24 9:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-24 1:58 [PATCH] Fix SAL 3.2 detection Matthew Wilcox
2004-03-24 9:34 ` Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox