diff options
| author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2004-01-13 21:44:03 +0000 |
|---|---|---|
| committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2004-01-13 21:44:03 +0000 |
| commit | 0718ed926b9b6ca5feaa05b6d51cc1e02f8d5ab9 (patch) | |
| tree | 0fca0234c49e8debfdb808913557a6a568e2ac00 /sys/dev | |
| parent | c5fe6793bdd0dc76d134aad098769f3a4725d22c (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ida/ida_disk.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c index a960a33d00d01..1a015f95f6c25 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; |
