From owner-cvs-src@FreeBSD.ORG Wed Sep 28 15:01:59 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2540416A41F; Wed, 28 Sep 2005 15:01:59 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D771243D49; Wed, 28 Sep 2005 15:01:58 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8SF1wBp025795; Wed, 28 Sep 2005 15:01:58 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8SF1wdG025794; Wed, 28 Sep 2005 15:01:58 GMT (envelope-from marius) Message-Id: <200509281501.j8SF1wdG025794@repoman.freebsd.org> From: Marius Strobl Date: Wed, 28 Sep 2005 15:01:58 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/isa pnp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 15:01:59 -0000 marius 2005-09-28 15:01:58 UTC FreeBSD src repository Modified files: sys/isa pnp.c Log: Fix an endianness issue in pnp_eisaformat(). This corrects printing PnP IDs on big-endian archs like sparc64, e.g.: uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 43 pnpid @HEd041 on isa0 is now correctly printed as: uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 43 pnpid PNP0501 on isa0 There are probably other endianness issues lurking in the PnP code which however aren't exhibited on sparc64 as the PnP devices there are sort of PnP BIOS devices rather than ISA PnP devices. Tested on: i386, sparc64 MFC after: 1 week Revision Changes Path 1.21 +4 -1 src/sys/isa/pnp.c