Re: Working towards 2.2.0: Cosmetics..

Mike (mike@oakley.keble.ox.ac.uk)
Wed, 6 Jan 1999 19:34:31 +0000 (GMT)


On Wed, 6 Jan 1999, Alan Cox wrote:

> > {
> > int e8390_base = dev->base_addr;
> > - struct ei_device *ei_local = (struct ei_device *) dev->priv;
> >
> > outb_p(E8390_NODMA+E8390_PAGE0, e8390_base+E8390_CMD);
> >
> > > awe_compat.h:181: warning: `my_realloc' defined but not used
> >
> > As far as I can see it is safe to remove this, but I'm prepared to be told
> > otherwise.
>
> It isnt safe to remove them. The E8390_* macros for some platforms use
> ei_local to get at a register mapping table (this is needed because on the
> Mac for example Dayna cards are 4*register spaced, Apple cards are 1* spaced
> but in reverse register order -- and so on)
>
Ooops. My bad.

-- 
Mike <rickettm@ox.compsoc.net>

Goda's Truism: By the time you get to the point where you can make ends meet, somebody moves the ends.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/