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/mlx/mlx_pci.c | |
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/mlx/mlx_pci.c')
-rw-r--r-- | sys/dev/mlx/mlx_pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mlx/mlx_pci.c b/sys/dev/mlx/mlx_pci.c index 23bf53d..28f6463 100644 --- a/sys/dev/mlx/mlx_pci.c +++ b/sys/dev/mlx/mlx_pci.c @@ -189,7 +189,8 @@ mlx_pci_attach(device_t dev) BUS_SPACE_MAXADDR_32BIT, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ - MAXBSIZE, MLX_NSEG, /* maxsize, nsegments */ + BUS_SPACE_MAXSIZE_32BIT, /* maxsize */ + BUS_SPACE_UNRESTRICTED, /* nsegments */ BUS_SPACE_MAXSIZE_32BIT, /* maxsegsize */ BUS_DMA_ALLOCNOW, /* flags */ NULL, /* lockfunc */ |