summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx/mlx_disk.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-12-22 01:21:28 +0000
committermsmith <msmith@FreeBSD.org>1999-12-22 01:21:28 +0000
commit84a1c51a20fd7906da50daf7f340ba1008ec04e7 (patch)
tree4336a5b251cf220a7b17e9698b586c834b2448e4 /sys/dev/mlx/mlx_disk.c
parentd55ac72ab6851d040ca79a49de956347c872ed78 (diff)
downloadFreeBSD-src-84a1c51a20fd7906da50daf7f340ba1008ec04e7.zip
FreeBSD-src-84a1c51a20fd7906da50daf7f340ba1008ec04e7.tar.gz
Updates resulting from new documentation from Mylex and some cleaning:
- Don't keep private copies of some of the data fields from the ENQUIRY and ENQUIRY2 commands. Instead, standardise on the ENQUIRY2 command for initial adapter information, and keep a copy of the entire structure. Refer to it where appropriate. - Move all of the controller description functionality into a new function. Print lots more controller data if bootverbose is set. Add knowledge of the DAC960 PR, PT, PTL0 and PRL controllers, rename the 960PTL -> PTL0 and 1100P -> 1100PVX. - Correctly terminate an error message. The controller interface procedures have been reviewed against the Mylex-supplied documentation; no changes appear necessary at this time.
Diffstat (limited to 'sys/dev/mlx/mlx_disk.c')
-rw-r--r--sys/dev/mlx/mlx_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx/mlx_disk.c b/sys/dev/mlx/mlx_disk.c
index 9624a9a..acd3d79 100644
--- a/sys/dev/mlx/mlx_disk.c
+++ b/sys/dev/mlx/mlx_disk.c
@@ -281,7 +281,7 @@ mlxd_attach(device_t dev)
disks_registered++;
/* set maximum I/O size */
- dsk->si_iosize_max = sc->mlxd_controller->mlx_maxiosize * MLX_BLKSIZE;
+ dsk->si_iosize_max = sc->mlxd_controller->mlx_enq2->me_maxblk * MLX_BLKSIZE;
return (0);
}
OpenPOWER on IntegriCloud