freebsd-src/sys/dev/dpt
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
..
dpt.h dpt.h: 1998-09-22 04:55:07 +00:00
dpt_control.c During probe, the page lockdown code in dpt_control.c does some 1999-05-11 11:03:18 +00:00
dpt_eisa.c Move the declaration of the interrupt type from the driver structure 1999-05-08 21:59:43 +00:00
dpt_eisa.h Conver the DPT driver to CAM. The dpt_control interface is not yet 1998-09-15 08:33:38 +00:00
dpt_pci.c Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add: 1999-05-09 17:07:30 +00:00
dpt_pci.h Add Simon Shapiro's DPT driver 1998-01-26 06:11:18 +00:00
dpt_scsi.c Add a number of interrelated CAM feature enhancements and bug fixes. 1999-05-06 20:16:39 +00:00