From owner-cvs-src-old@FreeBSD.ORG Sun Dec 20 01:39:58 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 734F9106566C for ; Sun, 20 Dec 2009 01:39:58 +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 61D9B8FC17 for ; Sun, 20 Dec 2009 01:39:58 +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 nBK1dwvv090407 for ; Sun, 20 Dec 2009 01:39:58 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBK1dwDR090406 for cvs-src-old@freebsd.org; Sun, 20 Dec 2009 01:39:58 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200912200139.nBK1dwDR090406@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:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 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:58 -0000 marius 2009-12-20 01:38:21 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/ata atapi-cd.c atapi-cd.h Log: SVN rev 200745 on 2009-12-20 01:38:21Z 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.193.2.5 +8 -2 src/sys/dev/ata/atapi-cd.c 1.46.2.2 +26 -26 src/sys/dev/ata/atapi-cd.h