<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/uart/uart_bus_ebus.c, branch releng/6.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC: src/sys/dev/puc/puc_ebus.c 1.6, sys/dev/uart/uart_bus_ebus.c 1.9,</title>
<updated>2006-02-15T09:16:01+00:00</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2006-02-15T09:16:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0992935d03f77ee8dc5a797d3453ceecfb222ca7'/>
<id>0992935d03f77ee8dc5a797d3453ceecfb222ca7</id>
<content type='text'>
     sys/dev/uart/uart_cpu_sparc64.c 1.20, 1.22

- Add support for using LOM (Lights Out Management) and RSC (Remote System
  Control) devices as console.
- Add my copyright to uart_cpu_sparc64.c.
- Recognize the SAB82532 in USIII machines. This is MFC'ed for consistency
  as one part of the original commit, sys/dev/uart/uart_bus_ebus.c rev. 1.7,
  was already MFC'ed to RELENG_6 (in rev. 1.6.2.2).

Approved by:	re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
     sys/dev/uart/uart_cpu_sparc64.c 1.20, 1.22

- Add support for using LOM (Lights Out Management) and RSC (Remote System
  Control) devices as console.
- Add my copyright to uart_cpu_sparc64.c.
- Recognize the SAB82532 in USIII machines. This is MFC'ed for consistency
  as one part of the original commit, sys/dev/uart/uart_bus_ebus.c rev. 1.7,
  was already MFC'ed to RELENG_6 (in rev. 1.6.2.2).

Approved by:	re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert the hack introduced in rev. 1.6.2.1, a fix/workaround for the</title>
<updated>2006-01-23T16:32:29+00:00</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2006-01-23T16:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bcfc648997f46f2ef517e9d8d0f57e5d50fc9253'/>
<id>bcfc648997f46f2ef517e9d8d0f57e5d50fc9253</id>
<content type='text'>
underlying problem was committed in sys/sparc64/pci/psycho.c 1.55 and
MFC'ed to RELENG_6 in 1.53.2.1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
underlying problem was committed in sys/sparc64/pci/psycho.c 1.55 and
MFC'ed to RELENG_6 in 1.53.2.1.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC:	uart_bus_ebus.c:1.8</title>
<updated>2005-11-05T19:04:08+00:00</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2005-11-05T19:04:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3b7ad37cf77623c7b0f0609092ebbbabff9fb761'/>
<id>3b7ad37cf77623c7b0f0609092ebbbabff9fb761</id>
<content type='text'>
	uart_core:1.14

Have uart_bus_probe() return BUS_PROBE_DEFAULT when the probe is
successful.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	uart_core:1.14

Have uart_bus_probe() return BUS_PROBE_DEFAULT when the probe is
successful.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC rev 1.7: Recognize the SAB82532 in USIII machines (marius@)</title>
<updated>2005-11-05T18:06:43+00:00</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2005-11-05T18:06:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cae4b55faef1ec76c8b407a6b5c70d598dd344f9'/>
<id>cae4b55faef1ec76c8b407a6b5c70d598dd344f9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Temporary hack to get the hme network interface on Sun E250 servers to</title>
<updated>2005-10-27T20:55:29+00:00</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2005-10-27T20:55:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cf6460095d781e8235d1024c995a04841c24cfeb'/>
<id>cf6460095d781e8235d1024c995a04841c24cfeb</id>
<content type='text'>
work.  The code comment describes the issue, basically an as yet not
totally understood interrupt routing problem.  This hack is being done
to RELENG_6 so that the hme interface works on E250's for the release,
but is not being done in HEAD so more work on the interrupt routing
issue can be done.

Requested by:   marius
Approved by:    re (scottl)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
work.  The code comment describes the issue, basically an as yet not
totally understood interrupt routing problem.  This hack is being done
to RELENG_6 so that the hme interface works on E250's for the release,
but is not being done in HEAD so more work on the interrupt routing
issue can be done.

Requested by:   marius
Approved by:    re (scottl)
</pre>
</div>
</content>
</entry>
<entry>
<title>On AXi and AXmp boards the NS16550 (used to connect keyboard and mouse)</title>
<updated>2005-06-04T21:52:56+00:00</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2005-06-04T21:52:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=852962d3c5fec2c149e0d58edc8345f1148afeff'/>
<id>852962d3c5fec2c149e0d58edc8345f1148afeff</id>
<content type='text'>
share their IRQ lines with the i8042. Any IRQ activity (typically during
attach) on the NS16550 used to connect the keyboard when actually the
PS/2 keyboard is selected in OFW causes interaction with the OBP i8042
driver resulting in a hang (and vice versa). As RS232 keyboards and mice
obviously aren't meant to be used in parallel with PS/2 ones on these
boards don't attach to these NS16550 in case the RS232 keyboard isn't
selected in order to prevent such hangs.

