<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/bktr, branch release/8.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2010-04-14T16:37:34Z</updated>
<entry>
<title>MFC revision 205781:</title>
<updated>2010-04-14T16:37:34Z</updated>
<author>
<name>Justin T. Gibbs</name>
<email>gibbs@FreeBSD.org</email>
</author>
<published>2010-04-14T16:37:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=88b4fd072e733c753a689f6c0277a2bfe6331dc0'/>
<id>urn:sha1:88b4fd072e733c753a689f6c0277a2bfe6331dc0</id>
<content type='text'>
Use standard types in preference to BSD types so that these header files
can be used in applications compiled with only POSIX types visible.
</content>
</entry>
<entry>
<title>MFC a number of changes from head for ISP (203478,203463,203444,202418,201758,</title>
<updated>2010-02-11T18:34:06Z</updated>
<author>
<name>Matt Jacob</name>
<email>mjacob@FreeBSD.org</email>
</author>
<published>2010-02-11T18:34:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7733cf8fffadd4b286f7ed03e7748ee70e36433d'/>
<id>urn:sha1:7733cf8fffadd4b286f7ed03e7748ee70e36433d</id>
<content type='text'>
201408,201325,200089,198822,197373,197372,197214,196162). Since one of those
changes was a semicolon cleanup from somebody else, this touches a lot more.
</content>
</entry>
<entry>
<title>MFC 196403: Temporarily revert the new-bus locking for 8.0 release.</title>
<updated>2009-08-20T20:23:28Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2009-08-20T20:23:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=247db0748a75747673b753a6af3e2c39dfae88ed'/>
<id>urn:sha1:247db0748a75747673b753a6af3e2c39dfae88ed</id>
<content type='text'>
Approved by:	re (kib)
</content>
</entry>
<entry>
<title>Make the newbus subsystem Giant free by adding the new newbus sxlock.</title>
<updated>2009-08-02T14:28:40Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2009-08-02T14:28:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=444b91868b5294e3a2151fffa3b063763a562448'/>
<id>urn:sha1:444b91868b5294e3a2151fffa3b063763a562448</id>
<content type='text'>
The newbus lock is responsible for protecting newbus internIal structures,
device states and devclass flags. It is necessary to hold it when all
such datas are accessed. For the other operations, softc locking should
ensure enough protection to avoid races.

Newbus lock is automatically held when virtual operations on the device
and bus are invoked when loading the driver or when the suspend/resume
take place. For other 'spourious' operations trying to access/modify
the newbus topology, newbus lock needs to be automatically acquired and
dropped.

For the moment Giant is also acquired in some key point (modules subsystem)
in order to avoid problems before the 8.0 release as module handlers could
make assumptions about it. This Giant locking should go just after
the release happens.

Please keep in mind that the public interface can be expanded in order
to provide more support, if there are really necessities at some point
and also some bugs could arise as long as the patch needs a bit of
further testing.

Bump __FreeBSD_version in order to reflect the newbus lock introduction.

Reviewed by:    ed, hps, jhb, imp, mav, scottl
No answer by:   ariff, thompsa, yongari
Tested by:      pho,
                G. Trematerra &lt;giovanni dot trematerra at gmail dot com&gt;,
                Brandon Gooch &lt;jamesbrandongooch at gmail dot com&gt;
