Installing the Inition INI9100U drivers and linking them into the kernel
is a relatively simple process.  The procedure outlined here is based
on the 2.0.30 kernel but may be expected to apply to other kernel versions.
If you encounter inconsistancies with this procedure pattern your
modifications to the configuration files after those lines that would
apply to another host adapter.

The INI9100U driver is contained in three files:

  ini9100u.h  Header file defining structures and routines

  ini9100u.c  Kernel interface routines

  ini9100u.lib  Low level routines interacting directly with the
      host adapter hardware.

The files that need to be modified are:

  hosts.c   scsi_hosts array defining host adapters in kernel

  Config.in Kernel configuration template used by make config
      et al allowing you to select drivers to be included
      in the kernel.

  Makefile  Refer to make(1).

Here a numbered sequence of steps needed to incorporate the INI9100U driver
into the kernel source.  (yes some of them may be executed in any sequence.)

1. cp ini9100u.h ini9100u.c ini9100u.lib /usr/src/linux/drivers/scsi/

2. cd /usr/src/linux/drivers/scsi

3. edit Config.in

  After the lines
mainmenu_option next_comment
comment 'SCSI low-level drivers'

  insert
bool 'Initio INI9100U support' CONFIG_SCSI_INI9100U $CONFIG_SCSI


4. Edit Makefile

  before the line
ifeq ($(CONFIG_SCSI_DEBUG),y)

  insert
ifeq ($(CONFIG_SCSI_INI9100U),y)
L_OBJS += ini9100u.o ini9100u.lib
endif

5. edit hosts.c

  after the line
#include "hosts.h"

  insert
#ifdef CONFIG_SCSI_INI9100U
#include "ini9100u.h"
#endif

  after the lines
static Scsi_Host_Template builtin_scsi_hosts[] =
{

  insert
#ifdef CONFIG_SCSI_INI9100U
    INI9100U,
#endif



6. cd /usr/src/linux

7. Configure and make the kernel.  See the directions that come with your
distribution or /usr/src/linux/README


