diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-11-28 23:59:46 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-11-28 23:59:46 +0000 |
commit | 2612706dbdedc47a09b3d55694e5a0ae45da5431 (patch) | |
tree | 660420649bfaaad7808081141f49f2a2b02c6c03 /sys/arch/mvme88k | |
parent | 056871ecd9a3940fddb99394529c31947383b338 (diff) |
give scsi controllers a real attach args to fill in when attaching scsibus.
ok miod@ marco@ deraadt@
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/dev/vs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/vs.c b/sys/arch/mvme88k/dev/vs.c index 622e1c15961..2581b301b9c 100644 --- a/sys/arch/mvme88k/dev/vs.c +++ b/sys/arch/mvme88k/dev/vs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vs.c,v 1.62 2006/05/08 14:36:10 miod Exp $ */ +/* $OpenBSD: vs.c,v 1.63 2006/11/28 23:59:45 dlg Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. @@ -218,8 +218,11 @@ vsattach(struct device *parent, struct device *self, void *args) if (sc->sc_id[bus] < 0) continue; + bzero(&saa, sizeof(saa)); + saa.saa_sc_link = &sc->sc_link[bus]; + bootbus = bus; - config_found(self, &sc->sc_link[bus], scsiprint); + config_found(self, &saa, scsiprint); } bootpart = tmp; /* restore old values */ |