summaryrefslogtreecommitdiff
path: root/sys/arch
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/arch
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/arch')
-rw-r--r--sys/arch/alpha/alpha/api_up1000.c4
-rw-r--r--sys/arch/alpha/alpha/dec_1000a.c4
-rw-r--r--sys/arch/alpha/alpha/dec_2100_a50.c4
-rw-r--r--sys/arch/alpha/alpha/dec_3000_300.c4
-rw-r--r--sys/arch/alpha/alpha/dec_3000_500.c4
-rw-r--r--sys/arch/alpha/alpha/dec_550.c4
-rw-r--r--sys/arch/alpha/alpha/dec_6600.c4
-rw-r--r--sys/arch/alpha/alpha/dec_axppci_33.c4
-rw-r--r--sys/arch/alpha/alpha/dec_eb164.c4
-rw-r--r--sys/arch/alpha/alpha/dec_eb64plus.c4
-rw-r--r--sys/arch/alpha/alpha/dec_kn20aa.c4
-rw-r--r--sys/arch/hp300/hp300/autoconf.c4
-rw-r--r--sys/arch/hppa/hppa/autoconf.c4
-rw-r--r--sys/arch/hppa64/hppa64/autoconf.c4
-rw-r--r--sys/arch/luna88k/luna88k/autoconf.c4
-rw-r--r--sys/arch/mvme68k/mvme68k/autoconf.c4
-rw-r--r--sys/arch/mvme88k/mvme88k/autoconf.c4
-rw-r--r--sys/arch/sparc/sparc/autoconf.c4
-rw-r--r--sys/arch/sparc64/sparc64/autoconf.c4
-rw-r--r--sys/arch/vax/vax/autoconf.c4
20 files changed, 40 insertions, 40 deletions
diff --git a/sys/arch/alpha/alpha/api_up1000.c b/sys/arch/alpha/alpha/api_up1000.c
index 4b9042c52a0..244fe78d0c3 100644
--- a/sys/arch/alpha/alpha/api_up1000.c
+++ b/sys/arch/alpha/alpha/api_up1000.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: api_up1000.c,v 1.7 2004/07/18 02:29:11 deraadt Exp $ */
+/* $OpenBSD: api_up1000.c,v 1.8 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: api_up1000.c,v 1.4 2000/06/20 03:48:53 matt Exp $ */
/*
@@ -220,7 +220,7 @@ api_up1000_device_register(dev, aux)
(!strcmp(cd->cd_name, "sd") ||
!strcmp(cd->cd_name, "st") ||
!strcmp(cd->cd_name, "cd"))) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
if (parent->dv_parent != scsidev)
return;
diff --git a/sys/arch/alpha/alpha/dec_1000a.c b/sys/arch/alpha/alpha/dec_1000a.c
index 8c0162d06e1..76a6b3b3605 100644
--- a/sys/arch/alpha/alpha/dec_1000a.c
+++ b/sys/arch/alpha/alpha/dec_1000a.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_1000a.c,v 1.3 2005/05/09 21:55:12 martin Exp $ */
+/* $OpenBSD: dec_1000a.c,v 1.4 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: dec_1000a.c,v 1.14 2001/06/05 04:53:11 thorpej Exp $ */
/*
@@ -319,7 +319,7 @@ dec_1000a_device_register(dev, aux)
if (!strcmp(cd->cd_name, "sd") || !strcmp(cd->cd_name, "st") ||
!strcmp(cd->cd_name, "cd")) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *periph = sa->sa_sc_link;
int unit;
diff --git a/sys/arch/alpha/alpha/dec_2100_a50.c b/sys/arch/alpha/alpha/dec_2100_a50.c
index cbf973d09b3..52ded48e041 100644
--- a/sys/arch/alpha/alpha/dec_2100_a50.c
+++ b/sys/arch/alpha/alpha/dec_2100_a50.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_2100_a50.c,v 1.17 2005/05/09 21:55:12 martin Exp $ */
+/* $OpenBSD: dec_2100_a50.c,v 1.18 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: dec_2100_a50.c,v 1.43 2000/05/22 20:13:31 thorpej Exp $ */
/*
@@ -238,7 +238,7 @@ dec_2100_a50_device_register(dev, aux)
if (!strcmp(cd->cd_name, "sd") || !strcmp(cd->cd_name, "st") ||
!strcmp(cd->cd_name, "cd")) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *periph = sa->sa_sc_link;
int unit;
diff --git a/sys/arch/alpha/alpha/dec_3000_300.c b/sys/arch/alpha/alpha/dec_3000_300.c
index 03ea5243398..84607a6aa9d 100644
--- a/sys/arch/alpha/alpha/dec_3000_300.c
+++ b/sys/arch/alpha/alpha/dec_3000_300.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_3000_300.c,v 1.11 2002/06/25 21:33:19 miod Exp $ */
+/* $OpenBSD: dec_3000_300.c,v 1.12 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: dec_3000_300.c,v 1.30 2000/05/22 20:13:32 thorpej Exp $ */
/*
@@ -226,7 +226,7 @@ dec_3000_300_device_register(dev, aux)
(strcmp(cd->cd_name, "sd") == 0 ||
strcmp(cd->cd_name, "st") == 0 ||
strcmp(cd->cd_name, "cd") == 0)) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
if (parent->dv_parent != scsidev)
return;
diff --git a/sys/arch/alpha/alpha/dec_3000_500.c b/sys/arch/alpha/alpha/dec_3000_500.c
index 3a614b64f8f..93f69538cfe 100644
--- a/sys/arch/alpha/alpha/dec_3000_500.c
+++ b/sys/arch/alpha/alpha/dec_3000_500.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_3000_500.c,v 1.11 2002/06/25 21:33:19 miod Exp $ */
+/* $OpenBSD: dec_3000_500.c,v 1.12 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: dec_3000_500.c,v 1.29 2000/05/22 20:13:32 thorpej Exp $ */
/*
@@ -245,7 +245,7 @@ dec_3000_500_device_register(dev, aux)
(strcmp(cd->cd_name, "sd") == 0 ||
strcmp(cd->cd_name, "st") == 0 ||
strcmp(cd->cd_name, "cd") == 0)) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
if (parent->dv_parent != scsidev)
return;
diff --git a/sys/arch/alpha/alpha/dec_550.c b/sys/arch/alpha/alpha/dec_550.c
index dbbf15277a2..6a8ef78cbe2 100644
--- a/sys/arch/alpha/alpha/dec_550.c
+++ b/sys/arch/alpha/alpha/dec_550.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_550.c,v 1.9 2005/05/09 21:55:12 martin Exp $ */
+/* $OpenBSD: dec_550.c,v 1.10 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: dec_550.c,v 1.10 2000/06/20 03:48:53 matt Exp $ */
/*
@@ -226,7 +226,7 @@ dec_550_device_register(dev, aux)
if (!strcmp(cd->cd_name, "sd") || !strcmp(cd->cd_name, "st") ||
!strcmp(cd->cd_name, "cd")) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *periph = sa->sa_sc_link;
int unit;
diff --git a/sys/arch/alpha/alpha/dec_6600.c b/sys/arch/alpha/alpha/dec_6600.c
index 704cd7cf8b5..20c1e9d3431 100644
--- a/sys/arch/alpha/alpha/dec_6600.c
+++ b/sys/arch/alpha/alpha/dec_6600.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_6600.c,v 1.8 2005/05/09 21:55:12 martin Exp $ */
+/* $OpenBSD: dec_6600.c,v 1.9 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: dec_6600.c,v 1.7 2000/06/20 03:48:54 matt Exp $ */
/*
@@ -253,7 +253,7 @@ dec_6600_device_register(dev, aux)
if (!strcmp(cd->cd_name, "sd") || !strcmp(cd->cd_name, "st") ||
!strcmp(cd->cd_name, "cd")) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *periph = sa->sa_sc_link;
int unit;
diff --git a/sys/arch/alpha/alpha/dec_axppci_33.c b/sys/arch/alpha/alpha/dec_axppci_33.c
index 5385a486ded..42662b098ef 100644
--- a/sys/arch/alpha/alpha/dec_axppci_33.c
+++ b/sys/arch/alpha/alpha/dec_axppci_33.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_axppci_33.c,v 1.18 2005/05/09 21:55:12 martin Exp $ */
+/* $OpenBSD: dec_axppci_33.c,v 1.19 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: dec_axppci_33.c,v 1.44 2000/05/22 20:13:32 thorpej Exp $ */
/*
@@ -272,7 +272,7 @@ dec_axppci_33_device_register(dev, aux)
if (!strcmp(cd->cd_name, "sd") || !strcmp(cd->cd_name, "st") ||
!strcmp(cd->cd_name, "cd")) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *periph = sa->sa_sc_link;
int unit;
diff --git a/sys/arch/alpha/alpha/dec_eb164.c b/sys/arch/alpha/alpha/dec_eb164.c
index d245fc28932..61150dd9f0f 100644
--- a/sys/arch/alpha/alpha/dec_eb164.c
+++ b/sys/arch/alpha/alpha/dec_eb164.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_eb164.c,v 1.13 2006/07/16 21:52:05 miod Exp $ */
+/* $OpenBSD: dec_eb164.c,v 1.14 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: dec_eb164.c,v 1.33 2000/05/22 20:13:32 thorpej Exp $ */
/*
@@ -228,7 +228,7 @@ dec_eb164_device_register(dev, aux)
if (!strcmp(cd->cd_name, "sd") || !strcmp(cd->cd_name, "st") ||
!strcmp(cd->cd_name, "cd")) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *periph = sa->sa_sc_link;
int unit;
diff --git a/sys/arch/alpha/alpha/dec_eb64plus.c b/sys/arch/alpha/alpha/dec_eb64plus.c
index cfb8fd8708e..4f73bdd1672 100644
--- a/sys/arch/alpha/alpha/dec_eb64plus.c
+++ b/sys/arch/alpha/alpha/dec_eb64plus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_eb64plus.c,v 1.4 2005/05/09 21:55:12 martin Exp $ */
+/* $OpenBSD: dec_eb64plus.c,v 1.5 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: dec_eb64plus.c,v 1.25 2001/06/05 04:53:11 thorpej Exp $ */
/*
@@ -231,7 +231,7 @@ dec_eb64plus_device_register(dev, aux)
if (!strcmp(cd->cd_name, "sd") || !strcmp(cd->cd_name, "st") ||
!strcmp(cd->cd_name, "cd")) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *periph = sa->sa_sc_link;
int unit;
diff --git a/sys/arch/alpha/alpha/dec_kn20aa.c b/sys/arch/alpha/alpha/dec_kn20aa.c
index cd545c112c1..9735679d88f 100644
--- a/sys/arch/alpha/alpha/dec_kn20aa.c
+++ b/sys/arch/alpha/alpha/dec_kn20aa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dec_kn20aa.c,v 1.16 2005/05/09 21:55:12 martin Exp $ */
+/* $OpenBSD: dec_kn20aa.c,v 1.17 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: dec_kn20aa.c,v 1.42 2000/05/22 20:13:32 thorpej Exp $ */
/*
@@ -229,7 +229,7 @@ dec_kn20aa_device_register(dev, aux)
if (!strcmp(cd->cd_name, "sd") || !strcmp(cd->cd_name, "st") ||
!strcmp(cd->cd_name, "cd")) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *periph = sa->sa_sc_link;
int unit;
diff --git a/sys/arch/hp300/hp300/autoconf.c b/sys/arch/hp300/hp300/autoconf.c
index eb59e03d38d..10314957658 100644
--- a/sys/arch/hp300/hp300/autoconf.c
+++ b/sys/arch/hp300/hp300/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.38 2006/06/24 13:20:17 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.39 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: autoconf.c,v 1.45 1999/04/10 17:31:02 kleink Exp $ */
/*
@@ -378,7 +378,7 @@ device_register(dev, aux)
if (device_match(dev->dv_xname, "cd") == 0 ||
device_match(dev->dv_xname, "sd") == 0 ||
device_match(dev->dv_xname, "st") == 0) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
dd->dd_slave = sa->sa_sc_link->target;
dd->dd_punit = sa->sa_sc_link->lun;
diff --git a/sys/arch/hppa/hppa/autoconf.c b/sys/arch/hppa/hppa/autoconf.c
index 1c9d0ea8325..feba7c42f2f 100644
--- a/sys/arch/hppa/hppa/autoconf.c
+++ b/sys/arch/hppa/hppa/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.44 2005/12/27 18:31:08 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.45 2006/11/28 16:56:50 dlg Exp $ */
/*
* Copyright (c) 1998-2003 Michael Shalayeff
@@ -825,7 +825,7 @@ device_register(struct device *dev, void *aux)
#if NCD > 0 || NSD > 0 || NST > 0
if (strcmp(basename, "sd") == 0 || strcmp(basename, "cd") == 0 ||
strcmp(basename, "st") == 0) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *sl = sa->sa_sc_link;
/*
diff --git a/sys/arch/hppa64/hppa64/autoconf.c b/sys/arch/hppa64/hppa64/autoconf.c
index ef93254bdab..96d405eadcd 100644
--- a/sys/arch/hppa64/hppa64/autoconf.c
+++ b/sys/arch/hppa64/hppa64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.4 2005/12/27 18:31:09 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.5 2006/11/28 16:56:50 dlg Exp $ */
/*
* Copyright (c) 1998-2005 Michael Shalayeff
@@ -884,7 +884,7 @@ device_register(struct device *dev, void *aux)
#if NCD > 0 || NSD > 0 || NST > 0
if (strcmp(basename, "sd") == 0 || strcmp(basename, "cd") == 0 ||
strcmp(basename, "st") == 0) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *sl = sa->sa_sc_link;
/*
diff --git a/sys/arch/luna88k/luna88k/autoconf.c b/sys/arch/luna88k/luna88k/autoconf.c
index 52908534a7c..62f05b20a47 100644
--- a/sys/arch/luna88k/luna88k/autoconf.c
+++ b/sys/arch/luna88k/luna88k/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.7 2006/01/26 07:11:08 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.8 2006/11/28 16:56:50 dlg Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -426,7 +426,7 @@ device_register(struct device *dev, void *aux)
*/
if (strncmp("sd", dev->dv_xname, 2) == 0 ||
strncmp("cd", dev->dv_xname, 2) == 0) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct device *spcsc;
spcsc = dev->dv_parent->dv_parent;
diff --git a/sys/arch/mvme68k/mvme68k/autoconf.c b/sys/arch/mvme68k/mvme68k/autoconf.c
index 43bbd9de2b8..ee6d6ea4d72 100644
--- a/sys/arch/mvme68k/mvme68k/autoconf.c
+++ b/sys/arch/mvme68k/mvme68k/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.35 2006/07/10 19:23:25 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.36 2006/11/28 16:56:50 dlg Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -555,7 +555,7 @@ device_register(struct device *dev, void *aux)
*/
if (strncmp("sd", dev->dv_xname, 2) == 0 ||
strncmp("cd", dev->dv_xname, 2) == 0) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
int target, lun;
#ifdef MVME147
/*
diff --git a/sys/arch/mvme88k/mvme88k/autoconf.c b/sys/arch/mvme88k/mvme88k/autoconf.c
index cede04bd2cc..6c6a779f47e 100644
--- a/sys/arch/mvme88k/mvme88k/autoconf.c
+++ b/sys/arch/mvme88k/mvme88k/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.34 2006/05/02 21:43:09 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.35 2006/11/28 16:56:50 dlg Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -385,7 +385,7 @@ device_register(struct device *dev, void *aux)
*/
if (strncmp("cd", dev->dv_xname, 2) == 0 ||
strncmp("sd", dev->dv_xname, 2) == 0) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
int target, bus, lun;
if (get_target(&target, &bus, &lun) != 0)
diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c
index 97ff7b46a9f..9ad0e42534a 100644
--- a/sys/arch/sparc/sparc/autoconf.c
+++ b/sys/arch/sparc/sparc/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.73 2006/07/24 18:27:36 deraadt Exp $ */
+/* $OpenBSD: autoconf.c,v 1.74 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: autoconf.c,v 1.73 1997/07/29 09:41:53 fair Exp $ */
/*
@@ -2175,7 +2175,7 @@ device_register(struct device *dev, void *aux)
*/
if (strncmp("sd", dev->dv_xname, 2) == 0 ||
strncmp("cd", dev->dv_xname, 2) == 0) {
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsibus_softc *sbsc;
int target, lun;
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c
index e17d64053b6..2fd2316d9dc 100644
--- a/sys/arch/sparc64/sparc64/autoconf.c
+++ b/sys/arch/sparc64/sparc64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.57 2006/08/10 01:11:13 gwk Exp $ */
+/* $OpenBSD: autoconf.c,v 1.58 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
/*
@@ -1685,7 +1685,7 @@ device_register(dev, aux)
* device to determine whether this target is on the
* correct controller in our boot path.
*/
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct scsi_link *sl = sa->sa_sc_link;
struct scsibus_softc *sbsc =
(struct scsibus_softc *)dev->dv_parent;
diff --git a/sys/arch/vax/vax/autoconf.c b/sys/arch/vax/vax/autoconf.c
index 057cae61024..8741725e6af 100644
--- a/sys/arch/vax/vax/autoconf.c
+++ b/sys/arch/vax/vax/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.23 2006/07/23 19:23:09 miod Exp $ */
+/* $OpenBSD: autoconf.c,v 1.24 2006/11/28 16:56:50 dlg Exp $ */
/* $NetBSD: autoconf.c,v 1.45 1999/10/23 14:56:05 ragge Exp $ */
/*
@@ -323,7 +323,7 @@ booted_qe(struct device *dev, void *aux)
int
booted_sd(struct device *dev, void *aux)
{
- struct scsibus_attach_args *sa = aux;
+ struct scsi_attach_args *sa = aux;
struct device *ppdev;
/* Is this a SCSI device? */