summaryrefslogtreecommitdiff
path: root/util/getpir
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-11-10 13:52:14 +0000
committerStefan Reinauer <stepan@openbios.org>2008-11-10 13:52:14 +0000
commitfb9f35d36b69551bfe0d9038c6fe9594a575fa67 (patch)
treef64d1f7563af6eea6b7221224972f433e07a9750 /util/getpir
parenta163729862c588c8203da41208dfa57b0b0da088 (diff)
downloadcoreboot-fb9f35d36b69551bfe0d9038c6fe9594a575fa67.tar.xz
cosmetic update for getpir.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3740 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/getpir')
-rw-r--r--util/getpir/code_gen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/getpir/code_gen.c b/util/getpir/code_gen.c
index c18e63ec29..bd7dc36a88 100644
--- a/util/getpir/code_gen.c
+++ b/util/getpir/code_gen.c
@@ -46,7 +46,7 @@ void code_gen(char *filename, struct irq_routing_table *rt)
rt->exclusive_irqs);
fprintf(fpir, "\t%#x, /* Vendor */\n", rt->rtr_vendor);
fprintf(fpir, "\t%#x, /* Device */\n", rt->rtr_device);
- fprintf(fpir, "\t%#x, /* Crap (miniport) */\n",
+ fprintf(fpir, "\t%#x, /* Miniport */\n",
rt->miniport_data);
fprintf(fpir, "\t{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* u8 rfu[11] */\n");
fprintf(fpir, "\t%#x, /* u8 checksum. This has to be set to some\n value that would give 0 after the sum of all\n bytes for this structure (including checksum) */\n",
@@ -54,7 +54,7 @@ void code_gen(char *filename, struct irq_routing_table *rt)
fprintf(fpir, "\t{\n");
fprintf(fpir, "\t\t/* bus, dev|fn, {link, bitmap}, {link, bitmap}, {link, bitmap}, {link, bitmap}, slot, rfu */\n");
for (i = 0; i < ts; i++) {
- fprintf(fpir, "\t\t{0x%02x,(0x%02x<<3)|0x%01x, {{0x%02x, 0x%04x}, {0x%02x, 0x%04x}, {0x%02x, 0x%04x}, {0x%02x, 0x0%04x}}, 0x%x, 0x%x},\n",
+ fprintf(fpir, "\t\t{0x%02x,(0x%02x<<3)|0x%01x, {{0x%02x, 0x%04x}, {0x%02x, 0x%04x}, {0x%02x, 0x%04x}, {0x%02x, 0x%04x}}, 0x%x, 0x%x},\n",
(se_arr+i)->bus, (se_arr+i)->devfn >> 3,
(se_arr+i)->devfn & 7, (se_arr+i)->irq[0].link,
(se_arr+i)->irq[0].bitmap, (se_arr+i)->irq[1].link,