35c35
< * $FreeBSD: head/sys/geom/geom_disk.c 110720 2003-02-11 18:32:31Z phk $
---
> * $FreeBSD: head/sys/geom/geom_disk.c 110727 2003-02-11 21:23:34Z phk $
125a126,132
> if (dp->d_maxsize == 0 && dp->d_dev->si_iosize_max != 0)
> dp->d_maxsize = dp->d_dev->si_iosize_max;
> if (dp->d_maxsize == 0) {
> printf("WARNING: Disk drive %s%d has no d_maxsize\n",
> dp->d_name, dp->d_unit);
> dp->d_maxsize = DFLTPHYS;
> }
198,207d204
< if (dp->d_dev->si_iosize_max != 0)
< dp->d_maxsize = dp->d_dev->si_iosize_max;
< #ifdef maybe
< else
< /*
< * XXX: Who knows how many drivers have undeclared
< * limitations ?
< */
< dp->d_maxsize = DFLTPHYS;
< #endif
< * $FreeBSD: head/sys/geom/geom_disk.c 110720 2003-02-11 18:32:31Z phk $
---
> * $FreeBSD: head/sys/geom/geom_disk.c 110727 2003-02-11 21:23:34Z phk $
125a126,132
> if (dp->d_maxsize == 0 && dp->d_dev->si_iosize_max != 0)
> dp->d_maxsize = dp->d_dev->si_iosize_max;
> if (dp->d_maxsize == 0) {
> printf("WARNING: Disk drive %s%d has no d_maxsize\n",
> dp->d_name, dp->d_unit);
> dp->d_maxsize = DFLTPHYS;
> }
198,207d204
< if (dp->d_dev->si_iosize_max != 0)
< dp->d_maxsize = dp->d_dev->si_iosize_max;
< #ifdef maybe
< else
< /*
< * XXX: Who knows how many drivers have undeclared
< * limitations ?
< */
< dp->d_maxsize = DFLTPHYS;
< #endif