mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
lsdev paniced the machine when 2 (or more) ide controllers are installed.
Beware for cut and paste! Reviewed by: Submitted by: Obtained from:
This commit is contained in:
parent
663abed6d2
commit
a7e6a0941a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5091
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ static int wdtest = 0;
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: wd.c,v 1.60 1994/11/04 05:21:17 phk Exp $
|
||||
* $Id: wd.c,v 1.61 1994/11/18 11:27:41 phk Exp $
|
||||
*/
|
||||
|
||||
/* TODO:
|
||||
|
@ -151,7 +151,7 @@ wdc_registerdev(struct isa_device *dvp)
|
|||
int unit = dvp->id_unit;
|
||||
|
||||
if(unit != 0)
|
||||
kdc_wd[unit] = kdc_wd[0];
|
||||
kdc_wdc[unit] = kdc_wdc[0];
|
||||
|
||||
kdc_wdc[unit].kdc_unit = unit;
|
||||
kdc_wdc[unit].kdc_parentdata = dvp;
|
||||
|
|
Loading…
Reference in a new issue