cvs commit: src/sys/isa pnp.c

Marius Strobl marius at FreeBSD.org
Wed Sep 28 08:01:59 PDT 2005


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


More information about the cvs-src mailing list