From 2612706dbdedc47a09b3d55694e5a0ae45da5431 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Tue, 28 Nov 2006 23:59:46 +0000 Subject: give scsi controllers a real attach args to fill in when attaching scsibus. ok miod@ marco@ deraadt@ --- sys/scsi/scsiconf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/scsi/scsiconf.c') diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c index af21d61a4ec..1e77ffda3d3 100644 --- a/sys/scsi/scsiconf.c +++ b/sys/scsi/scsiconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.c,v 1.122 2006/11/28 16:56:50 dlg Exp $ */ +/* $OpenBSD: scsiconf.c,v 1.123 2006/11/28 23:59:45 dlg Exp $ */ /* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */ /* @@ -140,7 +140,8 @@ void scsibusattach(struct device *parent, struct device *self, void *aux) { struct scsibus_softc *sb = (struct scsibus_softc *)self; - struct scsi_link *sc_link_proto = aux; + struct scsibus_attach_args *saa = aux; + struct scsi_link *sc_link_proto = saa->saa_sc_link; int nbytes, i; if (!cold) -- cgit v1.2.3