From owner-cvs-src-old@FreeBSD.ORG Sun Dec 20 01:39:52 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1BF4106566B for ; Sun, 20 Dec 2009 01:39:52 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E01FA8FC15 for ; Sun, 20 Dec 2009 01:39:52 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nBK1dq8P090382 for ; Sun, 20 Dec 2009 01:39:52 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBK1dqY2090381 for cvs-src-old@freebsd.org; Sun, 20 Dec 2009 01:39:52 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200912200139.nBK1dqY2090381@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Sun, 20 Dec 2009 01:38:01 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/ata atapi-cd.c atapi-cd.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2009 01:39:53 -0000 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