Chase the musical variable names.

Pointy hat to:	jhb
Reported by:	des
This commit is contained in:
jhb 2003-02-25 22:48:33 +00:00
parent 3a9a3e5e4d
commit 8c4aaea3e2

View File

@ -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);