Synchronize with sys/i386/isa/wd.c revision 1.141.
This commit is contained in:
parent
5ea17fc758
commit
615effe0e9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=30369
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: wd.c,v 1.32 1997/09/14 01:44:17 kato Exp $
|
||||
* $Id: wd.c,v 1.33 1997/09/22 12:24:39 kato Exp $
|
||||
*/
|
||||
|
||||
/* TODO:
|
||||
@ -583,15 +583,15 @@ wdattach(struct isa_device *dvp)
|
||||
wdtimeout(du);
|
||||
|
||||
#ifdef DEVFS
|
||||
mynor = dkmakeminor(unit, WHOLE_DISK_SLICE, RAW_PART);
|
||||
mynor = dkmakeminor(lunit, WHOLE_DISK_SLICE, RAW_PART);
|
||||
du->dk_bdev = devfs_add_devswf(&wd_bdevsw, mynor,
|
||||
DV_BLK, UID_ROOT,
|
||||
GID_OPERATOR, 0640,
|
||||
"wd%d", unit);
|
||||
"wd%d", lunit);
|
||||
du->dk_cdev = devfs_add_devswf(&wd_cdevsw, mynor,
|
||||
DV_CHR, UID_ROOT,
|
||||
GID_OPERATOR, 0640,
|
||||
"rwd%d", unit);
|
||||
"rwd%d", lunit);
|
||||
#endif
|
||||
|
||||
if (dk_ndrive < DK_NDRIVE) {
|
||||
|
Loading…
Reference in New Issue
Block a user