cvs commit: src/sys/dev/sym sym_hipd.c
Stefan Esser
se at FreeBSD.org
Sat Jan 1 11:05:46 PST 2005
se 2005-01-01 19:05:46 UTC
FreeBSD src repository
Modified files:
sys/dev/sym sym_hipd.c
Log:
Attempt to fix Symbios driver on amd64. The private memory allocation
function provided by the driver limits allocations to the page size,
i.e. 4KB on i385 and 8KB on typical 64 bit processors. Since amd64
has 64 bit pointers, but only 4KB pages, an array of pointers that
just fits into one page on all the other processors, does require
2 pages on amd64.
In order to make this driver useful on amd64, the allocation unit
has been increased to 2 pages on amd64 and contigmalloc() is used
instead of malloc(). All other processor types are unaffected by
this change. This modification has only been compile-tested on
amd64, yet, but should just work (FLW).
Revision Changes Path
1.51 +10 -0 src/sys/dev/sym/sym_hipd.c
More information about the cvs-src
mailing list