aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2009-06-07 16:57:53 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-06-14 08:26:29 -0400
commitb9530fd6c3f057bda258c8e2631ad1a25959f4a2 (patch)
tree509bc37394a27822b0a98b940f38d4c0401a4a6a /drivers
parentc76acec6d55107b652a37c90b36c00bc8b04dabb (diff)
firewire: net: add Kconfig item, rename driver
The driver is now called firewire-net. It might implement the transport of other networking protocols in the future, notably IPv6 per RFC 3146. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firewire/Kconfig12
-rw-r--r--drivers/firewire/Makefile6
-rw-r--r--drivers/firewire/net.c (renamed from drivers/firewire/fw-ipv4.c)2
-rw-r--r--drivers/ieee1394/Kconfig2
4 files changed, 17 insertions, 5 deletions
diff --git a/drivers/firewire/Kconfig b/drivers/firewire/Kconfig
index 450902438208..d6b1721e52ab 100644
--- a/drivers/firewire/Kconfig
+++ b/drivers/firewire/Kconfig
@@ -77,3 +77,15 @@ config FIREWIRE_SBP2
77 77
78 You should also enable support for disks, CD-ROMs, etc. in the SCSI 78 You should also enable support for disks, CD-ROMs, etc. in the SCSI
79 configuration section. 79 configuration section.
80
81config FIREWIRE_NET
82 tristate "IP networking over 1394"
83 depends on FIREWIRE && INET
84 help
85 This enables IPv4 over IEEE 1394, providing IP connectivity with
86 other implementations of RFC 2734 as found on several operating
87 systems. Multicast support is currently limited.
88
89 To compile this driver as a module, say M here: The module will be
90 called firewire-net. It replaces eth1394 of the classic IEEE 1394
91 stack.
diff --git a/drivers/firewire/Makefile b/drivers/firewire/Makefile
index 31edf30c558d..a8f9bb6d9fdf 100644
--- a/drivers/firewire/Makefile
+++ b/drivers/firewire/Makefile
@@ -6,9 +6,9 @@ firewire-core-y += core-card.o core-cdev.o core-device.o \
6 core-iso.o core-topology.o core-transaction.o 6 core-iso.o core-topology.o core-transaction.o
7firewire-ohci-y += ohci.o 7firewire-ohci-y += ohci.o
8firewire-sbp2-y += sbp2.o 8firewire-sbp2-y += sbp2.o
9firewire-ipv4-y += fw-ipv4.o 9firewire-net-y += net.o
10 10
11obj-$(CONFIG_FIREWIRE) += firewire-core.o 11obj-$(CONFIG_FIREWIRE) += firewire-core.o
12obj-$(CONFIG_FIREWIRE_OHCI) += firewire-ohci.o 12obj-$(CONFIG_FIREWIRE_OHCI) += firewire-ohci.o
13obj-$(CONFIG_FIREWIRE_SBP2) += firewire-sbp2.o 13obj-$(CONFIG_FIREWIRE_SBP2) += firewire-sbp2.o
14obj-$(CONFIG_FIREWIRE_IPV4) += firewire-ipv4.o 14obj-$(CONFIG_FIREWIRE_NET) += firewire-net.o
diff --git a/drivers/firewire/fw-ipv4.c b/drivers/firewire/net.c
index 4de6dbb95f0c..15353886bd80 100644
--- a/drivers/firewire/fw-ipv4.c
+++ b/drivers/firewire/net.c
@@ -1633,7 +1633,7 @@ static int ipv4_probe ( struct device *dev ) {
1633 return added; 1633 return added;
1634 } 1634 }
1635 fw_debug("ipv4 Local: adding netdev\n" ); 1635 fw_debug("ipv4 Local: adding netdev\n" );
1636 netdev = alloc_netdev ( sizeof(*priv), "fw-ipv4-%d", ipv4_init_dev ); 1636 netdev = alloc_netdev ( sizeof(*priv), "firewire%d", ipv4_init_dev );
1637 if ( netdev == NULL) { 1637 if ( netdev == NULL) {
1638 fw_error( "Out of memory\n"); 1638 fw_error( "Out of memory\n");
1639 goto out; 1639 goto out;
diff --git a/drivers/ieee1394/Kconfig b/drivers/ieee1394/Kconfig
index 95f45f9b8e5e..584245881f4a 100644
--- a/drivers/ieee1394/Kconfig
+++ b/drivers/ieee1394/Kconfig
@@ -105,7 +105,7 @@ config IEEE1394_ETH1394_ROM_ENTRY
105 default n 105 default n
106 106
107config IEEE1394_ETH1394 107config IEEE1394_ETH1394
108 tristate "IP over 1394" 108 tristate "IP networking over 1394"
109 depends on IEEE1394 && EXPERIMENTAL && INET 109 depends on IEEE1394 && EXPERIMENTAL && INET
110 select IEEE1394_ETH1394_ROM_ENTRY 110 select IEEE1394_ETH1394_ROM_ENTRY
111 help 111 help