diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/pktcdvd.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index fb2c31edca24..fb08ae6de403 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c | |||
@@ -1597,20 +1597,6 @@ static int pkt_probe_settings(struct pktcdvd_device *pd) | |||
1597 | if (!pkt_writable_disc(pd, &di)) | 1597 | if (!pkt_writable_disc(pd, &di)) |
1598 | return -ENXIO; | 1598 | return -ENXIO; |
1599 | 1599 | ||
1600 | switch (pd->mmc3_profile) { | ||
1601 | case 0x1a: /* DVD+RW */ | ||
1602 | printk("pktcdvd: inserted media is DVD+RW\n"); | ||
1603 | break; | ||
1604 | case 0x13: /* DVD-RW */ | ||
1605 | printk("pktcdvd: inserted media is DVD-RW\n"); | ||
1606 | break; | ||
1607 | case 0x12: /* DVD-RAM */ | ||
1608 | printk("pktcdvd: inserted media is DVD-RAM\n"); | ||
1609 | break; | ||
1610 | default: | ||
1611 | printk("pktcdvd: inserted media is CD-R%s\n", di.erasable ? "W" : ""); | ||
1612 | break; | ||
1613 | } | ||
1614 | pd->type = di.erasable ? PACKET_CDRW : PACKET_CDR; | 1600 | pd->type = di.erasable ? PACKET_CDRW : PACKET_CDR; |
1615 | 1601 | ||
1616 | track = 1; /* (di.last_track_msb << 8) | di.last_track_lsb; */ | 1602 | track = 1; /* (di.last_track_msb << 8) | di.last_track_lsb; */ |