summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx/mlxio.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-03-18 02:01:37 +0000
committermsmith <msmith@FreeBSD.org>2000-03-18 02:01:37 +0000
commitef7f889e6b8b1ac3dae87ea74d30099c859698e6 (patch)
treee3c9f1e13fe884e56e8cc25ee9f32037f4a29176 /sys/dev/mlx/mlxio.h
parent29a5e54ca95e2cd3233dce4164ec4bd5b5554a1b (diff)
downloadFreeBSD-src-ef7f889e6b8b1ac3dae87ea74d30099c859698e6.zip
FreeBSD-src-ef7f889e6b8b1ac3dae87ea74d30099c859698e6.tar.gz
Update to the latest development version of the Mylex driver. Changes in
this version include: - Support for version 2.x firmware (2.42 or later recommended). This means we are the only open-source driver supporting these adapters. This code has only been tested on a Digital KZPCA adapter in an Alpha system, but is believed to be correct. NOTE: EISA adapters are not yet supported. - Support the BIOS/Firmware initialisation handshake protocol. This allows the driver to bring the card up to operational state even if the BIOS can't be run (eg. if it's an x86 BIOS in an Alpha system). - A working command pasthrough interface. This allows a user-space configuration tool (under development) to issue arbitrary commands to the controller or to devices in the system.
Diffstat (limited to 'sys/dev/mlx/mlxio.h')
-rw-r--r--sys/dev/mlx/mlxio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/mlx/mlxio.h b/sys/dev/mlx/mlxio.h
index eabeb50..984b223 100644
--- a/sys/dev/mlx/mlxio.h
+++ b/sys/dev/mlx/mlxio.h
@@ -79,6 +79,10 @@ struct mlx_usercommand
/* command */
u_int16_t mu_status; /* command status returned */
u_int8_t mu_command[16]; /* command mailbox contents */
+
+ /* wrapper */
+ int mu_error; /* result of submission to driver */
+
};
#define MLX_NEXT_CHILD _IOWR('M', 0, int)
@@ -86,3 +90,4 @@ struct mlx_usercommand
#define MLX_DETACH_DRIVE _IOW ('M', 2, int)
#define MLX_PAUSE_CHANNEL _IOW ('M', 3, struct mlx_pause)
#define MLX_COMMAND _IOWR('M', 4, struct mlx_usercommand)
+
OpenPOWER on IntegriCloud