Announce our ability to do MAXPHYS transfers.

This commit is contained in:
phk 2003-02-11 21:29:53 +00:00
parent ef9a1b8601
commit b098c0b196
2 changed files with 2 additions and 0 deletions

View File

@ -1134,6 +1134,7 @@ ccdioctltoo(int unit, u_long cmd, caddr_t data, int flag, struct thread *td)
cs->sc_disk->d_fwheads = ccg->ccg_ntracks;
cs->sc_dev = disk_create(unit, cs->sc_disk, 0, NULL, NULL);
cs->sc_dev->si_drv1 = cs;
cs->sc_dev->si_iosize_max = MAXPHYS;
ccdunlock(cs);

View File

@ -1134,6 +1134,7 @@ ccdioctltoo(int unit, u_long cmd, caddr_t data, int flag, struct thread *td)
cs->sc_disk->d_fwheads = ccg->ccg_ntracks;
cs->sc_dev = disk_create(unit, cs->sc_disk, 0, NULL, NULL);
cs->sc_dev->si_drv1 = cs;
cs->sc_dev->si_iosize_max = MAXPHYS;
ccdunlock(cs);