<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in ppc_puc.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>0fc6c3f731a2cca3120798806c330a3081c9424b - chore: replace {0, 0} with {DEV,KOBJ}METHOD_END</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#0fc6c3f731a2cca3120798806c330a3081c9424b</link>
        <description>chore: replace {0, 0} with {DEV,KOBJ}METHOD_ENDBoth of the aforementioned macros have been present in FreeBSDfor well over a decade: 2009 for `KOBJMETHOD_END`; 2011 for`DEVMETHOD_END`.Adapt all hardcoded references of `{0, 0}` with `DEVMETHOD_END`and `KOBJMETHOD_END` as appropriate. This helps ensure thatfuture adaptations to drivers following patterns documentedin driver(9) can be made more easily/without issue.MFC after:	1 weekDifferential Revision:	 https://reviews.freebsd.org/D55414

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Sat, 21 Feb 2026 07:14:46 +0100</pubDate>
        <dc:creator>Enji Cooper &lt;ngie@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>fdafd315ad0d0f28a11b9fb4476a9ab059c62b92 - sys: Automated cleanup of cdefs and other formatting</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#fdafd315ad0d0f28a11b9fb4476a9ab059c62b92</link>
        <description>sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+&lt;sys/cdefs.h&gt;.*\n/Remove /\n+#include\s+&lt;sys/cdefs.h&gt;.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+&lt;sys/cdefs.h&gt;\n#include\s+&lt;sys/types.h&gt;/Remove /\n+#include\s+&lt;sys/cdefs.h&gt;\n#include\s+&lt;sys/param.h&gt;/Remove /\n+#include\s+&lt;sys/cdefs.h&gt;\n#include\s+&lt;sys/capsicum.h&gt;/Sponsored by:		Netflix

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Fri, 24 Nov 2023 21:12:57 +0100</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>685dc743dc3b5645e34836464128e1c0558b404b - sys: Remove $FreeBSD$: one-line .c pattern</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#685dc743dc3b5645e34836464128e1c0558b404b</link>
        <description>sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\(&quot;\$FreeBSD\$&quot;\);?\s*\n/

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Wed, 16 Aug 2023 19:54:36 +0200</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>4d846d260e2b9a3d4d0a701462568268cbfe7a5b - spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#4d846d260e2b9a3d4d0a701462568268cbfe7a5b</link>
        <description>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with:		pfgMFC After:		3 daysSponsored by:		Netflix

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Wed, 10 May 2023 17:40:58 +0200</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>6d5880906ecc768646ba7b0cbaba4babc27a44d8 - ppbus/ppc: Remove unused devclass arguments to DRIVER_MODULE.</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#6d5880906ecc768646ba7b0cbaba4babc27a44d8</link>
        <description>ppbus/ppc: Remove unused devclass arguments to DRIVER_MODULE.

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Sat, 07 May 2022 00:46:55 +0200</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>6ba56517e294926c033aeb05e5b9ebacd032600f - ppc: clean up empty lines in .c and .h files</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#6ba56517e294926c033aeb05e5b9ebacd032600f</link>
        <description>ppc: clean up empty lines in .c and .h files

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Tue, 01 Sep 2020 23:58:56 +0200</pubDate>
        <dc:creator>Mateusz Guzik &lt;mjg@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>718cf2ccb9956613756ab15d7a0e28f2c8e91cab - sys/dev: further adoption of SPDX licensing ID tags.</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#718cf2ccb9956613756ab15d7a0e28f2c8e91cab</link>
        <description>sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Mon, 27 Nov 2017 15:52:40 +0100</pubDate>
        <dc:creator>Pedro F. Giffuni &lt;pfg@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7d4b968b0fa6afc6bca132c27e2041c979ee6101 - Merge from head up to r188941 (last revision before the USB stack switch)</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#7d4b968b0fa6afc6bca132c27e2041c979ee6101</link>
        <description>Merge from head up to r188941 (last revision before the USB stack switch)

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Thu, 17 Sep 2009 15:31:39 +0200</pubDate>
        <dc:creator>Dag-Erling Sm&#248;rgrav &lt;des@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>1829d5da5355930d5cfa8ec8add8ff47dc0bebab - Update the projects tree to a newer FreeBSD current.</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#1829d5da5355930d5cfa8ec8add8ff47dc0bebab</link>
        <description>Update the projects tree to a newer FreeBSD current.

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Thu, 12 Mar 2009 10:56:15 +0100</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>2067d312d40c5e179c240a796d047fe4c8e276ee - Add locking to ppc and ppbus and mark the whole lot MPSAFE:</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#2067d312d40c5e179c240a796d047fe4c8e276ee</link>
        <description>Add locking to ppc and ppbus and mark the whole lot MPSAFE:- To avoid having a bunch of locks that end up always getting acquired as  a group, give each ppc(4) device a mutex which it shares with all the  child devices including ppbus(4), lpt(4), plip(4), etc.  This mutex  is then used for all the locking.- Rework the interrupt handling stuff yet again.  Now ppbus drivers setup  their interrupt handler during attach and tear it down during detach  like most other drivers.  ppbus(4) only invokes the interrupt handler  of the device that currently owns the bus (if any) when an interrupt  occurs, however.  Also, interrupt handlers in general now accept their  softc pointers as their argument rather than the device_t.  Another  feature of the ppbus interrupt handlers is that they are called with  the parent ppc device&apos;s lock already held.  This minimizes the number  of lock operations during an interrupt.- Mark plip(4), lpt(4), pcfclock(4), ppi(4), vpo(4) MPSAFE.- lpbb(4) uses the ppc lock instead of Giant.- Other plip(4) changes:  - Add a mutex to protect the global tables in plip(4) and free them on    module unload.  - Add a detach routine.  - Split out the init/stop code from the ioctl routine into separate    functions.- Other lpt(4) changes:  - Use device_printf().  - Use a dedicated callout for the lptout timer.  - Allocate the I/O buffers at attach and detach rather than during    open and close as this simplifies the locking at the cost of    1024+32 bytes when the driver is attached.- Other ppi(4) changes:  - Use an sx lock to serialize open and close.  - Remove unused HADBUS flag.  - Add a detach routine.  - Use a malloc&apos;d buffer for each read and write to avoid races with    concurrent read/write.- Other pps(4) changes:  - Use a callout rather than a callout handle with timeout().  - Conform to the new ppbus requirements (regular mutex, non-filter    interrupt handler).  pps(4) is probably going to have to become a    standalone driver that doesn&apos;t use ppbus(4) to satisfy it&apos;s    requirements for low latency as a result.  - Use an sx lock to serialize open and close.- Other vpo(4) changes:  - Use the parent ppc device&apos;s lock to create the CAM sim instead of    Giant.- Other ppc(4) changes:  - Fix ppc_isa&apos;s detach method to detach instead of calling attach.Tested by:	  no one :-(

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Thu, 22 Jan 2009 00:10:06 +0100</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ca3d37955c7c41e64a80c97b3f1c1fa4e9ff4897 - Rework the handling of interrupt handlers for children of ppc and ppbus:</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#ca3d37955c7c41e64a80c97b3f1c1fa4e9ff4897</link>
        <description>Rework the handling of interrupt handlers for children of ppc and ppbus:- Retire IVARs for passing IRQs around.  Instead, ppbus and ppc now allow  child devices to access the interrupt by via a rid 0 IRQ resource  using bus_alloc_resource_any().- ppc creates its own interrupt event to manage the interrupt handlers of  child devices.  ppc does not allow child devices to use filters.  It  could allow this if needed, but none of the current drivers use them  and it adds a good bit of complication.  It uses  intr_event_execute_handlers() to fire the child device interrupt handlers  from its threaded interrupt handler.- Remove the ppbus_dummy_intr() hack.  Now the ppc device always has an  interrupt handler registered and we no longer bounce all the way up to  nexus to manage adding/removing ppbus child interrupt handlers.  Instead,  the child handlers are added and removed to the private interrupt event  in the ppc device.

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Tue, 16 Sep 2008 00:26:32 +0200</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>64220a7e28f7124b98734c60dbd17a13a3e22822 - Rewrite of puc(4). Significant changes are:</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#64220a7e28f7124b98734c60dbd17a13a3e22822</link>
        <description>Rewrite of puc(4). Significant changes are:o  Properly use rman(9) to manage resources. This eliminates the   need to puc-specific hacks to rman. It also allows devinfo(8)   to be used to find out the specific assignment of resources to   serial/parallel ports.o  Compress the PCI device &quot;database&quot; by optimizing for the common   case and to use a procedural interface to handle the exceptions.   The procedural interface also generalizes the need to setup the   hardware (program chipsets, program clock frequencies).o  Eliminate the need for PUC_FASTINTR. Serdev devices are fast by   default and non-serdev devices are handled by the bus.o  Use the serdev I/F to collect interrupt status and to handle   interrupts across ports in priority order.o  Sync the PCI device configuration to include devices found in   NetBSD and not yet merged to FreeBSD.o  Add support for Quatech 2, 4 and 8 port UARTs.o  Add support for a couple dozen Timedia serial cards as found   in Linux.

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Fri, 28 Apr 2006 23:21:53 +0200</pubDate>
        <dc:creator>Marcel Moolenaar &lt;marcel@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>df5fea7cad645fae5be20f01d77e303eca712b75 - o  Use __FBSDID</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#df5fea7cad645fae5be20f01d77e303eca712b75</link>
        <description>o  Use __FBSDIDo  Whitespace fixeso  Non-K&amp;R functions

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Wed, 26 Apr 2006 23:25:13 +0200</pubDate>
        <dc:creator>Marcel Moolenaar &lt;marcel@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>cea4d8752f992568969c4078c519f0fdc94fe819 - o  Move ISA specific code from ppc.c to ppc_isa.c -- a bus front-</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#cea4d8752f992568969c4078c519f0fdc94fe819</link>
        <description>o  Move ISA specific code from ppc.c to ppc_isa.c -- a bus front-   end for isa(4).o  Add a seperate bus frontend for acpi(4) and allow ISA DMA for   it when ISA is configured in the kernel. This allows acpi(4)   attachments in non-ISA configurations, as is possible for ia64.o  Add a seperate bus frontend for pci(4) and detect known single   port parallel cards.o  Merge PC98 specific changes under pc98/cbus into the MI driver.   The changes are minor enough for conditional compilation and   in this form invites better abstraction.o  Have ppc(4) usabled on all platforms, now that ISA specifics   are untangled enough.

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Tue, 25 Apr 2006 01:31:51 +0200</pubDate>
        <dc:creator>Marcel Moolenaar &lt;marcel@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>fe12f24bb098d8d2a6c35394a53a65b3e64f83d9 - Add missing &lt;sys/module.h&gt; includes</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#fe12f24bb098d8d2a6c35394a53a65b3e64f83d9</link>
        <description>Add missing &lt;sys/module.h&gt; includes

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Sun, 30 May 2004 22:08:47 +0200</pubDate>
        <dc:creator>Poul-Henning Kamp &lt;phk@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>a373227418c10d9007f3ad85bde5cfa4add1001d - Add printer support to puc(4) driver.</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#a373227418c10d9007f3ad85bde5cfa4add1001d</link>
        <description>Add printer support to puc(4) driver.      -	Move isa/ppc* to sys/dev/ppc (repo-copy)      -	Add an attachment method to ppc for puc      -	In puc we need to walk the chain of parents.Still to do, is to make ppc(4) &amp; puc(4) work on other platforms.  Testerswanted.PR:		38372 (in spirit done differently)Verified by:	Make universe (if I messed up a platform please fix)

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Fri, 01 Aug 2003 04:25:32 +0200</pubDate>
        <dc:creator>Doug Ambrisko &lt;ambrisko@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>1829d5da5355930d5cfa8ec8add8ff47dc0bebab - Update the projects tree to a newer FreeBSD current.</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#1829d5da5355930d5cfa8ec8add8ff47dc0bebab</link>
        <description>Update the projects tree to a newer FreeBSD current.

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Thu, 12 Mar 2009 10:56:15 +0100</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>2067d312d40c5e179c240a796d047fe4c8e276ee - Add locking to ppc and ppbus and mark the whole lot MPSAFE:</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#2067d312d40c5e179c240a796d047fe4c8e276ee</link>
        <description>Add locking to ppc and ppbus and mark the whole lot MPSAFE:- To avoid having a bunch of locks that end up always getting acquired as  a group, give each ppc(4) device a mutex which it shares with all the  child devices including ppbus(4), lpt(4), plip(4), etc.  This mutex  is then used for all the locking.- Rework the interrupt handling stuff yet again.  Now ppbus drivers setup  their interrupt handler during attach and tear it down during detach  like most other drivers.  ppbus(4) only invokes the interrupt handler  of the device that currently owns the bus (if any) when an interrupt  occurs, however.  Also, interrupt handlers in general now accept their  softc pointers as their argument rather than the device_t.  Another  feature of the ppbus interrupt handlers is that they are called with  the parent ppc device&apos;s lock already held.  This minimizes the number  of lock operations during an interrupt.- Mark plip(4), lpt(4), pcfclock(4), ppi(4), vpo(4) MPSAFE.- lpbb(4) uses the ppc lock instead of Giant.- Other plip(4) changes:  - Add a mutex to protect the global tables in plip(4) and free them on    module unload.  - Add a detach routine.  - Split out the init/stop code from the ioctl routine into separate    functions.- Other lpt(4) changes:  - Use device_printf().  - Use a dedicated callout for the lptout timer.  - Allocate the I/O buffers at attach and detach rather than during    open and close as this simplifies the locking at the cost of    1024+32 bytes when the driver is attached.- Other ppi(4) changes:  - Use an sx lock to serialize open and close.  - Remove unused HADBUS flag.  - Add a detach routine.  - Use a malloc&apos;d buffer for each read and write to avoid races with    concurrent read/write.- Other pps(4) changes:  - Use a callout rather than a callout handle with timeout().  - Conform to the new ppbus requirements (regular mutex, non-filter    interrupt handler).  pps(4) is probably going to have to become a    standalone driver that doesn&apos;t use ppbus(4) to satisfy it&apos;s    requirements for low latency as a result.  - Use an sx lock to serialize open and close.- Other vpo(4) changes:  - Use the parent ppc device&apos;s lock to create the CAM sim instead of    Giant.- Other ppc(4) changes:  - Fix ppc_isa&apos;s detach method to detach instead of calling attach.Tested by:	  no one :-(

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Thu, 22 Jan 2009 00:10:06 +0100</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ca3d37955c7c41e64a80c97b3f1c1fa4e9ff4897 - Rework the handling of interrupt handlers for children of ppc and ppbus:</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#ca3d37955c7c41e64a80c97b3f1c1fa4e9ff4897</link>
        <description>Rework the handling of interrupt handlers for children of ppc and ppbus:- Retire IVARs for passing IRQs around.  Instead, ppbus and ppc now allow  child devices to access the interrupt by via a rid 0 IRQ resource  using bus_alloc_resource_any().- ppc creates its own interrupt event to manage the interrupt handlers of  child devices.  ppc does not allow child devices to use filters.  It  could allow this if needed, but none of the current drivers use them  and it adds a good bit of complication.  It uses  intr_event_execute_handlers() to fire the child device interrupt handlers  from its threaded interrupt handler.- Remove the ppbus_dummy_intr() hack.  Now the ppc device always has an  interrupt handler registered and we no longer bounce all the way up to  nexus to manage adding/removing ppbus child interrupt handlers.  Instead,  the child handlers are added and removed to the private interrupt event  in the ppc device.

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Tue, 16 Sep 2008 00:26:32 +0200</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>64220a7e28f7124b98734c60dbd17a13a3e22822 - Rewrite of puc(4). Significant changes are:</title>
        <link>http://kernelsources.org:8080/source/history/freebsd/sys/dev/ppc/ppc_puc.c#64220a7e28f7124b98734c60dbd17a13a3e22822</link>
        <description>Rewrite of puc(4). Significant changes are:o  Properly use rman(9) to manage resources. This eliminates the   need to puc-specific hacks to rman. It also allows devinfo(8)   to be used to find out the specific assignment of resources to   serial/parallel ports.o  Compress the PCI device &quot;database&quot; by optimizing for the common   case and to use a procedural interface to handle the exceptions.   The procedural interface also generalizes the need to setup the   hardware (program chipsets, program clock frequencies).o  Eliminate the need for PUC_FASTINTR. Serdev devices are fast by   default and non-serdev devices are handled by the bus.o  Use the serdev I/F to collect interrupt status and to handle   interrupts across ports in priority order.o  Sync the PCI device configuration to include devices found in   NetBSD and not yet merged to FreeBSD.o  Add support for Quatech 2, 4 and 8 port UARTs.o  Add support for a couple dozen Timedia serial cards as found   in Linux.

            List of files:
            /freebsd/sys/dev/ppc/ppc_puc.c</description>
        <pubDate>Fri, 28 Apr 2006 23:21:53 +0200</pubDate>
        <dc:creator>Marcel Moolenaar &lt;marcel@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
