Subject: Uninvited guest (or, rd.c bug)
To: None <port-hp300@NetBSD.ORG>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-hp300
Date: 02/02/1996 19:04:54
Ok, I apologize profusely to all those folks who all of the sudden
noticed that their hpib disks were no longer recognized by the kernel.
An uninvited bug slipped into rdmatch(). I just committed the fix, but
for all those who can't wait, the patch is appended below.
Hey, nobody's perfect :-)
--------------------------------------------------------------------------
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffett Field, CA 94035 Pager: 415.428.6939
Index: rd.c
===================================================================
RCS file: /a/cvsroot/src/sys/arch/hp300/dev/rd.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -c -r1.18 -r1.19
*** rd.c 1996/01/10 20:54:29 1.18
--- rd.c 1996/02/03 03:00:29 1.19
***************
*** 1,4 ****
! /* $NetBSD: rd.c,v 1.18 1996/01/10 20:54:29 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
--- 1,4 ----
! /* $NetBSD: rd.c,v 1.19 1996/02/03 03:00:29 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
***************
*** 252,259 ****
bzero(&rs->sc_dkdev, sizeof(rs->sc_dkdev));
rs->sc_dkdev.dk_name = rs->sc_xname;
disk_attach(&rs->sc_dkdev);
-
- return (0);
return (1);
}
--- 252,257 ----