Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2005 13:29:31 +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/sparc64/pci ofw_pcibus.c
Message-ID:  <200501201329.j0KDTVOh063744@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2005-01-20 13:29:31 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/pci      ofw_pcibus.c 
  Log:
  At least on some U30 there's a spurious duplicate device node of an EBus
  bridge in the device tree which lacks the mandatory (also by the OFW PCI
  bus binding spec) "reg" property. Change the code to just ignore nodes
  missing the "reg" property instead of panicing when encountering such a
  node. Also ignore nodes without a "name" property (guaranteed by the OFW
  PCI bus binding spec). This brings the behaviour of the MD OFW PCI code
  regarding such incomplete nodes in line with the EBus and the SBus code.
  
  Tested by:      Cyril Tikhomiroff <tikho@anor.net>
  MFC after:      1 month
  
  Revision  Changes    Path
  1.5       +12 -5     src/sys/sparc64/pci/ofw_pcibus.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501201329.j0KDTVOh063744>