diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2003-02-25 22:48:33 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2003-02-25 22:48:33 +0000 |
| commit | fe6301c61c03f767374657e058161780e60be77d (patch) | |
| tree | 61b3045bdd8cf0e3c1bb3d6f62802047662960d8 /sys/dev/mlx/mlx_disk.c | |
| parent | 0bd5f7979d65671956d8390b1439fd685135d9f5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/mlx/mlx_disk.c')
| -rw-r--r-- | sys/dev/mlx/mlx_disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mlx/mlx_disk.c b/sys/dev/mlx/mlx_disk.c index 9725e04a3671..f660924883c5 100644 --- a/sys/dev/mlx/mlx_disk.c +++ b/sys/dev/mlx/mlx_disk.c @@ -238,11 +238,11 @@ mlxd_attach(device_t dev) * maximum except on v2 cards where the maximum is set to 8 pages. */ if (sc->mlxd_controller->mlx_iftype == MLX_IFTYPE_2) - dsk->si_iosize_max = 8 * PAGE_SIZE; + sc->mlxd_disk.d_maxsize = 8 * PAGE_SIZE; else { s1 = sc->mlxd_controller->mlx_enq2->me_maxblk * MLX_BLKSIZE; s2 = (sc->mlxd_controller->mlx_enq2->me_max_sg - 1) * PAGE_SIZE; - dsk->si_iosize_max = imin(s1, s2); + sc->mlxd_disk.d_maxsize = imin(s1, s2); } disk_create(sc->mlxd_unit, &sc->mlxd_disk, 0, NULL, NULL); |
