diff --git a/MAINTAINERS b/MAINTAINERS index dd6ca456cde3da2f87a0c47b6ca11b49488c77c7..3118d67d68fb5365839bdf74b27319a21ff267cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -554,8 +554,7 @@ F: drivers/hwmon/applesmc.c APPLETALK NETWORK LAYER M: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> S: Maintained -F: drivers/net/appletalk/ -F: net/appletalk/ +F: drivers/staging/appletalk/ ARC FRAMEBUFFER DRIVER M: Jaya Kumar <jayalk@intworks.biz> diff --git a/drivers/net/Makefile b/drivers/net/Makefile index b90738d13994318dcf2a06442cd7eba52629b9a7..11a9c053f0c85f3def656c12a8faa18c376b784f 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile @@ -265,7 +265,6 @@ obj-$(CONFIG_MACB) += macb.o obj-$(CONFIG_S6GMAC) += s6gmac.o obj-$(CONFIG_ARM) += arm/ -obj-$(CONFIG_DEV_APPLETALK) += appletalk/ obj-$(CONFIG_TR) += tokenring/ obj-$(CONFIG_WAN) += wan/ obj-$(CONFIG_ARCNET) += arcnet/ diff --git a/drivers/net/appletalk/Makefile b/drivers/net/appletalk/Makefile deleted file mode 100644 index 6cfc705f7c5c0a2843e29353896b6cdd9a7c0089..0000000000000000000000000000000000000000 --- a/drivers/net/appletalk/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# -# Makefile for drivers/net/appletalk -# - -obj-$(CONFIG_IPDDP) += ipddp.o -obj-$(CONFIG_COPS) += cops.o -obj-$(CONFIG_LTPC) += ltpc.o diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index b80755da5394bd07b315ef090bdb6f2f7769d00f..584d4e264807eb54c8e2544613374b23ab5d8ae5 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig @@ -169,6 +169,8 @@ source "drivers/staging/bcm/Kconfig" source "drivers/staging/ft1000/Kconfig" +source "drivers/staging/appletalk/Kconfig" + source "drivers/staging/intel_sst/Kconfig" source "drivers/staging/speakup/Kconfig" diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile index fd26509e5efa052a5d5ddebcb0b112a19dc419bc..88f0c64e7e586e595dcd10ca61652c0b2081fce0 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile @@ -65,6 +65,7 @@ obj-$(CONFIG_ATH6K_LEGACY) += ath6kl/ obj-$(CONFIG_USB_ENESTORAGE) += keucr/ obj-$(CONFIG_BCM_WIMAX) += bcm/ obj-$(CONFIG_FT1000) += ft1000/ +obj-$(CONFIG_DEV_APPLETALK) += appletalk/ obj-$(CONFIG_SND_INTEL_SST) += intel_sst/ obj-$(CONFIG_SPEAKUP) += speakup/ obj-$(CONFIG_TOUCHSCREEN_CLEARPAD_TM1217) += cptm1217/ diff --git a/drivers/net/appletalk/Kconfig b/drivers/staging/appletalk/Kconfig similarity index 100% rename from drivers/net/appletalk/Kconfig rename to drivers/staging/appletalk/Kconfig diff --git a/net/appletalk/Makefile b/drivers/staging/appletalk/Makefile similarity index 56% rename from net/appletalk/Makefile rename to drivers/staging/appletalk/Makefile index 5cda56edef571075ac730003c44ebf0648b1d88e..2a5129a5c6bcb6c588a909df91ec12d6b8122ee4 100644 --- a/net/appletalk/Makefile +++ b/drivers/staging/appletalk/Makefile @@ -1,9 +1,12 @@ # -# Makefile for the Linux AppleTalk layer. +# Makefile for drivers/staging/appletalk # - obj-$(CONFIG_ATALK) += appletalk.o appletalk-y := aarp.o ddp.o dev.o appletalk-$(CONFIG_PROC_FS) += atalk_proc.o appletalk-$(CONFIG_SYSCTL) += sysctl_net_atalk.o + +obj-$(CONFIG_IPDDP) += ipddp.o +obj-$(CONFIG_COPS) += cops.o +obj-$(CONFIG_LTPC) += ltpc.o diff --git a/net/appletalk/aarp.c b/drivers/staging/appletalk/aarp.c similarity index 99% rename from net/appletalk/aarp.c rename to drivers/staging/appletalk/aarp.c index 50dce7981321709e5aa095c233234ca83e69d034..7163a1dd501f43c8aca53d9e47606b30fc334eb6 100644 --- a/net/appletalk/aarp.c +++ b/drivers/staging/appletalk/aarp.c @@ -34,7 +34,7 @@ #include <net/sock.h> #include <net/datalink.h> #include <net/psnap.h> -#include <linux/atalk.h> +#include "atalk.h" #include <linux/delay.h> #include <linux/init.h> #include <linux/proc_fs.h> diff --git a/include/linux/atalk.h b/drivers/staging/appletalk/atalk.h similarity index 100% rename from include/linux/atalk.h rename to drivers/staging/appletalk/atalk.h diff --git a/net/appletalk/atalk_proc.c b/drivers/staging/appletalk/atalk_proc.c similarity index 99% rename from net/appletalk/atalk_proc.c rename to drivers/staging/appletalk/atalk_proc.c index 6ef0e761e5de28d40cdf43559271e19b4e132a1f..d012ba2e67d1dd2cbe8000ce7c3e9bb8f8f8d243 100644 --- a/net/appletalk/atalk_proc.c +++ b/drivers/staging/appletalk/atalk_proc.c @@ -13,7 +13,7 @@ #include <linux/seq_file.h> #include <net/net_namespace.h> #include <net/sock.h> -#include <linux/atalk.h> +#include "atalk.h" static __inline__ struct atalk_iface *atalk_get_interface_idx(loff_t pos) diff --git a/drivers/net/appletalk/cops.c b/drivers/staging/appletalk/cops.c similarity index 99% rename from drivers/net/appletalk/cops.c rename to drivers/staging/appletalk/cops.c index 748c9f526e713274d8d3c722bd321c0a0e845e28..661d42eff7d80dca5f43f692933e1fd8e0d11ac5 100644 --- a/drivers/net/appletalk/cops.c +++ b/drivers/staging/appletalk/cops.c @@ -65,7 +65,6 @@ static const char *version = #include <linux/if_arp.h> #include <linux/if_ltalk.h> #include <linux/delay.h> /* For udelay() */ -#include <linux/atalk.h> #include <linux/spinlock.h> #include <linux/bitops.h> #include <linux/jiffies.h> @@ -74,6 +73,7 @@ static const char *version = #include <asm/io.h> #include <asm/dma.h> +#include "atalk.h" #include "cops.h" /* Our Stuff */ #include "cops_ltdrv.h" /* Firmware code for Tangent type cards. */ #include "cops_ffdrv.h" /* Firmware code for Dayna type cards. */ diff --git a/drivers/net/appletalk/cops.h b/drivers/staging/appletalk/cops.h similarity index 100% rename from drivers/net/appletalk/cops.h rename to drivers/staging/appletalk/cops.h diff --git a/drivers/net/appletalk/cops_ffdrv.h b/drivers/staging/appletalk/cops_ffdrv.h similarity index 100% rename from drivers/net/appletalk/cops_ffdrv.h rename to drivers/staging/appletalk/cops_ffdrv.h diff --git a/drivers/net/appletalk/cops_ltdrv.h b/drivers/staging/appletalk/cops_ltdrv.h similarity index 100% rename from drivers/net/appletalk/cops_ltdrv.h rename to drivers/staging/appletalk/cops_ltdrv.h diff --git a/net/appletalk/ddp.c b/drivers/staging/appletalk/ddp.c similarity index 99% rename from net/appletalk/ddp.c rename to drivers/staging/appletalk/ddp.c index c410b93fda2ecde367bf1815dda21ccbbff36823..940dd1908339b0db5be5943280073d1d5a1928fb 100644 --- a/net/appletalk/ddp.c +++ b/drivers/staging/appletalk/ddp.c @@ -63,8 +63,8 @@ #include <net/sock.h> #include <net/tcp_states.h> #include <net/route.h> -#include <linux/atalk.h> -#include "../core/kmap_skb.h" +#include "atalk.h" +#include "../../net/core/kmap_skb.h" struct datalink_proto *ddp_dl, *aarp_dl; static const struct proto_ops atalk_dgram_ops; diff --git a/net/appletalk/dev.c b/drivers/staging/appletalk/dev.c similarity index 100% rename from net/appletalk/dev.c rename to drivers/staging/appletalk/dev.c diff --git a/drivers/net/appletalk/ipddp.c b/drivers/staging/appletalk/ipddp.c similarity index 99% rename from drivers/net/appletalk/ipddp.c rename to drivers/staging/appletalk/ipddp.c index 10d0dba572c2e319f630638e204ed8c12ae38b5e..58b4e6098ad4be100d3e4e7a5808a347e672b5fe 100644 --- a/drivers/net/appletalk/ipddp.c +++ b/drivers/staging/appletalk/ipddp.c @@ -29,12 +29,12 @@ #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/ip.h> -#include <linux/atalk.h> #include <linux/if_arp.h> #include <linux/slab.h> #include <net/route.h> #include <asm/uaccess.h> +#include "atalk.h" #include "ipddp.h" /* Our stuff */ static const char version[] = KERN_INFO "ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>\n"; diff --git a/drivers/net/appletalk/ipddp.h b/drivers/staging/appletalk/ipddp.h similarity index 100% rename from drivers/net/appletalk/ipddp.h rename to drivers/staging/appletalk/ipddp.h diff --git a/drivers/net/appletalk/ltpc.c b/drivers/staging/appletalk/ltpc.c similarity index 99% rename from drivers/net/appletalk/ltpc.c rename to drivers/staging/appletalk/ltpc.c index e69eead12ec715cd7fb610218bee4129e0f88129..60caf892695ead371d05964d42b2bdb7c3bd0919 100644 --- a/drivers/net/appletalk/ltpc.c +++ b/drivers/staging/appletalk/ltpc.c @@ -225,7 +225,6 @@ static int dma; #include <linux/if_ltalk.h> #include <linux/delay.h> #include <linux/timer.h> -#include <linux/atalk.h> #include <linux/bitops.h> #include <linux/gfp.h> @@ -234,6 +233,7 @@ static int dma; #include <asm/io.h> /* our stuff */ +#include "atalk.h" #include "ltpc.h" static DEFINE_SPINLOCK(txqueue_lock); diff --git a/drivers/net/appletalk/ltpc.h b/drivers/staging/appletalk/ltpc.h similarity index 100% rename from drivers/net/appletalk/ltpc.h rename to drivers/staging/appletalk/ltpc.h diff --git a/net/appletalk/sysctl_net_atalk.c b/drivers/staging/appletalk/sysctl_net_atalk.c similarity index 98% rename from net/appletalk/sysctl_net_atalk.c rename to drivers/staging/appletalk/sysctl_net_atalk.c index 04e9c0da7aa95e5936d09c026c0f03a0bb4cb060..4c896b625b2b7d432f3b156a002e95c11c933648 100644 --- a/net/appletalk/sysctl_net_atalk.c +++ b/drivers/staging/appletalk/sysctl_net_atalk.c @@ -8,7 +8,7 @@ #include <linux/sysctl.h> #include <net/sock.h> -#include <linux/atalk.h> +#include "atalk.h" static struct ctl_table atalk_table[] = { { diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 61abb638b4bfdcef8c2a47446fb778714b9b25b8..86a2d7d905c070fe42f033051ec2a85720c3e05a 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -56,7 +56,6 @@ #include <linux/syscalls.h> #include <linux/i2c.h> #include <linux/i2c-dev.h> -#include <linux/atalk.h> #include <linux/gfp.h> #include <net/bluetooth/bluetooth.h> diff --git a/include/linux/Kbuild b/include/linux/Kbuild index 2296d8b1931f694a6ffa6fc1ea0ec7064728c2c6..362041b73a2fc17d549844c17794a03bed49ea77 100644 --- a/include/linux/Kbuild +++ b/include/linux/Kbuild @@ -43,7 +43,6 @@ header-y += agpgart.h header-y += aio_abi.h header-y += apm_bios.h header-y += arcfb.h -header-y += atalk.h header-y += atm.h header-y += atm_eni.h header-y += atm_he.h diff --git a/net/Kconfig b/net/Kconfig index 72840626284bc74b4fcd3d6564781ff909fae75f..082c8bc977e17a7151b2063a2772af4d82930158 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -204,7 +204,6 @@ source "net/8021q/Kconfig" source "net/decnet/Kconfig" source "net/llc/Kconfig" source "net/ipx/Kconfig" -source "drivers/net/appletalk/Kconfig" source "net/x25/Kconfig" source "net/lapb/Kconfig" source "net/econet/Kconfig" diff --git a/net/Makefile b/net/Makefile index a3330ebe2c5345a32140e9b8b84445ac756dcecb..16d9947b4b956692c6b87a7f4f09f7417daa8c86 100644 --- a/net/Makefile +++ b/net/Makefile @@ -27,7 +27,6 @@ obj-$(CONFIG_NET_KEY) += key/ obj-$(CONFIG_BRIDGE) += bridge/ obj-$(CONFIG_NET_DSA) += dsa/ obj-$(CONFIG_IPX) += ipx/ -obj-$(CONFIG_ATALK) += appletalk/ obj-$(CONFIG_WAN_ROUTER) += wanrouter/ obj-$(CONFIG_X25) += x25/ obj-$(CONFIG_LAPB) += lapb/ diff --git a/net/socket.c b/net/socket.c index ac2219f90d5dd45bed66ab827b26a5f96cf7ca09..26f7bcf36810903351d6859bdeffd196f068284c 100644 --- a/net/socket.c +++ b/net/socket.c @@ -103,7 +103,6 @@ #include <linux/ipv6_route.h> #include <linux/route.h> #include <linux/sockios.h> -#include <linux/atalk.h> static int sock_no_open(struct inode *irrelevant, struct file *dontcare); static ssize_t sock_aio_read(struct kiocb *iocb, const struct iovec *iov,