<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/rp, branch release/9.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2013-08-15T12:19:16Z</updated>
<entry>
<title> Merge r254306:</title>
<updated>2013-08-15T12:19:16Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2013-08-15T12:19:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=63e0f0f0c230505454bb02922661c407e1b437aa'/>
<id>urn:sha1:63e0f0f0c230505454bb02922661c407e1b437aa</id>
<content type='text'>
 Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI
 command register.  The lazy BAR allocation code in FreeBSD sometimes
 disables this bit when it detects a range conflict, and will re-enable
 it on demand when a driver allocates the BAR.  Thus, the bit is no longer
 a reliable indication of capability, and should not be checked.  This
 results in the elimination of a lot of code from drivers, and also gives
 the opportunity to simplify a lot of drivers to use a helper API to set
 the busmaster enable bit.

 This changes fixes some recent reports of disk controllers and their
 associated drives/enclosures disappearing during boot.

Submitted by:	jhb
Reviewed by:	jfv, marius, adrian, achim
Approved by:	re
</content>
</entry>
<entry>
<title>These checks against BUSY aren't needed: the newbus layer does this</title>
<updated>2009-09-05T08:38:25Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2009-09-05T08:38:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=520998911a15d9d0f44770074ea88af4a13e1c9e'/>
<id>urn:sha1:520998911a15d9d0f44770074ea88af4a13e1c9e</id>
<content type='text'>
already with the appropriate locks held...  There's no need to do it
here, so just delete the checks.
</content>
</entry>
<entry>
<title>Temporarily revert the new-bus locking for 8.0 release.  It will be</title>
<updated>2009-08-20T19:17:53Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2009-08-20T19:17:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a56fe095f0d5fb20fc70b784acb0cd2d367d3e79'/>
<id>urn:sha1:a56fe095f0d5fb20fc70b784acb0cd2d367d3e79</id>
<content type='text'>
reintroduced after HEAD is reopened for commits by re@.

Approved by:	re (kib), attilio
</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-test2/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>Last minute TTY API change: remove mutex argument from tty_alloc().</title>
<updated>2009-05-29T06:41:23Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-05-29T06:41:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c5e30cc02b9bee4c53457d1bc4184b256ce1a569'/>
<id>urn:sha1:c5e30cc02b9bee4c53457d1bc4184b256ce1a569</id>
<content type='text'>
I don't want people to override the mutex when allocating a TTY. It has
to be there, to keep drivers like syscons happy. So I'm creating a
tty_alloc_mutex() which can be used in those cases. tty_alloc_mutex()
should eventually be removed.

The advantage of this approach, is that we can just remove a function,
without breaking the regular API in the future.
</content>
</entry>
<entry>
<title>Start to convert this over to the new tty layer.  These changes allow</title>
<updated>2009-04-27T15:58:38Z</updated>
<author>
<name>Doug Ambrisko</name>
<email>ambrisko@FreeBSD.org</email>
</author>
<published>2009-04-27T15:58:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a18c28429449104a797102d5e6d3793a82ba725b'/>
<id>urn:sha1:a18c28429449104a797102d5e6d3793a82ba725b</id>
<content type='text'>
this driver to compile and limp along with the new layer.  These changes
do not deal with proper locking around access to the HW.  This is only
a starting point.  I have not tested modem control but tip seems to work
okay and I can send and receive characters which I needed for one of my
-current boxes.  I have not tied this driver back up to the build since
I don't want people to think it is ready for prime time.  If anyone
else has some cycles to work on this feel free to!

Also add support for a 16 port PCI interface I have at work.

Glanced at by:	ed
</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-test2/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>Initialize DWBuf[3].</title>
<updated>2007-07-05T06:51:49Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2007-07-05T06:51:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cb3a418e8da1807c214a2c0d0b9f2a136119a164'/>
<id>urn:sha1:cb3a418e8da1807c214a2c0d0b9f2a136119a164</id>
<content type='text'>
Approved by:  re (rwatson, blanket)
</content>
</entry>
<entry>
<title>Fix Rocketport so that it does not crash the system when a device pointer</title>
<updated>2007-06-26T13:50:48Z</updated>
<author>
<name>Remko Lodder</name>
<email>remko@FreeBSD.org</email>
</author>
<published>2007-06-26T13:50:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c6feae72244fd50640e544aca79f52873c7d7448'/>
<id>urn:sha1:c6feae72244fd50640e544aca79f52873c7d7448</id>
<content type='text'>
changes for example:

(From Craig Leres):

tip to a rocketport line
run "/etc/rc.d/devfs restart"
exit tip
(wait for the system to reboot)

Thanks to Robert Watson for poking me to fix this.

PR:		kern/109152
Approved by:	imp (mentor)
Approved by:	re (kensmith)
Reviewed by:	jhb
Submitted by:	Craig Leres &lt;leres@ee dot lbl dot gov&gt;
</content>
</entry>
<entry>
<title>- Make rp(4) 64-bit- and endian-clean as well as work on strict alignment</title>
<updated>2006-11-20T12:59:27Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2006-11-20T12:59:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=61e5f5471ee13ee84781dfbbce76b07df540ac43'/>
<id>urn:sha1:61e5f5471ee13ee84781dfbbce76b07df540ac43</id>
<content type='text'>
  archs. [1]
- Instead of bus_space_{read,write}*(rman_get_bustag(), rman_get_bushandle())
  use bus_{read,write}*() for efficiency.

Reported by:	Peter Losher [1]
Tested on:	i386, sparc64
MFC after:	2 weeks
</content>
</entry>
</feed>
