summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-11-28 16:56:51 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-11-28 16:56:51 +0000
commita2b89950083bdd2ab50fefa356dcd663f39480ad (patch)
tree44560b603989c7bab42f3165f1d491f5ff3a8083 /sys/scsi/scsiconf.c
parentfcec0b3ab3f61e28b16f2e7257a67da02436784f (diff)
rename scsibus_attach_args to scsi_attach_args. this can help avoid
confusing when trying to attach scsibus to a hba, since it is really meant for attaching scsi devices to scsibus. ok deraadt@ marco@
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r--sys/scsi/scsiconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 71547f25fbb..af21d61a4ec 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.121 2006/11/27 18:32:33 dlg Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.122 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -220,7 +220,7 @@ int
scsibussubmatch(struct device *parent, void *match, void *aux)
{
struct cfdata *cf = match;
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *sc_link = sa->sa_sc_link;
if (cf->cf_loc[0] != -1 && cf->cf_loc[0] != sc_link->target)
@@ -581,7 +581,7 @@ const struct scsi_quirk_inquiry_pattern scsi_quirk_patterns[] = {
int
scsibusprint(void *aux, const char *pnp)
{
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_inquiry_data *inqbuf;
u_int8_t type;
int removable;
@@ -693,7 +693,7 @@ scsi_probedev(struct scsibus_softc *scsi, int target, int lun)
{
const struct scsi_quirk_inquiry_pattern *finger;
static struct scsi_inquiry_data inqbuf;
- struct scsibus_attach_args sa;
+ struct scsi_attach_args sa;
struct scsi_link *sc_link;
struct cfdata *cf;
int priority, rslt = 0;