aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/aic7xxx/aic79xx.h
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>2003-06-06 23:48:19 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>2003-06-06 23:48:19 +0000
commit1d528d679252dcae621625abd0366f52d312fee8 (patch)
tree368ec8807c492474b680d3374d98c76ab05a04c4 /sys/dev/aic7xxx/aic79xx.h
parent0785ee125bcf75ef38349b034a0c43fe5bf76c8b (diff)
downloadsrc-1d528d679252dcae621625abd0366f52d312fee8.tar.gz
src-1d528d679252dcae621625abd0366f52d312fee8.zip
aic7770.c:
aic79xx.c: aic79xx.h: aic79xx_pci.c: aic7xxx.c: aic7xxx.h: aic7xxx_pci.c: Switch ah?_reset() to take an additional "reinit" argument. Use this instead of init_level to determin if the chip should be fully reinitialized after a chip reset. This is required so that ah?_shutdown() can reset the chip without side-effects. aic79xx.c: Implement ahd_suspend() and ahd_resume(). aic7xxx.c: Change ahc_loadseq() to *not* restart the sequencer. This brings the loadseq behavior in line with that of the 7902 driver and also simplifies the init routine. Correct the resume routine to enable interrupts and restart the sequencer.
Notes
Notes: svn path=/head/; revision=115917
Diffstat (limited to 'sys/dev/aic7xxx/aic79xx.h')
-rw-r--r--sys/dev/aic7xxx/aic79xx.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/aic7xxx/aic79xx.h b/sys/dev/aic7xxx/aic79xx.h
index 3fe4598dd664..c40dd873ef71 100644
--- a/sys/dev/aic7xxx/aic79xx.h
+++ b/sys/dev/aic7xxx/aic79xx.h
@@ -37,7 +37,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: aic79xx.h,v 1.11 2003/05/26 21:10:58 gibbs Exp $
+ * $Id: //depot/aic7xxx/aic7xxx/aic79xx.h#92 $
*
* $FreeBSD$
*/
@@ -1379,13 +1379,13 @@ struct scb *ahd_get_scb(struct ahd_softc *ahd, u_int col_idx);
void ahd_free_scb(struct ahd_softc *ahd, struct scb *scb);
void ahd_alloc_scbs(struct ahd_softc *ahd);
void ahd_free(struct ahd_softc *ahd);
-int ahd_reset(struct ahd_softc *ahd);
+int ahd_reset(struct ahd_softc *ahd, int reinit);
void ahd_shutdown(void *arg);
-int ahd_write_flexport(struct ahd_softc *ahd,
- u_int addr, u_int value);
-int ahd_read_flexport(struct ahd_softc *ahd, u_int addr,
- uint8_t *value);
-int ahd_wait_flexport(struct ahd_softc *ahd);
+int ahd_write_flexport(struct ahd_softc *ahd,
+ u_int addr, u_int value);
+int ahd_read_flexport(struct ahd_softc *ahd, u_int addr,
+ uint8_t *value);
+int ahd_wait_flexport(struct ahd_softc *ahd);
/*************************** Interrupt Services *******************************/
void ahd_pci_intr(struct ahd_softc *ahd);