Commit 30224392 authored by Krzysztof Hałasa's avatar Krzysztof Hałasa

WAN: remove SCA support from SCA-II drivers

Signed-off-by: default avatarKrzysztof Hałasa <khc@pm.waw.pl>
parent 88597364
This diff is collapsed.
...@@ -45,9 +45,6 @@ static const char* devname = "PC300"; ...@@ -45,9 +45,6 @@ static const char* devname = "PC300";
#define PC300_PLX_SIZE 0x80 /* PLX control window size (128 B) */ #define PC300_PLX_SIZE 0x80 /* PLX control window size (128 B) */
#define PC300_SCA_SIZE 0x400 /* SCA window size (1 KB) */ #define PC300_SCA_SIZE 0x400 /* SCA window size (1 KB) */
#define ALL_PAGES_ALWAYS_MAPPED
#define NEED_DETECT_RAM
#define NEED_SCA_MSCI_INTR
#define MAX_TX_BUFFERS 10 #define MAX_TX_BUFFERS 10
static int pci_clock_freq = 33000000; static int pci_clock_freq = 33000000;
...@@ -491,7 +488,7 @@ static int __devinit pc300_pci_init_one(struct pci_dev *pdev, ...@@ -491,7 +488,7 @@ static int __devinit pc300_pci_init_one(struct pci_dev *pdev,
pc300_pci_remove_one(pdev); pc300_pci_remove_one(pdev);
return -ENOBUFS; return -ENOBUFS;
} }
sca_init_sync_port(port); /* Set up SCA memory */ sca_init_port(port); /* Set up SCA memory */
printk(KERN_INFO "%s: PC300 node %d\n", printk(KERN_INFO "%s: PC300 node %d\n",
dev->name, port->phy_node); dev->name, port->phy_node);
......
...@@ -41,9 +41,6 @@ static const char* devname = "PCI200SYN"; ...@@ -41,9 +41,6 @@ static const char* devname = "PCI200SYN";
#define PCI200SYN_PLX_SIZE 0x80 /* PLX control window size (128b) */ #define PCI200SYN_PLX_SIZE 0x80 /* PLX control window size (128b) */
#define PCI200SYN_SCA_SIZE 0x400 /* SCA window size (1Kb) */ #define PCI200SYN_SCA_SIZE 0x400 /* SCA window size (1Kb) */
#define ALL_PAGES_ALWAYS_MAPPED
#define NEED_DETECT_RAM
#define NEED_SCA_MSCI_INTR
#define MAX_TX_BUFFERS 10 #define MAX_TX_BUFFERS 10
static int pci_clock_freq = 33000000; static int pci_clock_freq = 33000000;
...@@ -433,7 +430,7 @@ static int __devinit pci200_pci_init_one(struct pci_dev *pdev, ...@@ -433,7 +430,7 @@ static int __devinit pci200_pci_init_one(struct pci_dev *pdev,
pci200_pci_remove_one(pdev); pci200_pci_remove_one(pdev);
return -ENOBUFS; return -ENOBUFS;
} }
sca_init_sync_port(port); /* Set up SCA memory */ sca_init_port(port); /* Set up SCA memory */
printk(KERN_INFO "%s: PCI200SYN node %d\n", printk(KERN_INFO "%s: PCI200SYN node %d\n",
dev->name, port->phy_node); dev->name, port->phy_node);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment