Some Alpha patches for CAM from Doug Rabson.

Reviewed by:	gibbs
Submitted by:	dfr
This commit is contained in:
ken 1998-09-16 23:30:11 +00:00
parent 0a0dbfbd48
commit 4842598c26
2 changed files with 5 additions and 3 deletions

View File

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cam_xpt.c,v 1.3 1998/09/16 00:11:33 ken Exp $
* $Id: cam_xpt.c,v 1.4 1998/09/16 13:24:37 gibbs Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@ -1070,8 +1070,10 @@ xpt_init()
/* Install our software interrupt handlers */
/* XXX Should call some MI function to do this */
#ifdef __i386__
ihandlers[SWI_CAMNET] = swi_camnet;
ihandlers[SWI_CAMBIO] = swi_cambio;
#endif
}
static cam_status

View File

@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: scsi_da.c,v 1.1 1998/09/15 06:36:34 gibbs Exp $
*/
#include <sys/param.h>
@ -607,7 +607,7 @@ dadump(dev_t dev)
return (EIO);
}
if ((unsigned)addr % (1024 * 1024) == 0) {
if ((intptr_t)addr % (1024 * 1024) == 0) {
#ifdef HW_WDOG
if (wdog_tickler)
(*wdog_tickler)();