Source-Changes archive

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

Re: CVS commit: syssrc/sys/dev/pci



On Tue, Oct 29, 2002 at 11:47:37AM -0500, Perry E. Metzger wrote:
> 
> Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost> writes:
> > In article <20021029163659.GA7095@krishna>
> > junyoung%mogua.com@localhost wrote:
> > 
> > > #ifdef __sparc__ can't easily be avoided in machfb.c, since i386 and 
> > > sparc64 have very different boot process. As you might know, this change
> > > was basically to reduce the number of #ifdef __sparc__ (from 7 to 5).
> > 
> > Can't some of these code be moved to MD consinit()?
> 
> And if it could not, could we not invent a new MD API to move these
> things to?

One API would be needed that returns the current type of console,
whether normal or serial. By using it, it is possible to remove all of
remaining #ifdef __sparc__ from machfb.c, and also some from
igsfb.c. However, I have no idea how to implement it right now.

Jun-Young

-- 
Bang Jun-Young <junyoung%mogua.com@localhost>



Home | Main Index | Thread Index | Old Index