Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2005 16:39:44 +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/central central.c src/sys/sparc64/ebus ebus.c src/sys/sparc64/fhc fhc.c fhc_central.c fhc_nexus.c fhcvar.h src/sys/sparc64/pci ofw_pcibus.c src/sys/sparc64/sbus dma_sbus.c sbus.c
Message-ID:  <200511221639.jAMGdi9f057495@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2005-11-22 16:39:44 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/central  central.c 
    sys/sparc64/ebus     ebus.c 
    sys/sparc64/fhc      fhc.c fhc_central.c fhc_nexus.c fhcvar.h 
    sys/sparc64/pci      ofw_pcibus.c 
    sys/sparc64/sbus     dma_sbus.c sbus.c 
  Log:
  - Convert these bus drivers to make use of the newly introduced set of
    ofw_bus_gen_get_*() for providing the ofw_bus KOBJ interface in order
    to reduce code duplication.
  - While here sync the various sparc64 bus drivers a bit (handle failure
    to attach a child gracefully instead of panicing, move the printing
    of child resources common to bus_print_child() and bus_probe_nomatch()
    implementations of a bus into a <bus>_print_res() function, ...) and
    fix some minor bugs and nits (plug memory leaks present when attaching
    a bus or child device fails, remove unused struct members, ...).
  
  Additional testing by:  kris (central(4) and fhc(4))
  
  Revision  Changes    Path
  1.9       +54 -93    src/sys/sparc64/central/central.c
  1.24      +47 -102   src/sys/sparc64/ebus/ebus.c
  1.14      +65 -99    src/sys/sparc64/fhc/fhc.c
  1.9       +7 -5      src/sys/sparc64/fhc/fhc_central.c
  1.8       +7 -5      src/sys/sparc64/fhc/fhc_nexus.c
  1.6       +1 -5      src/sys/sparc64/fhc/fhcvar.h
  1.7       +27 -80    src/sys/sparc64/pci/ofw_pcibus.c
  1.2       +56 -115   src/sys/sparc64/sbus/dma_sbus.c
  1.36      +70 -107   src/sys/sparc64/sbus/sbus.c



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