1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00
Jordan K. Hubbard 8cb4373141 During probe, the page lockdown code in dpt_control.c does some
bad math: it does not handle page-boundary conditions, and will not
end up mapping all of the requested addresses.  This will cause a panic:
page fault during probe on some systems.  I have a machine that will
panic every time (when using the dpt driver) on kernel probe when there
are 5 drives installed.  When there are 4 drives, it is fine.
Fix is to always allocate/deallocate an extra page.
There is also a bonus splx() fix on an early error return.

Submitted by:	Mark J. Taylor <mtaylor@cybernet.com>
PR:		9367
1999-05-11 11:03:18 +00:00
..
1999-05-09 17:12:25 +00:00
1999-04-12 13:39:11 +00:00
1999-05-09 10:45:54 +00:00
1999-05-10 22:39:37 +00:00
1999-04-22 13:10:43 +00:00
1999-05-09 20:29:04 +00:00
1999-05-10 18:10:08 +00:00
1999-05-09 17:12:25 +00:00
1999-04-27 11:18:52 +00:00