From f01f2af67aa189212ce5ca61db43bb7292bad17f Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Sat, 16 Oct 1999 01:46:59 +0000 Subject: Save the drive device_t correctly so we can print it later. The drive number is 5 bits, not 4, in the read/write command. --- sys/dev/mlx/mlx_disk.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/mlx/mlx_disk.c') diff --git a/sys/dev/mlx/mlx_disk.c b/sys/dev/mlx/mlx_disk.c index 9e2f571e4069..20d013609fc7 100644 --- a/sys/dev/mlx/mlx_disk.c +++ b/sys/dev/mlx/mlx_disk.c @@ -253,6 +253,7 @@ mlxd_attach(device_t dev) sc->mlxd_controller = (struct mlx_softc *)device_get_softc(parent); sc->mlxd_unit = device_get_unit(dev); sc->mlxd_drive = device_get_ivars(dev); + sc->mlxd_dev = dev; switch(sc->mlxd_drive->ms_state) { case MLX_SYSD_ONLINE: -- cgit v1.3