login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
December
»
25
Re: [PATCH] pcmcia: Add support P2CCLK bit enabler for TI PC1520
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Nobuhiro Iwamatsu <iwamatsu@...>
Cc: <linux-pcmcia@...>, <linux-sh@...>, <linux-kernel@...>
Subject:
Re: [PATCH] pcmcia: Add support P2CCLK bit enabler for TI PC1520
Date: Tuesday, December 25, 2007 - 6:04 pm
On Tue, 18 Dec 2007 18:57:24 +0900 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> wrote:
quoted text
> There is a device that doesn't work when P2CCLK's bit of TI PC1520 was disable. > This patch supports P2CCLK bit enabler for TI PC1520. > > ... > > config YENTA_TOSHIBA > default y > bool "Special initialization for Toshiba ToPIC bridges" if EMBEDDED > diff --git a/drivers/pcmcia/ti113x.h b/drivers/pcmcia/ti113x.h > index d29657b..ea749e8 100644 > --- a/drivers/pcmcia/ti113x.h > +++ b/drivers/pcmcia/ti113x.h > @@ -59,6 +59,7 @@ > #define TI122X_SCR_SER_STEP 0xc0000000 > #define TI122X_SCR_INTRTIE 0x20000000 > #define TIXX21_SCR_TIEALL 0x10000000 > +#define TI122X_SCR_P2CCLK 0x08000000 > #define TI122X_SCR_CBRSVD 0x00400000 > #define TI122X_SCR_MRBURSTDN 0x00008000 > #define TI122X_SCR_MRBURSTUP 0x00004000 > @@ -822,6 +823,13 @@ static int ti12xx_override(struct yenta_socket *socket) > printk(KERN_INFO "Yenta: Enabling burst memory read transactions\n"); > val |= TI122X_SCR_MRBURSTUP; > } > + > +#ifdef CONFIG_YENTA_TI_P2CCLK > + if ( !(val & TI122X_SCR_P2CCLK)) { > + printk(KERN_INFO "Yenta: Clock generated by internal oscillator\n"); > + val |= TI122X_SCR_P2CCLK; > + } > +#endif > if (val_orig != val) > config_writel(socket, TI113X_SYSTEM_CONTROL, val);
It would be much better if we cold do this without the config option: just detect the appropriate device and make it work. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: [PATCH] pcmcia: Add support P2CCLK bit enabler for TI PC...
, Andrew Morton
, (Tue Dec 25, 6:04 pm)
Re: [PATCH] pcmcia: Add support P2CCLK bit enabler for TI PC...
, Nobuhiro Iwamatsu
, (Fri Jan 11, 9:04 pm)
Re: [PATCH] pcmcia: Add support P2CCLK bit enabler for TI PC...
, Andrew Morton
, (Fri Jan 11, 9:33 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
Pekka Enberg
Re: [bug] mm/slab.c boot crash in -git, "kernel BUG at mm/slab.c:2103!"
Glauber de Oliveira Costa
[PATCH 08/79] [PATCH] use identify_boot_cpu
git
:
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
David Miller
[GIT]: Networking
Colocation donated by:
Who's online
There are currently
9 users
and
1173 guests
online.
Online users
nintendoshopon
zeekec
AdrianStamp
Marcionnm
lefthandedacou
datacablingixu
7figurecodegiv
mesotheliomayhb
registryreview
Syndicate