Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334341
b: refs/heads/master
c: 49a94e9
h: refs/heads/master
i:
  334339: b41bd3e
v: v3
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed Oct 11, 2012
1 parent 971ddc1 commit 2a18acf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd9e8392c3353cf0c84ecc5443db5bbc1eebf861
refs/heads/master: 49a94e9482e70777ae0e03351a0c2c18bbdfebda
27 changes: 3 additions & 24 deletions trunk/arch/mips/sni/a20r.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,26 +118,6 @@ static struct resource sc26xx_rsrc[] = {
}
};

static unsigned int sc26xx_data[2] = {
/* DTR | RTS | DSR | CTS | DCD | RI */
(8 << 0) | (4 << 4) | (6 << 8) | (0 << 12) | (6 << 16) | (0 << 20),
(3 << 0) | (2 << 4) | (1 << 8) | (2 << 12) | (3 << 16) | (4 << 20)
};

static struct platform_device sc26xx_pdev = {
.name = "SC26xx",
.num_resources = ARRAY_SIZE(sc26xx_rsrc),
.resource = sc26xx_rsrc,
.dev = {
.platform_data = sc26xx_data,
}
};

#warning "Please try migrate to use new driver SCCNXP and report the status" \
"in the linux-serial mailing list."

/* The code bellow is a replacement of SC26XX to SCCNXP */
#if 0
#include <linux/platform_data/sccnxp.h>

static struct sccnxp_pdata sccnxp_data = {
Expand All @@ -155,15 +135,14 @@ static struct sccnxp_pdata sccnxp_data = {
MCTRL_SIG(RNG_IP, LINE_IP3),
};

static struct platform_device sc2681_pdev = {
static struct platform_device sc26xx_pdev = {
.name = "sc2681",
.resource = sc2xxx_rsrc,
.num_resources = ARRAY_SIZE(sc2xxx_rsrc),
.resource = sc26xx_rsrc,
.num_resources = ARRAY_SIZE(sc26xx_rsrc),
.dev = {
.platform_data = &sccnxp_data,
},
};
#endif

static u32 a20r_ack_hwint(void)
{
Expand Down

0 comments on commit 2a18acf

Please sign in to comment.