Sponsored by:   Yahoo! Incorporated
Approved by:	re (ksmith)
</content>
</entry>
<entry>
<title>Unbreak bktr(4).</title>
<updated>2009-05-26T12:01:37Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-05-26T12:01:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=927a7c4ffb14a23dfbcc22d401ad48dd335beb1a'/>
<id>urn:sha1:927a7c4ffb14a23dfbcc22d401ad48dd335beb1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Free the memory correctly in the error case</title>
<updated>2009-05-26T03:56:56Z</updated>
<author>
<name>Benjamin Close</name>
<email>benjsc@FreeBSD.org</email>
</author>
<published>2009-05-26T03:56:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=92e839c63879eb220347f51b9a1abb2e56fa9e5f'/>
<id>urn:sha1:92e839c63879eb220347f51b9a1abb2e56fa9e5f</id>
<content type='text'>
Submitted by:	frtzkatz at yahoo.com
Approved by:	sam
MFC after:	1 month
</content>
</entry>
<entry>
<title>Replace all calls to minor() with dev2unit().</title>
<updated>2008-09-27T08:51:18Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-09-27T08:51:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6bfa9a2d66dd0e00182017d6741d44e54d0b2cca'/>
<id>urn:sha1:6bfa9a2d66dd0e00182017d6741d44e54d0b2cca</id>
<content type='text'>
After I removed all the unit2minor()/minor2unit() calls from the kernel
yesterday, I realised calling minor() everywhere is quite confusing.
Character devices now only have the ability to store a unit number, not
a minor number. Remove the confusion by using dev2unit() everywhere.

This commit could also be considered as a bug fix. A lot of drivers call
minor(), while they should actually be calling dev2unit(). In -CURRENT
this isn't a problem, but it turns out we never had any problem reports
related to that issue in the past. I suspect not many people connect
more than 256 pieces of the same hardware.

Reviewed by:	kib
</content>
</entry>
<entry>
<title>Add locking to the various iicbus(4) bridge drivers:</title>
<updated>2008-08-04T20:46:15Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2008-08-04T20:46:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=13e3657b7b30a7605e51c19d8341b2fbbf1bdfee'/>
<id>urn:sha1:13e3657b7b30a7605e51c19d8341b2fbbf1bdfee</id>
<content type='text'>
- Just grab Giant in the ixp425_iic(4) driver since this driver uses
  a shared address/data register window pair to access the actual
  I2C registers.  None of the other ixp425 drivers lock access to these
  shared address/data registers yet and that would need to be done before
  this could use any meaningful locking.
- Add locking to the interrupt handler and 'iicbus_reset' methods of the
  at91_twi(4) driver.
- Add locking to the pcf(4) driver.  Other pcf(4) fixes include:
  - Don't needlessly zero the softc.
  - Use bus_foo rather than bus_space_foo and remove bus space tag and
    handle from softc.
- The lpbb(4) driver just grabs Giant for now.  This will be refined later
  when ppbus(4) is locked.
- As was done with smbus earlier, move the DRIVER_MODULE() lines to match
  the bus driver (either iicbus or iicbb) to the bridge driver into the
  bridge drivers.

Tested by:	sam (arm/ixp425)
</content>
</entry>
<entry>
<title>Explicitly lock Giant in smbus_if methods in the bktr_i2c and iicsmb</title>
<updated>2008-06-06T18:40:38Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2008-06-06T18:40:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0df8f0815a0fd9d96dc4bb6fbf46b9868cff4d62'/>
<id>urn:sha1:0df8f0815a0fd9d96dc4bb6fbf46b9868cff4d62</id>
<content type='text'>
drivers for now.  This can be replaced with driver locks when these
drivers are locked.
</content>
</entry>
<entry>
<title>Rename the kthread_xxx (e.g. kthread_create()) calls</title>
<updated>2007-10-20T23:23:23Z</updated>
<author>
<name>Julian Elischer</name>
<email>julian@FreeBSD.org</email>
</author>
<published>2007-10-20T23:23:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3745c395ecae17ef47be82433463d561629220b0'/>
<id>urn:sha1:3745c395ecae17ef47be82433463d561629220b0</id>
<content type='text'>
to kproc_xxx as they actually make whole processes.
Thos makes way for us to add REAL kthread_create() and friends
that actually make theads. it turns out that most of these
calls actually end up being moved back to the thread version
when it's added. but we need to make this cosmetic change first.

I'd LOVE to do this rename in 7.0  so that we can eventually MFC the
new kthread_xxx() calls.
</content>
</entry>
</feed>
