cvs commit: src/sys/sparc64/ebus ebus.c

Marius Strobl marius at FreeBSD.org
Thu May 19 11:11:48 PDT 2005


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


More information about the cvs-all mailing list