On AIX 5L,
Code the functions for switching between
graphics and text modes
in an appropriate place in the driver itself.
To simplify development and maintenance,
you should create a single table
that includes these hardware definitions
and can be called in the driver as needed.
routines can then call these hardware definitions
as part of the coding to switch between
graphics and text modes.