From owner-cvs-src-old@FreeBSD.ORG Sun Dec 13 18:26:43 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 10FF6106568D for ; Sun, 13 Dec 2009 18:26:43 +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 F2F9A8FC1B for ; Sun, 13 Dec 2009 18:26:42 +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 nBDIQgRZ032817 for ; Sun, 13 Dec 2009 18:26:42 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBDIQgXa032816 for cvs-src-old@freebsd.org; Sun, 13 Dec 2009 18:26:42 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200912131826.nBDIQgXa032816@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Sun, 13 Dec 2009 18:26:19 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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, 13 Dec 2009 18:26:43 -0000 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