[tulip] Changing MAX_UNITS to a configurable value?
Donald Becker
becker@scyld.com
Mon Dec 24 02:17:00 2001
On Mon, 24 Dec 2001, Ben Greear wrote:
> Donald Becker wrote:
> > On Sun, 23 Dec 2001, Ben Greear wrote:
> Actually, it would probably make more sense to have some more global
> settings that influenced all (most) drivers. For instance, for buffer
> sizes: 'small', 'big', 'huge' (and let individual drivers deal with
> their internals to keep powers-of-two and/or cache alignment tweakings
> in order...) We could have another setting to influence the number of
> devices the drivers can support 'few' /* 0-4 */, 'several' /* 0-8 */,
> 'many' /* 0-24 */, 'bunches'/* 0-64 */
I don't see that this makes sense.
> > #define MAX_UNITS 8 /* More are supported, limit only on options */
> Hrm, maybe I have a PCI/Card problem then. I see 8 ports (two of the
> 3 4-port NICs), but not the last 4 ports. lspci does not show them
> either. Does that mean anything to you?
The interface handling code in the kernel might have a limit, or the
tulip driver you are using might have one. You could try my driver to
check the latter.
Donald Becker becker@scyld.com
Scyld Computing Corporation http://www.scyld.com
410 Severn Ave. Suite 210 Second Generation Beowulf Clusters
Annapolis MD 21403 410-990-9993