summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ida/ida_disk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c
index a960a33..1a015f9 100644
--- a/sys/dev/ida/ida_disk.c
+++ b/sys/dev/ida/ida_disk.c
@@ -177,6 +177,7 @@ idad_attach(device_t dev)
drv = (struct idad_softc *)device_get_softc(dev);
parent = device_get_parent(dev);
+ drv->dev = dev;
drv->controller = (struct ida_softc *)device_get_softc(parent);
drv->unit = device_get_unit(dev);
drv->drive = drv->controller->num_drives;
OpenPOWER on IntegriCloud