Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/arm/omap



On Sun, 05 Sep 2010 15:31:45 +0900 (JST)
KIYOHARA Takashi <kiyohara%kk.iij4u.or.jp@localhost> wrote:

> Hi! Adam,
> 
> 
> From: Adam Hoka <ahoka%netbsd.org@localhost>
> Date: Sat, 4 Sep 2010 16:23:48 +0000
> 
> > Module Name:        src
> > Committed By:       ahoka
> > Date:               Sat Sep  4 16:23:48 UTC 2010
> > 
> > Modified Files:
> >     src/sys/arch/arm/omap: omap2_gpmc.c omap2_gpmcvar.h
> > 
> > Log Message:
> > Add gpmc_register_read and gpmc_register_write to access registers
> > mapped by the gpmc driver (eg.: GPMC_CONFIG, GPMC_STATUS).
> > 
> > The driver should save the parent (gpmc) device's sc pointer
> > to be able to use these functions.
> 
> I think that I should be able to access it with this function doesn't
> have softc.
> For instance, u-boot of my Overo doesn't set ethernet.  Therefore, I
> operate GPMC_CONFIG7_4 in gxio.c for ethernet.

Why not in the ethernet driver?

-- 
NetBSD - Simplicity is prerequisite for reliability


Home | Main Index | Thread Index | Old Index