diff options
author | mav <mav@FreeBSD.org> | 2015-04-21 11:27:50 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-04-21 11:27:50 +0000 |
commit | ad311f67aaa6771c007f5046d032924146784a23 (patch) | |
tree | d17cb3a5b3032710bfcc1c88aa4bc18945c01c4d /sys/dev/buslogic | |
parent | 48e295fadf174a12313b8228f727a9197df52ca9 (diff) | |
download | FreeBSD-src-ad311f67aaa6771c007f5046d032924146784a23.zip FreeBSD-src-ad311f67aaa6771c007f5046d032924146784a23.tar.gz |
MFC r280347: Remove MAXBSIZE use from drivers where it has nothing to do.
In some cases limits are just not needed, in others -- DFLTPHYS is the
right constant to use instead.
Diffstat (limited to 'sys/dev/buslogic')
-rw-r--r-- | sys/dev/buslogic/bt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/buslogic/bt.c b/sys/dev/buslogic/bt.c index c385a18..d497b67 100644 --- a/sys/dev/buslogic/bt.c +++ b/sys/dev/buslogic/bt.c @@ -728,7 +728,7 @@ bt_init(device_t dev) /* highaddr */ BUS_SPACE_MAXADDR, /* filter */ NULL, /* filterarg */ NULL, - /* maxsize */ MAXBSIZE, + /* maxsize */ DFLTPHYS, /* nsegments */ BT_NSEG, /* maxsegsz */ BUS_SPACE_MAXSIZE_32BIT, /* flags */ BUS_DMA_ALLOCNOW, |