Index: [thread] [date] [subject] [author]
  From: Brian Julin <bri@forcade.calyx.net>
  To  : ggi-develop@eskimo.com
  Date: Sun, 2 Aug 1998 09:49:06 -0400 (EDT)

Re: Multiple boards.

On Sun, 2 Aug 1998, Wolf Shaman wrote:

> Should a single driver handle all detected instances of that board?

This would be more efficient yes.  Would be nice too if the S3 driver
could be made into a core that can have code linked in from the more
primitive S3 based chipsets and handle them all together.

> but first, how should multiple cards be handled?

The driver should call a register_display for each.  But this is complicated
by the fact that each display has to have it's own set of subsystems;
the symbols can't be conflicting like they are now in some drivers --
there needs to be e.g. a mach64_set_mode rather than chipset_set_mode,
with chipset_set_mode defined outside the subsystem object, 
multiplexing the various <chipset>_set_mode functions.

For kgicon, it would be peachy too to call register_fb inside
register_display and have one fb device for each disaply...

--
Brian S. Julin

Index: [thread] [date] [subject] [author]