Date: Wed, 28 Sep 2005 15:01:58 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/isa pnp.c Message-ID: <200509281501.j8SF1wdG025794@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509281501.j8SF1wdG025794>