<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/modules/uart/Makefile, branch release/6.1.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.1.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F6.1.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2006-05-06T19:24:14Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2006-05-06T19:24:14Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2006-05-06T19:24:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=26c52663cb5e53422c188e65b45755f348c2fbf3'/>
<id>urn:sha1:26c52663cb5e53422c188e65b45755f348c2fbf3</id>
<content type='text'>
'RELENG_6_1_0_RELEASE'.

This commit was manufactured to restore the state of the 6.1-RELEASE image.
</content>
</entry>
<entry>
<title>Stop building uart_dev_i8251.c. It was copied from uart_dev_ns8250.c</title>
<updated>2004-11-20T23:38:48Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2004-11-20T23:38:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=694f13aafffd909aea99deaee487ccb40842f7f9'/>
<id>urn:sha1:694f13aafffd909aea99deaee487ccb40842f7f9</id>
<content type='text'>
without ever being changed to actually work with an i8251. Nobody is
working on this either at the moment, so it's not about to change
soon.
When the code necessary to support the i8251 is committed, this can
be reverted again.
</content>
</entry>
<entry>
<title>o sparc64/isa/isa.c:</title>
<updated>2004-11-17T14:44:10Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2004-11-17T14:44:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8ff995cc5f21cec391ad0e0e1e676d3960b6a26e'/>
<id>urn:sha1:8ff995cc5f21cec391ad0e0e1e676d3960b6a26e</id>
<content type='text'>
  - The claim in the commit log of rev. 1.11 of dev/uart/uart_cpu_sparc64.c
    etc. that UARTs are the only relevant ISA devices on sparc64 turned out
    to be false. While there are sparc64 models where UARTs are the only
    devices on the ISA bus there are in fact also low-cost models where all
    devices traditionally found on the EBus are hooked up to the ISA bus.
    There are also models that use a mix between EBus and ISA devices with
    things like an AT keyboard controller and other rather interesting
    devices that we might want to support in the futute hook up to the ISA
    bus.
    In order to not need to add sparc64 specific device_identify methods to
    all of the respective ISA drivers and also not add OFW specific code to
    the common ISA code make the sparc64 ISA bus code fake up PnP devices so
    most ISA drivers probe their devices without further changes.
    Unfortunately Sun doesn't adhere to the ISA bindings defined in IEEE
    1275-1994 for the properties of most of the ISA devices which would
    allow to obtain the vendor and logical IDs from their properties. So we
    we just use a simple table which maps the name properties to PnP IDs.
    This could be done in a more sophisticated way but I courrently don't
    see the need for this. [1]
  - Add the children with fully mapped and specified resources (in the OFW
    sense) similar to what is done in the EBus code for the IRQ resources
    of the children as adjusting the resources and the resource list entries
    respectively in isa_alloc_resource() as done perviously causes trouble
    with drivers which use rman_get_start(), pass-through or allocate and
    release resources multiple times, etc.
    Adjusting the resources might be better off in a bus_activate_resource
    method but the common ISA code currently doesn't allow for an
    isa_activate_resource(). [2]
    With this change:
    - ppbus(4) and lpt(4) attach and work (modulo ECP mode, which requires
      real ISADMA code but it currently only consists of stubs on sparc64).
    - atkbdc(4) and atkbdc(4) attach, no further testing done.
    - fdc(4) itself attaches but causes a hang while attaching fd0 also
      when is DMA disabled, further work in fdc(4) is required here as e.g.
      fd0 uses the address of fd1 on sparc64 (not sure if sparc64 supports
      more than one floppy drive at all).
    All of these drivers previously caused panics in the sparc64 ISA code.
  - Minor changes, e.g. use __FBSDID, remove a dupe word in a comment and
    declare one global variable which isn't used outside of isa.c static.
o dev/uart/uart_cpu_sparc64.c and modules/uart/Makefile:
  - Remove the code for registering the UARTs on the ISA bus from the
    sparc64 uart_cpu_identify() again and rely on probing them via PnP.

Original idea by:	tmm [1]
No objections by:	tmm [1], [2]
</content>
</entry>
<entry>
<title>- Introduce an uart_cpu_identify() which is implemented in uart_cpu_&lt;arch&gt;.c</title>
<updated>2004-08-14T23:54:27Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2004-08-14T23:54:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=efa79eb77e9583863d9f6e8c0c935ae90ca1c2b1'/>
<id>urn:sha1:efa79eb77e9583863d9f6e8c0c935ae90ca1c2b1</id>
<content type='text'>
  and that can be used as an identify function for all kinds of busses on a
  certain platform. Expect for sparc64 these are only stubs right now. [1]
- For sparc64, add code to its uart_cpu_identify() for registering the on-
  board ISA UARTs and their resources based on information obtained from
  Open Firmware.
  It would be better if this would be done in the OFW ISA code. However, due
  to the common FreeBSD ISA code and PNP-IDs not always being present in the
  properties of the ISA nodes there seems to be no good way to implement that.
  Therefore special casing UARTs as the sole really relevant ISA devices on
  sparc64 seemed reasonable. [2]

