NetBSD Problem Report #1282

From gnats  Wed Jul 26 14:34:53 1995
Received: from sapa.inka.de (sapa.inka.de [193.197.84.1]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with SMTP id OAA16426 for <gnats-bugs@gnats.netbsd.org>; Wed, 26 Jul 1995 14:33:24 -0400
Message-Id: <199507261535.RAA00380@arresum.inka.de>
Date: Wed, 26 Jul 1995 17:35:38 +0200
From: Bernd Ernesti <bernd@arresum.inka.de>
Reply-To: bernd@arresum.inka.de
To: gnats-bugs@gnats.netbsd.org
Subject: updated 53c710 driver (SCSI minphys)
X-Send-Pr-Version: 3.2

>Number:         1282
>Category:       port-amiga
>Synopsis:       updated 53c710 driver (SCSI minphys)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 26 14:35:01 +0000 1995
>Closed-Date:    Sun Aug 20 00:45:32 +0000 1995
>Last-Modified:  Sun Aug 20 00:50:21 +0000 1995
>Originator:     Bernd Ernesti
>Release:        NetBSD-current 25-07-95
>Organization:

>Environment:

System: NetBSD arresum 1.0A NetBSD 1.0A (VEEGO) #165: Wed Jul 26 17:16:59 MET DST 1995 bernd@arresum:/src/sys/arch/amiga/compile/VEEGO amiga


>Description:
	the siop driver (53c710) wasn't updated after the recent scsi driver
	change
>How-To-Repeat:
	make an kernel and boot with an 53c710 controller and you get an
	panic for vmapbuf
>Fix:
	Apply this diff:

*** sys/arch/amiga/dev/siop.c-orig	Mon Feb 13 12:08:46 1995
--- sys/arch/amiga/dev/siop.c	Wed Jul 26 17:16:14 1995
***************
*** 157,169 ****
  /*
   * default minphys routine for siop based controllers
   */
! void
  siop_minphys(bp)
  	struct buf *bp;
  {
  	/*
  	 * no max transfer at this level
  	 */
  }

  /*
--- 157,170 ----
  /*
   * default minphys routine for siop based controllers
   */
! u_int
  siop_minphys(bp)
  	struct buf *bp;
  {
  	/*
  	 * no max transfer at this level
  	 */
+ 	return (minphys(bp));
  }

  /*
*** sys/arch/amiga/dev/siopvar.h-orig	Mon Feb 13 12:08:47 1995
--- sys/arch/amiga/dev/siopvar.h	Wed Jul 26 17:16:03 1995
***************
*** 148,154 ****
  #define	STS_INTERMED	0x10	/* Intermediate status sent */
  #define	STS_EXT		0x80	/* Extended status valid */

! void siop_minphys __P((struct buf *bp));
  int siop_scsicmd __P((struct scsi_xfer *));

  #endif /* _SIOPVAR_H */
--- 148,154 ----
  #define	STS_INTERMED	0x10	/* Intermediate status sent */
  #define	STS_EXT		0x80	/* Extended status valid */

! u_int siop_minphys __P((struct buf *bp));
  int siop_scsicmd __P((struct scsi_xfer *));

  #endif /* _SIOPVAR_H */
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: chopps 
State-Changed-When: Sat Aug 19 20:45:32 EDT 1995 
State-Changed-Why:  
not a bug. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.