FreeBSD Bugzilla – Attachment 37915 Details for
Bug 60163
ATA failed to mount data track of CD-EXTRA multisession cd
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 550 bytes, created by
skywizard
on 2003-12-11 21:40:06 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
skywizard
Created:
2003-12-11 21:40:06 UTC
Size:
550 bytes
patch
obsolete
>--- sys/dev/ata/atapi-cd.c.orig Thu Dec 11 02:20:33 2003 >+++ sys/dev/ata/atapi-cd.c Thu Dec 11 02:26:14 2003 >@@ -1277,7 +1277,13 @@ > } > cdp->toc.hdr.len = ntohs(cdp->toc.hdr.len); > >- cdp->block_size = (cdp->toc.tab[0].control & 4) ? 2048 : 2352; >+ cdp->block_size = 2352; >+ for (track = 0; track < ntracks; track++) { >+ if (cdp->toc.tab[track].control & 4) { >+ cdp->block_size = 2048; >+ break; >+ } >+ } > acd_set_ioparm(cdp); > bzero(ccb, sizeof(ccb)); > ccb[0] = ATAPI_READ_CAPACITY;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 60163
: 37915