Deleted Added
full compact
mpt.h (102822) mpt.h (115778)
1/* $FreeBSD: head/sys/dev/mpt/mpt.h 102822 2002-09-01 23:07:09Z mjacob $ */
1/* $FreeBSD: head/sys/dev/mpt/mpt.h 115778 2003-06-03 17:47:48Z mjacob $ */
2/*
3 * Generic defines for LSI '909 FC adapters.
4 * FreeBSD Version.
5 *
6 * Copyright (c) 2000, 2001 by Greg Ansley
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 148 unchanged lines hidden (view full) ---

158int mpt_init(mpt_softc_t *mpt, u_int32_t who);
159int mpt_reset(mpt_softc_t *mpt);
160int mpt_send_handshake_cmd(mpt_softc_t *mpt, size_t len, void *cmd);
161request_t * mpt_get_request(mpt_softc_t *mpt);
162void mpt_free_request(mpt_softc_t *mpt, request_t *req);
163int mpt_intr(void *dummy);
164void mpt_check_doorbell(mpt_softc_t * mpt);
165
2/*
3 * Generic defines for LSI '909 FC adapters.
4 * FreeBSD Version.
5 *
6 * Copyright (c) 2000, 2001 by Greg Ansley
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 148 unchanged lines hidden (view full) ---

158int mpt_init(mpt_softc_t *mpt, u_int32_t who);
159int mpt_reset(mpt_softc_t *mpt);
160int mpt_send_handshake_cmd(mpt_softc_t *mpt, size_t len, void *cmd);
161request_t * mpt_get_request(mpt_softc_t *mpt);
162void mpt_free_request(mpt_softc_t *mpt, request_t *req);
163int mpt_intr(void *dummy);
164void mpt_check_doorbell(mpt_softc_t * mpt);
165
166int mpt_read_cfg_page(mpt_softc_t *, int, fCONFIG_PAGE_HEADER *);
167int mpt_write_cfg_page(mpt_softc_t *, int, fCONFIG_PAGE_HEADER *);
166int mpt_read_cfg_page(mpt_softc_t *, int, CONFIG_PAGE_HEADER *);
167int mpt_write_cfg_page(mpt_softc_t *, int, CONFIG_PAGE_HEADER *);
168
169/* mpt_debug.c functions */
170void mpt_print_reply(void *vmsg);
171void mpt_print_db(u_int32_t mb);
172void mpt_print_config_reply(void *vmsg);
173char *mpt_ioc_diag(u_int32_t diag);
174char *mpt_req_state(enum mpt_req_state state);
175void mpt_print_scsi_io_request(MSG_SCSI_IO_REQUEST *msg);
176void mpt_print_config_request(void *vmsg);
177void mpt_print_request(void *vmsg);
178#endif
179#endif /* _MPT_H_ */
168
169/* mpt_debug.c functions */
170void mpt_print_reply(void *vmsg);
171void mpt_print_db(u_int32_t mb);
172void mpt_print_config_reply(void *vmsg);
173char *mpt_ioc_diag(u_int32_t diag);
174char *mpt_req_state(enum mpt_req_state state);
175void mpt_print_scsi_io_request(MSG_SCSI_IO_REQUEST *msg);
176void mpt_print_config_request(void *vmsg);
177void mpt_print_request(void *vmsg);
178#endif
179#endif /* _MPT_H_ */