<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/firewire/fw-device.c, branch linux-2.6.30.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.30.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-03-24T19:56:52Z</updated>
<entry>
<title>firewire: core: optimize propagation of BROADCAST_CHANNEL</title>
<updated>2009-03-24T19:56:52Z</updated>
<author>
<name>Stefan Richter</name>
</author>
<published>2009-03-10T20:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7889b60ee71eafaf50699a154a2455424bb92daa'/>
<id>urn:sha1:7889b60ee71eafaf50699a154a2455424bb92daa</id>
<content type='text'>
Cache the test result of whether a device implements BROADCAST_CHANNEL.
This minimizes traffic on the bus after each bus reset.  A majority of
devices does not implement BROADCAST_CHANNEL.

Remove busy retries; just rely on the hardware to retry requests to busy
responders.  Remove unnecessary log messages.

Rename the flag is_irm to broadcast_channel_allocated to better reflect
its meaning.  Reset the flag earlier in fw_core_handle_bus_reset.

Pass the generation down as a call parameter; that way generation can't
be newer than card-&gt;broadcast_channel_allocated and device-&gt;node_id.

Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: broadcast channel support</title>
<updated>2009-03-24T19:56:49Z</updated>
<author>
<name>Jay Fenlason</name>
</author>
<published>2009-02-23T20:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6104ee92d62ea3638b67494fcf061cb4b9b9d518'/>
<id>urn:sha1:6104ee92d62ea3638b67494fcf061cb4b9b9d518</id>
<content type='text'>
This patch adds the ISO broadcast channel support that is required of a
1394a IRM.  In specific, if the local device the IRM, it allocates ISO
channel 31 and sets the broadcast channel register of all devices on the
local bus to BROADCAST_CHANNEL_INITIAL | BROADCAST_CHANNEL_VALID to indicate
that channel 31 can be use for broadcast messages.

One minor complication is that on startup the local device may become IRM
before all the devices on the bus have been enumerated by the stack.  Therefore
we have to keep a "the local device is IRM" flag and possibly set the
broadcast channel register of new devices at enumeration time.

Signed-off-by: Jay Fenlason &lt;fenlason@redhat.com&gt;
Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: normalize a variable name</title>
<updated>2009-03-24T19:56:48Z</updated>
<author>
<name>Stefan Richter</name>
</author>
<published>2009-02-03T16:55:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1eff7a393d4a4e3ad1cf65fcba899146840bfd2'/>
<id>urn:sha1:e1eff7a393d4a4e3ad1cf65fcba899146840bfd2</id>
<content type='text'>
Standardize on  if (err)
                        handle_error;
           and  if (ret &lt; 0)
                        handle_error;

Don't call a variable err if we store values in it which mean success.
Also, offset some return statements by a blank line since this how we do
it in drivers/firewire.

Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: core: remove condition which is always false</title>
<updated>2009-03-24T19:56:47Z</updated>
<author>
<name>Stefan Richter</name>
</author>
<published>2009-01-17T21:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d01b01787680a1156ff6a554e40baa460bb88efb'/>
<id>urn:sha1:d01b01787680a1156ff6a554e40baa460bb88efb</id>
<content type='text'>
reread_bus_info_block() only gets to see devices whose config_rom_length
is at least 6 (ROM header, bus info block, root directory header).

Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: core: move some functions</title>
<updated>2009-03-24T19:56:47Z</updated>
<author>
<name>Stefan Richter</name>
</author>
<published>2009-01-17T21:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aed808927410d0b1d80378492059f22a46974267'/>
<id>urn:sha1:aed808927410d0b1d80378492059f22a46974267</id>
<content type='text'>
Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: core: clean up includes</title>
<updated>2009-03-24T19:56:47Z</updated>
<author>
<name>Stefan Richter</name>
</author>
<published>2009-01-17T21:45:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41f321c2ecf416f9dcf76de989e9059fd699c8c1'/>
<id>urn:sha1:41f321c2ecf416f9dcf76de989e9059fd699c8c1</id>
<content type='text'>
Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: remove line breaks before function names</title>
<updated>2009-03-24T19:56:40Z</updated>
<author>
<name>Stefan Richter</name>
</author>
<published>2008-12-14T20:47:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=53dca51175cc2f66d21aeb1e70146cca65c53dad'/>
<id>urn:sha1:53dca51175cc2f66d21aeb1e70146cca65c53dad</id>
<content type='text'>
type
    function_name(parameters);

is nice to look at but was not used consistently.

Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: convert client_list_lock to mutex</title>
<updated>2009-03-24T19:56:37Z</updated>
<author>
<name>Stefan Richter</name>
</author>
<published>2008-10-05T08:37:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d67cfb9613f373d76daa2c8d209629601424ca12'/>
<id>urn:sha1:d67cfb9613f373d76daa2c8d209629601424ca12</id>
<content type='text'>
So far it is only taken in non-atomic contexts.

Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: add a client_list_lock</title>
<updated>2009-03-24T19:56:36Z</updated>
<author>
<name>Jay Fenlason</name>
</author>
<published>2008-10-03T15:19:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf417e5494582453c033d8cac9e1352e74215435'/>
<id>urn:sha1:cf417e5494582453c033d8cac9e1352e74215435</id>
<content type='text'>
This adds a client_list_lock, which only protects the device's
client_list, so that future versions of the driver can call code that
takes the card-&gt;lock while holding the client_list_lock.  Adding this
lock is much simpler than adding __ versions of all the functions that
the future version may need.  The one ordering issue is to make sure
code never takes the client_list_lock with card-&gt;lock held.  Since
client_list_lock is only used in three places, that isn't hard.

Signed-off-by: Jay Fenlason &lt;fenlason@redhat.com&gt;

Update fill_bus_reset_event() accordingly.  Include linux/spinlock.h.

Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
<entry>
<title>firewire: core: optimize card shutdown</title>
<updated>2009-01-24T19:40:12Z</updated>
<author>
<name>Stefan Richter</name>
</author>
<published>2009-01-24T19:35:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e747a5c0be3efe5465e45c8e326bc766b1288be6'/>
<id>urn:sha1:e747a5c0be3efe5465e45c8e326bc766b1288be6</id>
<content type='text'>
This fixes a regression by "firewire: keep highlevel drivers attached
during brief connection loss":  There were 2 seconds unnecessary waiting
added to the shutdown procedure of each controller.

We use card-&gt;link as status flag to signal the device handler that there
is no use to wait for a come-back.

Signed-off-by: Stefan Richter &lt;stefanr@s5r6.in-berlin.de&gt;
</content>
</entry>
</feed>
