Add an ISA attachement to the aic7xxx driver to handle 284X controllers.
authorPeter Avalos <pavalos@dragonflybsd.org>
Fri, 6 Jul 2007 04:56:22 +0000 (04:56 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Fri, 6 Jul 2007 04:56:22 +0000 (04:56 +0000)
commitdff3fb2da8801ae8ef36d66013dc129bfab9b4a2
treeb8c1cda969e31e2d5819056bfe995edb6073463f
parent499c3b17a1e4f0e3e362cae537932b1c2ba97949
Add an ISA attachement to the aic7xxx driver to handle 284X controllers.
The ISA probe uses an identify routine to probe all slot locations from
1 to 14 that do not conflict with other allocated resources.  This required
making aic7770.c part of the driver core when compiled as a module.

aic7xxx.c:
aic79xx.c:
aic_osm_lib.c:
        Use aic_scb_timer_start() consistently to start the watchdog timer.
        This removes a few places that verbatum copied the code in
        aic_scb_timer_start().

        During recovery processing, allow commands to still be queued to
        the controller.  The only requirement we have is that our recovery
        command be queued first - something the code already guaranteed.
        The only other change required to make this work is to prevent
        timers from being started for these newly queued commands.

Obtained-from: FreeBSD
15 files changed:
sys/dev/disk/aic7xxx/ahc/Makefile
sys/dev/disk/aic7xxx/ahc/ahc_eisa/Makefile
sys/dev/disk/aic7xxx/ahc/ahc_isa/Makefile [new file with mode: 0644]
sys/dev/disk/aic7xxx/ahc_eisa.c
sys/dev/disk/aic7xxx/ahc_isa.c [new file with mode: 0644]
sys/dev/disk/aic7xxx/ahc_pci.c
sys/dev/disk/aic7xxx/aic79xx.c
sys/dev/disk/aic7xxx/aic79xx.h
sys/dev/disk/aic7xxx/aic79xx_osm.c
sys/dev/disk/aic7xxx/aic7xxx.c
sys/dev/disk/aic7xxx/aic7xxx.h
sys/dev/disk/aic7xxx/aic7xxx_osm.c
sys/dev/disk/aic7xxx/aic7xxx_osm.h
sys/dev/disk/aic7xxx/aic_osm_lib.c
sys/dev/disk/aic7xxx/aic_osm_lib.h