diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-03-17 00:47:07 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-03-17 00:47:07 +0000 |
commit | 6623b2526615353b1e4394ba4c58eeacac5c4883 (patch) | |
tree | 7cb3a3670bc9a0a8ae9063508b2906a8f8d9099a /sys/dev/ic/mpt.h | |
parent | ae7a8d837fc223764b4d9a9380aa80edfbc0d151 (diff) |
Reduce openings to avoid both usual 'EIO' problems in interrupt mode
and apparently some mpt specific problems. With this change installs
to my U320 disk work, and work *fast*.
Try to return XS_TIMEOUT for timeouts rather than XS_NOERROR.
Load on-board firmware. Currently v1.01.61 seems to work well, but
the latest 1.03.23 does not.
With these changes Marco and Milos torture chambers now report no
problems and we should be set for 3.5.
Mostly from Milos Urbanek and Marco Peereboom.
Diffstat (limited to 'sys/dev/ic/mpt.h')
-rw-r--r-- | sys/dev/ic/mpt.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/mpt.h b/sys/dev/ic/mpt.h index 89c629800c5..b79f32cf802 100644 --- a/sys/dev/ic/mpt.h +++ b/sys/dev/ic/mpt.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mpt.h,v 1.1 2004/03/06 03:03:07 krw Exp $ */ +/* $OpenBSD: mpt.h,v 1.2 2004/03/17 00:47:06 krw Exp $ */ /* $NetBSD: mpt.h,v 1.2 2003/07/08 10:06:31 itojun Exp $ */ /* @@ -177,6 +177,11 @@ void mpt_check_doorbell(mpt_softc_t *); int mpt_read_cfg_page(mpt_softc_t *, int, fCONFIG_PAGE_HEADER *); int mpt_write_cfg_page(mpt_softc_t *, int, fCONFIG_PAGE_HEADER *); +/* FW Download Boot */ +int mpt_do_upload(mpt_softc_t *); +int mpt_alloc_fw_mem(mpt_softc_t *, uint32_t , int); +void mpt_free_fw_mem(mpt_softc_t *); + /* mpt_debug.c functions */ void mpt_print_reply(void *); void mpt_print_db(u_int32_t); |