FreeBSD Bugzilla – Attachment 7811 Details for
Bug 16712
ISA PNP memory range size calculated wrong
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 903 bytes, created by
nms
on 2000-02-14 18:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
nms
Created:
2000-02-14 18:20:01 UTC
Size:
903 bytes
patch
obsolete
>--- pnpparse.c Fri Oct 15 01:03:01 1999 >+++ pnpparse.c.new Thu Feb 10 12:42:14 2000 >@@ -262,4 +262,6 @@ > case PNP_TAG_MEMORY_RANGE: > if (bootverbose) { >+ int temp = I16(resinfo + 7) << 8; >+ > printf("%s: adding memory range " > "%#x-%#x, size=%#x, " >@@ -267,7 +269,6 @@ > pnp_eisaformat(id), > I16(resinfo + 1)<<8, >- (I16(resinfo + 3)<<8) >- + I16(resinfo + 7) - 1, >- I16(resinfo + 7), >+ (I16(resinfo + 3)<<8) + temp - 1, >+ temp, > I16(resinfo + 5)); > } >@@ -283,7 +284,7 @@ > config->ic_mem[config->ic_nmem].ir_end = > (I16(resinfo + 3)<<8) >- + I16(resinfo + 7) - 1; >+ + (I16(resinfo + 7) << 8) - 1; > config->ic_mem[config->ic_nmem].ir_size = >- I16(resinfo + 7); >+ I16(resinfo + 7) << 8; > config->ic_mem[config->ic_nmem].ir_align = > I16(resinfo + 5);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16712
: 7811