diff options
author | mav <mav@FreeBSD.org> | 2015-03-22 16:10:28 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-03-22 16:10:28 +0000 |
commit | 346273b3b261e7e750cc49355b25c72c654b72f1 (patch) | |
tree | a46bd5b9cabd421b2112c53ef637b54114865854 /sys/dev/trm | |
parent | 6b287b9c19515c0b5e97d4273bd836a784e2c4b6 (diff) | |
download | FreeBSD-src-346273b3b261e7e750cc49355b25c72c654b72f1.zip FreeBSD-src-346273b3b261e7e750cc49355b25c72c654b72f1.tar.gz |
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.
MFC after: 1 month
Diffstat (limited to 'sys/dev/trm')
-rw-r--r-- | sys/dev/trm/trm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/trm/trm.c b/sys/dev/trm/trm.c index d12b382..f86523e 100644 --- a/sys/dev/trm/trm.c +++ b/sys/dev/trm/trm.c @@ -3381,7 +3381,7 @@ trm_init(u_int16_t unit, device_t dev) /*highaddr*/ BUS_SPACE_MAXADDR, /*filter*/ NULL, /*filterarg*/ NULL, - /*maxsize*/ MAXBSIZE, + /*maxsize*/ TRM_MAXPHYS, /*nsegments*/ TRM_NSEG, /*maxsegsz*/ TRM_MAXTRANSFER_SIZE, /*flags*/ BUS_DMA_ALLOCNOW, |