<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/ppc, branch release/10.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F10.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F10.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2013-02-21T12:40:52Z</updated>
<entry>
<title>Fix build.</title>
<updated>2013-02-21T12:40:52Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2013-02-21T12:40:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d0741ed4c3030d4eeaed706ee31321743d2ec70c'/>
<id>urn:sha1:d0741ed4c3030d4eeaed706ee31321743d2ec70c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace splhigh() with critical_enter()/leave() to ensure we write the</title>
<updated>2013-02-21T00:27:51Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2013-02-21T00:27:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1eb7e5fe859d466fb67255b868647cea41bbc28d'/>
<id>urn:sha1:1eb7e5fe859d466fb67255b868647cea41bbc28d</id>
<content type='text'>
config mode unlock sequence quickly enough. This likely isn't too critical,
since splhigh() has been a noop for a decade...
</content>
</entry>
<entry>
<title>No longer need splhigh() since locking was done, delete it and</title>
<updated>2013-02-21T00:26:31Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2013-02-21T00:26:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=37270a177d8c215612973ae21f1bee31c6c3711c'/>
<id>urn:sha1:37270a177d8c215612973ae21f1bee31c6c3711c</id>
<content type='text'>
comments about it.
</content>
</entry>
<entry>
<title>Rename device_delete_all_children() into device_delete_children().</title>
<updated>2011-11-22T21:56:55Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2011-11-22T21:56:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3b12bdb58f3ab1b077e536cd72894cbe3e56dff5'/>
<id>urn:sha1:3b12bdb58f3ab1b077e536cd72894cbe3e56dff5</id>
<content type='text'>
Suggested by:	jhb @ and marius @
MFC after:	1 week
</content>
</entry>
<entry>
<title>Move the device_delete_all_children() function from usb_util.c</title>
<updated>2011-11-19T10:11:50Z</updated>
<author>
<name>Hans Petter Selasky</name>
<email>hselasky@FreeBSD.org</email>
</author>
<published>2011-11-19T10:11:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=11bcf702f4200a351f06b549e14bc9ea4fc76dcc'/>
<id>urn:sha1:11bcf702f4200a351f06b549e14bc9ea4fc76dcc</id>
<content type='text'>
to kern/subr_bus.c. Simplify this function so that it no longer
depends on malloc() to execute. Identify a few other places where
it makes sense to use device_delete_all_children().

MFC after:	1 week
</content>
</entry>
<entry>
<title>- Add support for MosChip 9865 Single 1284 Printer port</title>
<updated>2011-02-19T17:38:51Z</updated>
<author>
<name>Martin Wilke</name>
<email>miwi@FreeBSD.org</email>
</author>
<published>2011-02-19T17:38:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c7fd2483c5aea167c28b10e1c3cccc8d0baf7ac3'/>
<id>urn:sha1:c7fd2483c5aea167c28b10e1c3cccc8d0baf7ac3</id>
<content type='text'>
PR:		kern/152663
Submitted by:	Jonathan Chen &lt;jonc@chen.org.nz&gt;
Approved by:	rwatson (mentor)
</content>
</entry>
<entry>
<title>Add PCI ID for MCS9901's parallel port.</title>
<updated>2010-03-23T20:08:18Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2010-03-23T20:08:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1fc13a00e8ebd55aace2536a7495b980e6481539'/>
<id>urn:sha1:1fc13a00e8ebd55aace2536a7495b980e6481539</id>
<content type='text'>
PR:		kern/144713
Submitted by:	gcooper
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Added entries for Lava SP-PCI (1 serial + 1 parallel) PCI card. The</title>
<updated>2009-02-11T00:08:03Z</updated>
<author>
<name>Kai Wang</name>
<email>kaiw@FreeBSD.org</email>
</author>
<published>2009-02-11T00:08:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=64fc5491dbb134f117eaef3a2509a337ba3d5d10'/>
<id>urn:sha1:64fc5491dbb134f117eaef3a2509a337ba3d5d10</id>
<content type='text'>
card is a multifunction PCI and report itself as two logical devices.
</content>
</entry>
<entry>
<title>reset_epp and ecp_sync both return int.</title>
<updated>2009-02-05T19:31:55Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2009-02-05T19:31:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3fd8527379e21cda1c73c0987e629e4912c761a0'/>
<id>urn:sha1:3fd8527379e21cda1c73c0987e629e4912c761a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add locking to ppc and ppbus and mark the whole lot MPSAFE:</title>
<updated>2009-01-21T23:10:06Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2009-01-21T23:10:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2067d312d40c5e179c240a796d047fe4c8e276ee'/>
<id>urn:sha1:2067d312d40c5e179c240a796d047fe4c8e276ee</id>
<content type='text'>
- 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'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'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't use ppbus(4) to satisfy it'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's lock to create the CAM sim instead of
    Giant.
- Other ppc(4) changes:
  - Fix ppc_isa's detach method to detach instead of calling attach.

Tested by:	  no one :-(
</content>
</entry>
</feed>
