Date: Sun, 20 Dec 2009 01:38:01 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ata atapi-cd.c atapi-cd.h Message-ID: <200912200139.nBK1dqY2090381@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2009-12-20 01:38:01 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/dev/ata atapi-cd.c atapi-cd.h
Log:
SVN rev 200744 on 2009-12-20 01:38:01Z by marius
MFC: r200481
Specify the capability and media bits of the capabilities page in
native, i.e. big-endian, format and convert as appropriate like we
also do with the multibyte fields of the other pages. This fixes
the output of acd_describe() to match reality on big-endian machines
without breaking it on little-endian ones. While at it, also convert
the remaining multibyte fields of the pages read although they are
currently unused for consistency and in order to prevent possible
similar bugs in the future.
Revision Changes Path
1.206.2.6 +8 -2 src/sys/dev/ata/atapi-cd.c
1.48.2.2 +26 -26 src/sys/dev/ata/atapi-cd.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912200139.nBK1dqY2090381>
