diff options
author | Jay Fenlason <fenlason@redhat.com> | 2009-05-18 13:08:06 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-06-14 08:26:28 -0400 |
commit | c76acec6d55107b652a37c90b36c00bc8b04dabb (patch) | |
tree | f51f4cea0bd006352bc636586717d009e24ef3c3 /drivers/firewire/core-card.c | |
parent | 1e626fdcef61460dc75fe7377f38bb019722b848 (diff) |
firewire: add IPv4 support
Implement IPv4 over IEEE 1394 as per RFC 2734 for the newer firewire
stack. This feature has only been present in the older ieee1394 stack
via the eth1394 driver.
Still to do:
- fix ipv4_priv and ipv4_node lifetime logic
- fix determination of speeds and max payloads
- fix bus reset handling
- fix unaligned memory accesses
- fix coding style
- further testing/ improvement of fragment reassembly
- perhaps multicast support
Signed-off-by: Jay Fenlason <fenlason@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (rebased, copyright note, changelog)
Diffstat (limited to 'drivers/firewire/core-card.c')
-rw-r--r-- | drivers/firewire/core-card.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/firewire/core-card.c b/drivers/firewire/core-card.c index 4c1be64fdddd..cdab32b20675 100644 --- a/drivers/firewire/core-card.c +++ b/drivers/firewire/core-card.c | |||
@@ -176,6 +176,7 @@ int fw_core_add_descriptor(struct fw_descriptor *desc) | |||
176 | 176 | ||
177 | return 0; | 177 | return 0; |
178 | } | 178 | } |
179 | EXPORT_SYMBOL(fw_core_add_descriptor); | ||
179 | 180 | ||
180 | void fw_core_remove_descriptor(struct fw_descriptor *desc) | 181 | void fw_core_remove_descriptor(struct fw_descriptor *desc) |
181 | { | 182 | { |
@@ -189,6 +190,7 @@ void fw_core_remove_descriptor(struct fw_descriptor *desc) | |||
189 | 190 | ||
190 | mutex_unlock(&card_mutex); | 191 | mutex_unlock(&card_mutex); |
191 | } | 192 | } |
193 | EXPORT_SYMBOL(fw_core_remove_descriptor); | ||
192 | 194 | ||
193 | static void allocate_broadcast_channel(struct fw_card *card, int generation) | 195 | static void allocate_broadcast_channel(struct fw_card *card, int generation) |
194 | { | 196 | { |
@@ -427,6 +429,8 @@ void fw_card_initialize(struct fw_card *card, | |||
427 | card->local_node = NULL; | 429 | card->local_node = NULL; |
428 | 430 | ||
429 | INIT_DELAYED_WORK(&card->work, fw_card_bm_work); | 431 | INIT_DELAYED_WORK(&card->work, fw_card_bm_work); |
432 | card->netdev = NULL; | ||
433 | INIT_LIST_HEAD(&card->ipv4_nodes); | ||
430 | } | 434 | } |
431 | EXPORT_SYMBOL(fw_card_initialize); | 435 | EXPORT_SYMBOL(fw_card_initialize); |
432 | 436 | ||