diff options
author | 2006-11-28 23:59:45 +0000 | |
---|---|---|
committer | 2006-11-28 23:59:45 +0000 | |
commit | 73d09fc56bd87109cdbe2d90369b3c6a93a5e94e (patch) | |
tree | 489a1b920e2f327a4553184e9dddca9852de0863 /sys/scsi/scsiconf.c | |
parent | I just don't know why I decided to set block count to 512 unconditionaly (diff) | |
download | wireguard-openbsd-73d09fc56bd87109cdbe2d90369b3c6a93a5e94e.tar.xz wireguard-openbsd-73d09fc56bd87109cdbe2d90369b3c6a93a5e94e.zip |
give scsi controllers a real attach args to fill in when attaching scsibus.
ok miod@ marco@ deraadt@
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r-- | sys/scsi/scsiconf.c | 5 |
1 files changed, 3 insertions, 2 deletions
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) |