summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpt/mpt.h
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2002-09-01 23:07:09 +0000
committermjacob <mjacob@FreeBSD.org>2002-09-01 23:07:09 +0000
commitc4f4388714c70defac789b47c61eeb2c9c3f4270 (patch)
treecf9bf95c96a327d724863ec5954b144ff6ecaaa6 /sys/dev/mpt/mpt.h
parentd1187c90afd441c98d79b669acd3cc5edf2c83ed (diff)
downloadFreeBSD-src-c4f4388714c70defac789b47c61eeb2c9c3f4270.zip
FreeBSD-src-c4f4388714c70defac789b47c61eeb2c9c3f4270.tar.gz
Fix things so that:
a) we don't believe what the board tells us all the time (if the BIOS hasn't run, port page 2 and port page 0 tend to be garbage) b) add the missing code to set parameters for the SPI cards. MFC after: 0 days
Diffstat (limited to 'sys/dev/mpt/mpt.h')
-rw-r--r--sys/dev/mpt/mpt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/mpt/mpt.h b/sys/dev/mpt/mpt.h
index 2ec76e3..e0ccdd3 100644
--- a/sys/dev/mpt/mpt.h
+++ b/sys/dev/mpt/mpt.h
@@ -150,7 +150,6 @@ int mpt_soft_reset(mpt_softc_t *mpt);
void mpt_hard_reset(mpt_softc_t *mpt);
int mpt_recv_handshake_reply(mpt_softc_t *mpt, size_t reply_len, void *reply);
-
void mpt_send_cmd(mpt_softc_t *mpt, request_t *req);
void mpt_free_reply(mpt_softc_t *mpt, u_int32_t ptr);
void mpt_enable_ints(mpt_softc_t *mpt);
@@ -164,6 +163,9 @@ void mpt_free_request(mpt_softc_t *mpt, request_t *req);
int mpt_intr(void *dummy);
void mpt_check_doorbell(mpt_softc_t * mpt);
+int mpt_read_cfg_page(mpt_softc_t *, int, fCONFIG_PAGE_HEADER *);
+int mpt_write_cfg_page(mpt_softc_t *, int, fCONFIG_PAGE_HEADER *);
+
/* mpt_debug.c functions */
void mpt_print_reply(void *vmsg);
void mpt_print_db(u_int32_t mb);
OpenPOWER on IntegriCloud