diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2003-02-23 19:16:53 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-02-23 19:16:53 +0000 |
| commit | 40578dc8ce3b404793f52b086c5e26b04da39c5f (patch) | |
| tree | b3ab86cdd506b974b0e87f8a7cf758d3cdbf168b /sys/dev/advansys/advlib.c | |
| parent | 8eb4e096d5d5487a7a100f2cd24575bab2cee8aa (diff) | |
Notes
Diffstat (limited to 'sys/dev/advansys/advlib.c')
| -rw-r--r-- | sys/dev/advansys/advlib.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/dev/advansys/advlib.c b/sys/dev/advansys/advlib.c index d8a35abfe3f9..e6e022683257 100644 --- a/sys/dev/advansys/advlib.c +++ b/sys/dev/advansys/advlib.c @@ -257,6 +257,8 @@ adv_sgcount_to_qcount(int sgcount) return (n_sg_list_qs + 1); } +static void adv_adj_endian_qdone_info(struct adv_q_done_info *); +static void adv_adj_scsiq_endian(struct adv_scsi_q *); static void adv_get_q_info(struct adv_softc *adv, u_int16_t s_addr, u_int16_t *inbuf, int words); static u_int adv_get_num_free_queues(struct adv_softc *adv, u_int8_t n_qs); @@ -1867,6 +1869,22 @@ adv_put_scsiq(struct adv_softc *adv, u_int16_t s_addr, } } +#if BYTE_ORDER == BIG_ENDIAN +void +adv_adj_endian_qdone_info(struct adv_q_done_info *scsiq) +{ + + panic("adv(4) not supported on big-endian machines.\n"); +} + +void +adv_adj_scsiq_endian(struct adv_scsi_q *scsiq) +{ + + panic("adv(4) not supported on big-endian machines.\n"); +} +#endif + static void adv_handle_extmsg_in(struct adv_softc *adv, u_int16_t halt_q_addr, u_int8_t q_cntl, target_bit_vector target_mask, |