Ok'ed by:	marcel
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
share their IRQ lines with the i8042. Any IRQ activity (typically during
attach) on the NS16550 used to connect the keyboard when actually the
PS/2 keyboard is selected in OFW causes interaction with the OBP i8042
driver resulting in a hang (and vice versa). As RS232 keyboards and mice
obviously aren't meant to be used in parallel with PS/2 ones on these
boards don't attach to these NS16550 in case the RS232 keyboard isn't
selected in order to prevent such hangs.

Ok'ed by:	marcel
</pre>
</div>
</content>
</entry>
<entry>
<title>- Introduce an ofw_bus kobj-interface for retrieving the OFW node and a</title>
<updated>2004-08-12T17:41:33+00:00</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2004-08-12T17:41:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=26280d88d76716790cf28f23fdb0bda56533e9b6'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  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
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing &lt;sys/module.h&gt; includes currently relying on nested include</title>
<updated>2004-06-03T06:10:02+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-06-03T06:10:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=186f2b9e0480ba64e851d4ebcba9d899aadd7499'/>
<id>186f2b9e0480ba64e851d4ebcba9d899aadd7499</id>
<content type='text'>
in &lt;sys/kernel.h&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in &lt;sys/kernel.h&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>In uart_ebus_probe(), match "su_pnp" besides "su" for ns8250 family</title>
<updated>2004-04-03T23:02:02+00:00</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2004-04-03T23:02:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e5a88925de66e591a2a56f2ae83a71e0fb46c7c3'/>
<id>e5a88925de66e591a2a56f2ae83a71e0fb46c7c3</id>
<content type='text'>
of UARTs. We already did this in uart_cpu_getdev().
While here, also check the compat name for "su" or "su16550".

Both changes submitted by: Marius Strobl &lt;marius@alchemy.franken.de&gt;
Does not doubt the correctness of the second change: marcel
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
of UARTs. We already did this in uart_cpu_getdev().
While here, also check the compat name for "su" or "su16550".

Both changes submitted by: Marius Strobl &lt;marius@alchemy.franken.de&gt;
Does not doubt the correctness of the second change: marcel
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert the introduction of iobase in struct uart_bas. Both the SAB82532</title>
<updated>2003-09-26T05:14:56+00:00</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2003-09-26T05:14:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=875f70dba4ac5331af98ce31da9e3f02bdf2af21'/>
<id>875f70dba4ac5331af98ce31da9e3f02bdf2af21</id>
<content type='text'>
and the Z8530 drivers used the I/O address as a quick and dirty way to
determine which channel they operated on, but formalizing this by
introducing iobase is not a solution. How for example would a driver
know which channel it controls for a multi-channel UART that only has a
single I/O range?

Instead, add an explicit field, called chan, to struct uart_bas that
holds the channel within a device, or 0 otherwise. The chan field is
initialized both by the system device probing (i.e. a system console)
or it is passed down to uart_bus_probe() by any of the bus front-ends.
As such, it impacts all platforms and bus drivers and makes it a rather
large commit.

Remove the use of iobase in uart_cpu_eqres() for pc98. It is expected
that platforms have the capability to compare tag and handle pairs for
equality; as to determine whether two pairs access the same device or
not. The use of iobase for pc98 makes it impossible to formalize this
and turn it into a real newbus function later. This commit reverts
uart_cpu_eqres() for pc98 to an unimplemented function. It has to be
reimplemented using only the tag and handle fields in struct uart_bas.

Rewrite the SAB82532 and Z8530 drivers to use the chan field in struct
uart_bas. Remove the IS_CHANNEL_A and IS_CHANNEL_B macros. We don't
need to abstract anything anymore.

Discussed with: nyan
Tested on: i386, ia64, sparc64
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and the Z8530 drivers used the I/O address as a quick and dirty way to
determine which channel they operated on, but formalizing this by
introducing iobase is not a solution. How for example would a driver
know which channel it controls for a multi-channel UART that only has a
single I/O range?

Instead, add an explicit field, called chan, to struct uart_bas that
holds the channel within a device, or 0 otherwise. The chan field is
initialized both by the system device probing (i.e. a system console)
or it is passed down to uart_bus_probe() by any of the bus front-ends.
As such, it impacts all platforms and bus drivers and makes it a rather
large commit.

Remove the use of iobase in uart_cpu_eqres() for pc98. It is expected
that platforms have the capability to compare tag and handle pairs for
equality; as to determine whether two pairs access the same device or
not. The use of iobase for pc98 makes it impossible to formalize this
and turn it into a real newbus function later. This commit reverts
uart_cpu_eqres() for pc98 to an unimplemented function. It has to be
reimplemented using only the tag and handle fields in struct uart_bas.

Rewrite the SAB82532 and Z8530 drivers to use the chan field in struct
uart_bas. Remove the IS_CHANNEL_A and IS_CHANNEL_B macros. We don't
need to abstract anything anymore.

Discussed with: nyan
Tested on: i386, ia64, sparc64
</pre>
</div>
</content>
</entry>
</feed>
