<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/firewire/sbp.c, branch release/8.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2010-02-11T18:34:06Z</updated>
<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-test2/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>Enhance debugging mode by storing the string "BB:TT:LL" once and use</title>
<updated>2009-02-18T18:41:34Z</updated>
<author>
<name>Sean Bruno</name>
<email>sbruno@FreeBSD.org</email>
</author>
<published>2009-02-18T18:41:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f541131711924523f9487e8a324aac07e2fd851c'/>
<id>urn:sha1:f541131711924523f9487e8a324aac07e2fd851c</id>
<content type='text'>
it instead of overloading sbp_show_sdev_info().

replace calls to printf with calls to device_printf and cleanup debug
messages

Remove a bit of dead, commented out code.

Reviewed by:	scottl(mentor)
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Remove unused variable.</title>
<updated>2009-02-09T16:57:07Z</updated>
<author>
<name>Max Khon</name>
<email>fjoe@FreeBSD.org</email>
</author>
<published>2009-02-09T16:57:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=166366b5cd44e683f2dd6abba1b5176596fb3c67'/>
<id>urn:sha1:166366b5cd44e683f2dd6abba1b5176596fb3c67</id>
<content type='text'>
Found with:	Coverity Prevent(tm)
CID:		3693
</content>
</entry>
<entry>
<title>Some updates and bug squashing in the firewire stack.</title>
<updated>2009-02-01T23:28:52Z</updated>
<author>
<name>Sean Bruno</name>
<email>sbruno@FreeBSD.org</email>
</author>
<published>2009-02-01T23:28:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3042cc43f09c5d2300f94d6a5c4c4fd0aa96295a'/>
<id>urn:sha1:3042cc43f09c5d2300f94d6a5c4c4fd0aa96295a</id>
<content type='text'>
Move the interupt handler to a driver_intr_t type function as it was trying
to do way to much for a lightweight filter interrupt function.

Introduce much more locking around fc-&gt;mtx.  Tested this for lock reversals
and other such lockups.  Locking seems to be working better, but there
is much more to do with regard to locking.  The most significant lock is
in the BUS RESET handler.  It was possible, before this checkin, to set
a bus reset via "fwcontrol -r" and have the BUS RESET handler fire before
the code responsible for asserting BUS RESET was complete.  This locking
fixes that issue.

Move some of the memory allocations in the fc struct to the attach function
in firewire.c

Rework the businfo.generation indicator to be merely a on/off bit now.
It's purpose according to spec is to notify the bus that the config ROM
has changed.  That's it.

Catch and squash a possible panic in SBP where in the SBP_LOCK was held
during a possible error case.  The error handling code would definitely
panic as it would try to acquire the SBP_LOCK on entrance.

Catch and squash a camcontrol/device lockup when firewire drives go away.
When a firewire device was powered off or disconnected from the firewire
bus, a "camcontrol rescan all" would hang trying to poll removed devices
as they were not properly detached.  Don't do that.

Approved by:	scottl
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Prepare for future integration between CAM and newbus.  xpt_bus_register</title>
<updated>2007-06-17T05:55:54Z</updated>
<author>
<name>Scott Long</name>
<email>scottl@FreeBSD.org</email>
</author>
<published>2007-06-17T05:55:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b50569b71dfb110a58aa3e83f629115291802a74'/>
<id>urn:sha1:b50569b71dfb110a58aa3e83f629115291802a74</id>
<content type='text'>
now takes a device_t to be the parent of the bus that is being created.
Most SIMs have been updated with a reasonable argument, but a few exceptions
just pass NULL for now.  This argument isn't used yet and the newbus
integration likely won't be ready until after 7.0-RELEASE.
</content>
</entry>
<entry>
<title>- Lock sbp_write_cmd() and ORB_POINTER_ACTIVE flag.</title>
<updated>2007-06-16T00:59:41Z</updated>
<author>
<name>Hidetoshi Shimokawa</name>
<email>simokawa@FreeBSD.org</email>
</author>
<published>2007-06-16T00:59:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=99b242f3543d3642417bdf7adf3f6461ac011e77'/>
<id>urn:sha1:99b242f3543d3642417bdf7adf3f6461ac011e77</id>
<content type='text'>
- Remove unnecessary timestamps.
- Return CAM_RESRC_UNAVAIL for ORB shortage.
- Fix a lock problem when doorbell is used.
- Fix a potential bug for unordered execution.
</content>
</entry>
<entry>
<title>- Suppress compiler optimization so that orb[1] must be written first.</title>
<updated>2007-06-14T12:52:13Z</updated>
<author>
<name>Hidetoshi Shimokawa</name>
<email>simokawa@FreeBSD.org</email>
</author>
<published>2007-06-14T12:52:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9b33b1ab380d4d014727175e3f3ac0267aa6fcec'/>
<id>urn:sha1:9b33b1ab380d4d014727175e3f3ac0267aa6fcec</id>
<content type='text'>
  We may need an explicit memory barrier for other architectures other than i386/amd64.

MFC after: 3 days
</content>
</entry>
<entry>
<title>Add a tunable hw.firewire.phydma_enable.</title>
<updated>2007-06-07T13:20:48Z</updated>
<author>
<name>Hidetoshi Shimokawa</name>
<email>simokawa@FreeBSD.org</email>
</author>
<published>2007-06-07T13:20:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ac2d2894b48d170a998e294c0fc8df0bbd783705'/>
<id>urn:sha1:ac2d2894b48d170a998e294c0fc8df0bbd783705</id>
<content type='text'>
This is enabled by default.  It should be disabled for
those who are uneasy with peeking/poking from FireWire.

Please note sbp(4) and dcons(4) over FireWire need
this feature.
</content>
</entry>
<entry>
<title>Fix a typo to make this file compile</title>
<updated>2007-06-06T18:33:38Z</updated>
<author>
<name>Andrew Gallatin</name>
<email>gallatin@FreeBSD.org</email>
</author>
<published>2007-06-06T18:33:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4930d13c506aa892f0f35d615325893ef9e27831'/>
<id>urn:sha1:4930d13c506aa892f0f35d615325893ef9e27831</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFp4: MPSAFE firewire stack.</title>
<updated>2007-06-06T14:31:36Z</updated>
<author>
<name>Hidetoshi Shimokawa</name>
<email>simokawa@FreeBSD.org</email>
</author>
<published>2007-06-06T14:31:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9950b741e91ab7a7e26badccc0d82f2e103a1f1e'/>
<id>urn:sha1:9950b741e91ab7a7e26badccc0d82f2e103a1f1e</id>
<content type='text'>
- lock its own locks and drop Giant.
- create its own taskqueue thread.
- split interrupt routine
- use interrupt filter as a fast interrupt.
- run watchdog timer in taskqueue so that it should be
   serialized with the bottom half.
- add extra sanity check for transaction labels.
   disable ad-hoc workaround for unknown tlabels.
- add sleep/wakeup synchronization primitives
- don't reset OHCI in fwohci_stop()
</content>
</entry>
</feed>
