Deleted Added
full compact
25c25
< * $FreeBSD: head/sys/dev/ofw/ofw_disk.c 94749 2002-04-15 10:54:22Z benno $
---
> * $FreeBSD: head/sys/dev/ofw/ofw_disk.c 103714 2002-09-20 19:36:05Z phk $
117d116
< struct disklabel *label;
123,134c122,126
< /*
< * Build synthetic label.
< */
< label = &sc->ofwd_disk.d_label;
< bzero(label, sizeof(*label));
< label->d_type = DTYPE_ESDI;
< label->d_secsize = OFWD_BLOCKSIZE;
< label->d_nsectors = 33554432;
< label->d_ntracks = 1;
< label->d_ncylinders = 1024;
< label->d_secpercyl = 32768;
< label->d_secperunit = 33554432;
---
> sc->ofwd_disk.d_sectorsize = OFWD_BLOCKSIZE;
> sc->ofwd_disk.d_mediasize = (off_t)33554432 * OFWD_BLOCKSIZE;
> /* XXX: probably don't need the next two */
> sc->ofwd_disk.d_fwsectors = 33554432;
> sc->ofwd_disk.d_fwheads = 1