|
Lines 2868-2879
Link Here
|
| 2868 |
} |
2868 |
} |
| 2869 |
|
2869 |
|
| 2870 |
softc->flags |= CD_FLAG_VALID_TOC; |
2870 |
softc->flags |= CD_FLAG_VALID_TOC; |
|
|
2871 |
|
| 2872 |
bailout: |
| 2871 |
softc->disk->d_maxsize = DFLTPHYS; |
2873 |
softc->disk->d_maxsize = DFLTPHYS; |
| 2872 |
softc->disk->d_sectorsize = softc->params.blksize; |
2874 |
softc->disk->d_sectorsize = softc->params.blksize; |
| 2873 |
softc->disk->d_mediasize = |
2875 |
softc->disk->d_mediasize = |
| 2874 |
(off_t)softc->params.blksize * softc->params.disksize; |
2876 |
(off_t)softc->params.blksize * softc->params.disksize; |
| 2875 |
|
2877 |
|
|
|
2878 |
/* if |
| 2876 |
bailout: |
2879 |
bailout: |
|
|
2880 |
* is here read requests will fail when the toc cant be read although |
| 2881 |
* CD_FLAG_VALID_MEDIA is set. |
| 2882 |
*/ |
| 2877 |
|
2883 |
|
| 2878 |
/* |
2884 |
/* |
| 2879 |
* We unconditionally (re)set the blocksize each time the |
2885 |
* We unconditionally (re)set the blocksize each time the |