From: achew <achew@nvidia.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] mpspec.h: Fix MAX_MP_BUSSES for compliance with MP specification
Date: Fri, 18 Mar 2005 15:53:58 -0800 [thread overview]
Message-ID: <423B6A16.5090701@nvidia.com> (raw)
MP specification uses an 8-bit field for bus ID. Therefore, the highest bus ID is 0xff.
Since the tables allocated and used in mpparse.c are indexed by bus ID, we need to make
sure we allocate 256 entries for these tables.
Note that bus IDs can be noncontiguous, according to the MP specification. The only
requirement is that they be listed in increasing order.
Signed-off-by: Andrew Chew <achew@nvidia.com>
---
diff -ru linux-2.4.29/include/asm-i386/mpspec.h linux/include/asm-i386/mpspec.h
--- linux-2.4.29/include/asm-i386/mpspec.h 2004-11-17 03:54:22.000000000 -0800
+++ linux/include/asm-i386/mpspec.h 2005-03-18 15:02:20.000000000 -0800
@@ -191,7 +191,7 @@
#define MAX_IRQ_SOURCES 256
#endif /* CONFIG_MULTIQUAD */
-#define MAX_MP_BUSSES 32
+#define MAX_MP_BUSSES 256
enum mp_bustype {
MP_BUS_ISA = 1,
MP_BUS_EISA,
reply other threads:[~2005-03-18 23:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=423B6A16.5090701@nvidia.com \
--to=achew@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox