Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2005 18:11:46 +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/ebus ebus.c
Message-ID:  <200505191811.j4JIBkhD057770@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2005-05-19 18:11:46 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/ebus     ebus.c 
  Log:
  - Artificially using SYS_RES_IOPORT for EBus devices for reasons of
    compatibility with ISA devices while in fact all known EBus devices
    actually use memory space turned out to be not a good idea as so far
    there is only the 'rtc' device known to show up either on an EBus or
    ISA bus but not on any of the other busses used on sparc64. However
    there are quite a couple of them that show up on either EBus, FireHose
    or SBus. In order to save extra code in the respective drivers switch
    ebus(4) to actually use SYS_RES_MEMORY for the memory resources of
    its children. At least for transition still accept SYS_RES_IOPORT
    and silently change it to SYS_RES_MEMORY. [1]
  - In ebus_probe() use ofw_bus_get_name() instead of re-implementing it
    via ofw_bus_get_node() and OF_getprop().
  - Remove some unused variables.
  - Use FBSDID.
  
  Discussed with: tmm (some time ago)
  
  Revision  Changes    Path
  1.22      +43 -24    src/sys/sparc64/ebus/ebus.c



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