diff options
author | phk <phk@FreeBSD.org> | 2001-05-25 09:07:23 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-05-25 09:07:23 +0000 |
commit | 4b2f7fe1db9be13db2332327f5047f296abf98db (patch) | |
tree | f6b2e6014c0a60e46dd712954831bbb689410885 /sys/isa | |
parent | 977405e25bbebb3d0db0659d49b4dbcf1e727bcb (diff) | |
download | FreeBSD-src-4b2f7fe1db9be13db2332327f5047f296abf98db.zip FreeBSD-src-4b2f7fe1db9be13db2332327f5047f296abf98db.tar.gz |
Don't lie to diskerr() now that it listens to us.
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/fd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c index d086261..4de2624 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -2215,16 +2215,11 @@ retrier(struct fdc_data *fdc) default: fail: { - dev_t sav_bio_dev = bp->bio_dev; int printerror = (fd->options & FDOPT_NOERRLOG) == 0; - /* Trick diskerr */ - bp->bio_dev = makedev(major(bp->bio_dev), - (FDUNIT(minor(bp->bio_dev))<<3)|RAW_PART); if (printerror) diskerr(bp, "hard error", fdc->fd->skip / DEV_BSIZE, (struct disklabel *)NULL); - bp->bio_dev = sav_bio_dev; if (printerror) { if (fdc->flags & FDC_STAT_VALID) { |