Subject: Re: ym driver
To: None <M.Drochner@fz-juelich.de>
From: Soren S. Jorvang <firstname.lastname@example.org>
Date: 09/22/1999 16:27:17
On Wed, Sep 22, 1999 at 02:07:07PM +0200, Matthias Drochner wrote:
> email@example.com said:
> > EISA ID: PNP0C01
> > mem: 0-9ffff flags b mem: f0000-fffff flags a mem: 100000-400ffff
> > flags b\
> > mem: 4010000-403ffff flags a mem: fff00000-ffffffff flags a\
> > mem: fef80000-feffffff flags a
> Another board which doesn't follow the specs. Normally,
> only 4 memory ranges per device are allowed.
> Soren obviously increased the limits...
> (Did you use a fixed limit or something dynamic?)
I just bumped the constants.
#define PNP_MAXMEM 16
#define PNP_MAXIOPORT 32
#define PNP_MAXIRQ 2
#define PNP_MAXDMA 2
I think I tried looking at other pnpbios-using code for reference,
but I can't remember if I was successful or if I just grabbed the
numbers of out thin air :-)