The bde script has a bug, I used a patch from it verbatim, bad idea....

Fixed...
This commit is contained in:
Søren Schmidt 2000-02-08 16:39:11 +00:00
parent 752b4f600f
commit cc8baa1136

View File

@ -304,8 +304,8 @@ afd_start(struct afd_softc *fdp)
return;
}
lba = bp->b_pblkno / (fdp->cap.sector_size / DEV_BSIZE);
count = bp->b_bcount;
lba = bp->b_pblkno;
count = bp->b_bcount / fdp->cap.sector_size;
data_ptr = bp->b_data;
bp->b_resid = 0;