summaryrefslogtreecommitdiffstats
path: root/sys/scsi/ses.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2006-11-28 16:56:50 +0000
committerdlg <dlg@openbsd.org>2006-11-28 16:56:50 +0000
commita083778906f28c63d41cca764e5f50ebc98d5df5 (patch)
tree349d62ebbda705ad6389fef6491f3e3b09ce69fc /sys/scsi/ses.c
parent-T in synopsis and briefly in manpage (diff)
downloadwireguard-openbsd-a083778906f28c63d41cca764e5f50ebc98d5df5.tar.xz
wireguard-openbsd-a083778906f28c63d41cca764e5f50ebc98d5df5.zip
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/ses.c')
-rw-r--r--sys/scsi/ses.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/ses.c b/sys/scsi/ses.c
index b7a5e77bb6b..7ad1f6d7418 100644
--- a/sys/scsi/ses.c
+++ b/sys/scsi/ses.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ses.c,v 1.40 2006/10/01 10:42:18 grange Exp $ */
+/* $OpenBSD: ses.c,v 1.41 2006/11/28 16:56:50 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -120,7 +120,7 @@ char *ses_dump_enc_string(u_char *, ssize_t);
int
ses_match(struct device *parent, void *match, void *aux)
{
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_inquiry_data *inq = sa->sa_inqbuf;
if (inq == NULL)
@@ -142,7 +142,7 @@ void
ses_attach(struct device *parent, struct device *self, void *aux)
{
struct ses_softc *sc = (struct ses_softc *)self;
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
char vendor[33];
struct ses_sensor *sensor;
#if NBIO > 0