Approved by:	marcel
Discussed with:	marcel [1], tmm [2]
Tested by:	make universe
</content>
</entry>
<entry>
<title>- Introduce an ofw_bus kobj-interface for retrieving the OFW node and a</title>
<updated>2004-08-12T17:41:33Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2004-08-12T17:41:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=26280d88d76716790cf28f23fdb0bda56533e9b6'/>
<id>urn:sha1:26280d88d76716790cf28f23fdb0bda56533e9b6</id>
<content type='text'>
  subset ("compatible", "device_type", "model" and "name") of the standard
  properties in drivers for devices on Open Firmware supported busses. The
  standard properties "reg", "interrupts" und "address" are not covered by
  this interface because they are only of interest in the respective bridge
  code. There's a remaining standard property "status" which is unclear how
  to support properly but which also isn't used in FreeBSD at present.
  This ofw_bus kobj-interface allows to replace the various (ebus_get_node(),
  ofw_pci_get_node(), etc.) and partially inconsistent (central_get_type()
  vs. sbus_get_device_type(), etc.) existing IVAR ones with a common one.
  This in turn allows to simplify and remove code-duplication in drivers for
  devices that can hang off of more than one OFW supported bus.
- Convert the sparc64 Central, EBus, FHC, PCI and SBus bus drivers and the
  drivers for their children to use the ofw_bus kobj-interface. The IVAR-
  interfaces of the Central, EBus and FHC are entirely replaced by this. The
  PCI bus driver used its own kobj-interface and now also uses the ofw_bus
  one. The IVARs special to the SBus, e.g. for retrieving the burst size,
  remain.
  Beware: this causes an ABI-breakage for modules of drivers which used the
  IVAR-interfaces, i.e. esp(4), hme(4), isp(4) and uart(4), which need to be
  recompiled.
  The style-inconsistencies introduced in some of the bus drivers will be
  fixed by tmm@ in a generic clean-up of the respective drivers later (he
  requested to add the changes in the "new" style).
- Convert the powerpc MacIO bus driver and the drivers for its children to
  use the ofw_bus kobj-interface. This invloves removing the IVARs related
  to the "reg" property which were unused and a leftover from the NetBSD
  origini of the code. There's no ABI-breakage caused by this because none
  of these driver are currently built as modules.
  There are other powerpc bus drivers which can be converted to the ofw_bus
  kobj-interface, e.g. the PCI bus driver, which should be done together
  with converting powerpc to use the OFW PCI code from sparc64.
- Make the SBus and FHC front-end of zs(4) and the sparc64 eeprom(4) take
  advantage of the ofw_bus kobj-interface and simplify them a bit.

Reviewed by:	grehan, tmm
Approved by:	re (scottl)
Discussed with:	tmm
Tested with:	Sun AX1105, AXe, Ultra 2, Ultra 60; PPC cross-build on i386
</content>
</entry>
<entry>
<title>Build uart_dbg.c for remote GDB support.</title>
<updated>2004-07-10T23:01:35Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2004-07-10T23:01:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3096307b3d6f083d58fecc318868ac002d86c45c'/>
<id>urn:sha1:3096307b3d6f083d58fecc318868ac002d86c45c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move to generating pccarddevs.h on the fly, both for the kernel and</title>
<updated>2004-05-26T00:53:10Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2004-05-26T00:53:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=dba6dd177bdee890cf445fbe21a5dccefd5de18e'/>
<id>urn:sha1:dba6dd177bdee890cf445fbe21a5dccefd5de18e</id>
<content type='text'>
the modules.

Also generate usbdevs.h automatically now, but a non-kernel file is
stopping that at the moment.
</content>
</entry>
<entry>
<title>Add uart_subr.c</title>
<updated>2004-03-20T22:41:52Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2004-03-20T22:41:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=562174ff37af2c194e9d49692df1616f7c1025d3'/>
<id>urn:sha1:562174ff37af2c194e9d49692df1616f7c1025d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Only build the ebus driver on sparc64. It includes a header directly</title>
<updated>2003-09-17T03:00:08Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2003-09-17T03:00:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8225548ebf2675ce79910d8e59e8aaae9e4cbf9e'/>
<id>urn:sha1:8225548ebf2675ce79910d8e59e8aaae9e4cbf9e</id>
<content type='text'>
from the sparc64 subtree, which breaks building non-sparc64 platforms
in the event the sparc64 subtree does not exist.
The problem is specific to the module, because non-module builds are
affected by the presence or absence of "device ebus" in the kernel
configuration.

PR: kern/56869
</content>
</entry>
<entry>
<title>Sort: build uart_bus_pccard.c before uart_bus_pci.c.</title>
<updated>2003-09-15T04:53:11Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2003-09-15T04:53:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=991e61c93431514383df8e1cf7df3b677c25e7b7'/>
<id>urn:sha1:991e61c93431514383df8e1cf7df3b677c25e7b7</id>
<content type='text'>
</content>
</entry>
</feed>
