Re: Packet writing problems

From: Peter Osterlund
Date: Tue Aug 17 2004 - 18:37:50 EST


Julien Oster <lkml-7994@xxxxxxxxxxxxxx> writes:

> Peter Osterlund <petero2@xxxxxxxxx> writes:
>
> Hello Peter,
>
> > That shouldn't cause any real problems, but since it's quite
> > confusing, here is a patch to fix it. With this change, both DVD+RW
> > and DVD-RW media is correctly identified in the kernel log, and DVD
> > speeds are printed in kB/s.
>
> The following patch on top of your patch adds all commonly used media
> types to the output and changes CD-R and CD-RW to be detected by
> profile type. It also reports unconforming non-standard profiles as
> well as profiles which have a MMC profile definition but are unknown
> as of the current MMC3 revision.
>
> Please review.

Will any of those printk's ever get printed? Media types that can't be
handled by the packet driver aren't supposed to make it past the
pkt_good_disc() test.

--
Peter Osterlund - petero2@xxxxxxxxx
http://w1.894.telia.com/~u89404340
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/