Add ADM6996 switch driver

This fixes #5314
Thanks to Michael Richter

SVN-Revision: 16523
This commit is contained in:
Hauke Mehrtens 2009-06-20 18:44:24 +00:00
parent 5de80e6e28
commit 6e42b25c88
5 changed files with 7 additions and 13 deletions

View File

@ -1,6 +1,7 @@
CONFIG_32BIT=y
# CONFIG_64BIT is not set
# CONFIG_64BIT_PHYS_ADDR is not set
CONFIG_ADM6996_SUPPORT=y
CONFIG_AMAZON=y
CONFIG_AMAZON_ASC_UART=y
CONFIG_AMAZON_MTD=y

View File

@ -26,6 +26,10 @@ config AMAZON_MTD
bool "Amazon MTD map"
default y
config ADM6996_SUPPORT
bool "Amazon ADM6996 Switch driver"
default y
choice
prompt "Flash Size"
depends on AMAZON_MTD

View File

@ -928,7 +928,6 @@ static int ifx_sw_init(void)
int adm_open(struct inode *node, struct file *filp)
{
MOD_INC_USE_COUNT;
return 0;
}
@ -945,7 +944,6 @@ ssize_t adm_write(struct file *filep, const char *buf, size_t count, loff_t *ppo
/* close */
int adm_release(struct inode *inode, struct file *filp)
{
MOD_DEC_USE_COUNT;
return 0;
}

View File

@ -1,10 +0,0 @@
--- a/drivers/char/Makefile
+++ b/drivers/char/Makefile
@@ -104,6 +104,7 @@ obj-$(CONFIG_IPMI_HANDLER) += ipmi/
obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o
obj-$(CONFIG_TCG_TPM) += tpm/
+obj-$(CONFIG_AMAZONE_WDT) += amazone_wdt.o
# Files generated that shall be removed upon make clean
clean-files := consolemap_deftbl.c defkeymap.c

View File

@ -1,8 +1,9 @@
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -219,3 +219,5 @@ obj-$(CONFIG_NETCONSOLE) += netconsole.o
@@ -219,3 +219,6 @@ obj-$(CONFIG_NETCONSOLE) += netconsole.o
obj-$(CONFIG_FS_ENET) += fs_enet/
obj-$(CONFIG_NETXEN_NIC) += netxen/
+
+obj-$(CONFIG_AMAZON_NET_SW) += amazon_sw.o
+obj-$(CONFIG_ADM6996_SUPPORT) += admmod.o