NetBSD Problem Report #1637
From gnats Wed Oct 18 06:59:55 1995
Received: from bloom-beacon.MIT.EDU by pain.lcs.mit.edu (8.6.9/8.6.9) with ESMTP id GAA19854 for <gnats-bugs@gnats.netbsd.org>; Wed, 18 Oct 1995 06:27:33 -0400
Message-Id: <199510180149.VAA03691@pattern.arlington.ma.us>
Date: Tue, 17 Oct 1995 21:49:33 -0400
From: John Kohl <jtk@kolvir.arlington.ma.us>
Reply-To: jtk@kolvir.arlington.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: format command is wrong in <dev/ic/nec765reg.h>
X-Send-Pr-Version: 3.95
>Number: 1637
>Category: kern
>Synopsis: format command is wrong in <dev/ic/nec765reg.h>
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 18 07:05:07 +0000 1995
>Closed-Date: Fri Oct 20 00:02:38 +0000 1995
>Last-Modified: Fri Oct 20 00:03:08 +0000 1995
>Originator: John Kohl
>Release: NetBSD-1.1_ALPHA, 1995/10/17
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:
System: NetBSD pattern 1.0A NetBSD 1.0A (PATTERN) #191: Wed Oct 11 21:53:46 EDT 1995 jtk@pattern:/u1/NetBSD-current/src/sys/arch/i386/compile/PATTERN i386
>Description:
The format command byte listed in <dev/ic/nec765reg.h> is wrong.
>How-To-Repeat:
Try to use that command to format a floppy.
>Fix:
*** /sys/dev/ic/nec765reg.h Fri Oct 13 22:37:50 1995
--- nec765reg.h Wed Jun 28 21:52:35 1995
***************
*** 65,71 ****
#define NE7CMD_SENSED 4 /* sense drive - requires unit select byte */
#define NE7CMD_WRITE 0xc5 /* write - requires eight additional bytes */
#define NE7CMD_READ 0xe6 /* read - requires eight additional bytes */
! #define NE7CMD_FORMAT 0x4c /* format - requires five additional bytes */
#define NE7CMD_RECAL 7 /* recalibrate drive - requires
unit select byte */
#define NE7CMD_SENSEI 8 /* sense controller interrupt status */
--- 65,71 ----
#define NE7CMD_SENSED 4 /* sense drive - requires unit select byte */
#define NE7CMD_WRITE 0xc5 /* write - requires eight additional bytes */
#define NE7CMD_READ 0xe6 /* read - requires eight additional bytes */
! #define NE7CMD_FORMAT 0x4d /* format - requires five additional bytes */
#define NE7CMD_RECAL 7 /* recalibrate drive - requires
unit select byte */
#define NE7CMD_SENSEI 8 /* sense controller interrupt status */
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: pk
State-Changed-When: Thu Oct 19 20:02:38 EDT 1995
State-Changed-Why:
Corrected.
>Unformatted:
(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.