diff options
Diffstat (limited to 'sys/dev/eisa/aha1742.c')
-rw-r--r-- | sys/dev/eisa/aha1742.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/eisa/aha1742.c b/sys/dev/eisa/aha1742.c index 588d97b12d7..5a6ca5bf687 100644 --- a/sys/dev/eisa/aha1742.c +++ b/sys/dev/eisa/aha1742.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aha1742.c,v 1.30 2009/01/21 21:53:59 grange Exp $ */ +/* $OpenBSD: aha1742.c,v 1.31 2009/02/16 21:19:06 miod Exp $ */ /* $NetBSD: aha1742.c,v 1.61 1996/05/12 23:40:01 mycroft Exp $ */ /* @@ -289,7 +289,7 @@ struct ahb_ecb *ahb_get_ecb(struct ahb_softc *, int); struct ahb_ecb *ahb_ecb_phys_kv(struct ahb_softc *, physaddr); int ahb_find(bus_space_tag_t, bus_space_handle_t, struct ahb_softc *); void ahb_init(struct ahb_softc *); -void ahbminphys(struct buf *); +void ahbminphys(struct buf *, struct scsi_link *); int ahb_scsi_cmd(struct scsi_xfer *); void ahb_timeout(void *); void ahb_print_ecb(struct ahb_ecb *); @@ -929,10 +929,8 @@ ahb_init(sc) } void -ahbminphys(bp) - struct buf *bp; +ahbminphys(struct buf *bp, struct scsi_link *sl) { - if (bp->b_bcount > ((AHB_NSEG - 1) << PGSHIFT)) bp->b_bcount = ((AHB_NSEG - 1) << PGSHIFT); minphys(bp); |