Date: Sun, 13 Dec 2009 18:26:19 +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: <200912131826.nBDIQgXa032816@repoman.freebsd.org>
index | next in thread | raw e-mail
marius 2009-12-13 18:26:19 UTC
FreeBSD src repository
Modified files:
sys/dev/ata atapi-cd.c atapi-cd.h
Log:
SVN rev 200481 on 2009-12-13 18:26:19Z by marius
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.
MFC after: 1 week
Revision Changes Path
1.212 +8 -2 src/sys/dev/ata/atapi-cd.c
1.49 +26 -26 src/sys/dev/ata/atapi-cd.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912131826.nBDIQgXa032816>
