summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/dev/afsc.c18
-rw-r--r--sys/arch/amiga/dev/ahsc.c19
-rw-r--r--sys/arch/amiga/dev/atzsc.c19
-rw-r--r--sys/arch/amiga/dev/bzsc.c17
-rw-r--r--sys/arch/amiga/dev/bztzsc.c17
-rw-r--r--sys/arch/amiga/dev/drsc.c19
-rw-r--r--sys/arch/amiga/dev/empsc.c18
-rw-r--r--sys/arch/amiga/dev/flsc.c17
-rw-r--r--sys/arch/amiga/dev/gtsc.c18
-rw-r--r--sys/arch/amiga/dev/idesc.c18
-rw-r--r--sys/arch/amiga/dev/ivsc.c18
-rw-r--r--sys/arch/amiga/dev/mgnsc.c18
-rw-r--r--sys/arch/amiga/dev/mlhsc.c19
-rw-r--r--sys/arch/amiga/dev/otgsc.c19
-rw-r--r--sys/arch/amiga/dev/wesc.c19
-rw-r--r--sys/arch/amiga/dev/wstsc.c18
-rw-r--r--sys/arch/amiga/dev/zssc.c19
17 files changed, 34 insertions, 276 deletions
diff --git a/sys/arch/amiga/dev/afsc.c b/sys/arch/amiga/dev/afsc.c
index 5fadc11ab20..8af0223c471 100644
--- a/sys/arch/amiga/dev/afsc.c
+++ b/sys/arch/amiga/dev/afsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: afsc.c,v 1.7 1997/01/16 09:23:42 niklas Exp $ */
+/* $OpenBSD: afsc.c,v 1.8 1997/01/18 12:26:21 niklas Exp $ */
/* $NetBSD: afsc.c,v 1.20 1996/12/23 09:09:49 veego Exp $ */
/*
@@ -52,7 +52,6 @@
#include <amiga/dev/siopvar.h>
#include <amiga/dev/zbusvar.h>
-int afscprint __P((void *auxp, const char *));
void afscattach __P((struct device *, struct device *, void *));
int afscmatch __P((struct device *, void *, void *));
int afsc_dmaintr __P((void *));
@@ -170,20 +169,7 @@ afscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, afscprint);
-}
-
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-afscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
+ config_found(dp, &sc->sc_link, scsiprint);
}
int
diff --git a/sys/arch/amiga/dev/ahsc.c b/sys/arch/amiga/dev/ahsc.c
index f3e698a1b16..3b06d8c8212 100644
--- a/sys/arch/amiga/dev/ahsc.c
+++ b/sys/arch/amiga/dev/ahsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahsc.c,v 1.5 1997/01/16 09:23:43 niklas Exp $ */
+/* $OpenBSD: ahsc.c,v 1.6 1997/01/18 12:26:22 niklas Exp $ */
/* $NetBSD: ahsc.c,v 1.18 1996/12/23 09:09:51 veego Exp $ */
/*
@@ -52,7 +52,6 @@
#include <amiga/dev/ahscreg.h>
#include <amiga/dev/zbusvar.h>
-int ahscprint __P((void *auxp, const char *));
void ahscattach __P((struct device *, struct device *, void *));
int ahscmatch __P((struct device *, void *, void *));
@@ -155,23 +154,9 @@ ahscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, ahscprint);
+ config_found(dp, &sc->sc_link, scsiprint);
}
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-ahscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
-}
-
-
void
ahsc_enintr(dev)
struct sbic_softc *dev;
diff --git a/sys/arch/amiga/dev/atzsc.c b/sys/arch/amiga/dev/atzsc.c
index 44e22e3bd3e..82f1cb6ffcc 100644
--- a/sys/arch/amiga/dev/atzsc.c
+++ b/sys/arch/amiga/dev/atzsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atzsc.c,v 1.5 1997/01/16 09:23:45 niklas Exp $ */
+/* $OpenBSD: atzsc.c,v 1.6 1997/01/18 12:26:23 niklas Exp $ */
/* $NetBSD: atzsc.c,v 1.22 1996/12/23 09:09:52 veego Exp $ */
/*
@@ -52,7 +52,6 @@
#include <amiga/dev/atzscreg.h>
#include <amiga/dev/zbusvar.h>
-int atzscprint __P((void *auxp, const char *));
void atzscattach __P((struct device *, struct device *, void *));
int atzscmatch __P((struct device *, void *, void *));
@@ -179,23 +178,9 @@ atzscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, atzscprint);
+ config_found(dp, &sc->sc_link, scsiprint);
}
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-atzscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
-}
-
-
void
atzsc_enintr(dev)
struct sbic_softc *dev;
diff --git a/sys/arch/amiga/dev/bzsc.c b/sys/arch/amiga/dev/bzsc.c
index d1d0311cb01..e0a8a9578cd 100644
--- a/sys/arch/amiga/dev/bzsc.c
+++ b/sys/arch/amiga/dev/bzsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bzsc.c,v 1.5 1997/01/16 09:23:48 niklas Exp $ */
+/* $OpenBSD: bzsc.c,v 1.6 1997/01/18 12:26:25 niklas Exp $ */
/* $NetBSD: bzsc.c,v 1.14 1996/12/23 09:09:53 veego Exp $ */
@@ -59,7 +59,6 @@
#include <amiga/dev/bzscreg.h>
#include <amiga/dev/bzscvar.h>
-int bzscprint __P((void *auxp, const char *));
void bzscattach __P((struct device *, struct device *, void *));
int bzscmatch __P((struct device *, void *, void *));
@@ -194,19 +193,7 @@ bzscattach(pdp, dp, auxp)
add_isr(&sc->sc_softc.sc_isr);
/* attach all scsi units on us */
- config_found(dp, &sc->sc_softc.sc_link, bzscprint);
-}
-
-/* print diag if pnp is NULL else just extra */
-int
-bzscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
-
- return(QUIET);
+ config_found(dp, &sc->sc_softc.sc_link, scsiprint);
}
int
diff --git a/sys/arch/amiga/dev/bztzsc.c b/sys/arch/amiga/dev/bztzsc.c
index 7c18b0b4e79..0423fe3c170 100644
--- a/sys/arch/amiga/dev/bztzsc.c
+++ b/sys/arch/amiga/dev/bztzsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bztzsc.c,v 1.1 1997/01/16 09:23:49 niklas Exp $ */
+/* $OpenBSD: bztzsc.c,v 1.2 1997/01/18 12:26:26 niklas Exp $ */
/* $NetBSD: bztzsc.c,v 1.2 1996/12/23 09:09:54 veego Exp $ */
/*
@@ -56,7 +56,6 @@
#include <amiga/dev/bztzscreg.h>
#include <amiga/dev/bztzscvar.h>
-int bztzscprint __P((void *auxp, const char *));
void bztzscattach __P((struct device *, struct device *, void *));
int bztzscmatch __P((struct device *, void *, void *));
@@ -201,19 +200,7 @@ bztzscattach(pdp, dp, auxp)
printf("\n");
/* attach all scsi units on us */
- config_found(dp, &sc->sc_softc.sc_link, bztzscprint);
-}
-
-/* print diag if pnp is NULL else just extra */
-int
-bztzscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
-
- return(QUIET);
+ config_found(dp, &sc->sc_softc.sc_link, scsiprint);
}
int
diff --git a/sys/arch/amiga/dev/drsc.c b/sys/arch/amiga/dev/drsc.c
index d79459f5ef5..49ec38539dc 100644
--- a/sys/arch/amiga/dev/drsc.c
+++ b/sys/arch/amiga/dev/drsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: drsc.c,v 1.3 1997/01/16 09:23:58 niklas Exp $ */
+/* $OpenBSD: drsc.c,v 1.4 1997/01/18 12:26:27 niklas Exp $ */
/* $NetBSD: drsc.c,v 1.9 1996/12/23 09:09:57 veego Exp $ */
/*
@@ -52,7 +52,6 @@
#include <amiga/dev/siopvar.h>
#include <amiga/amiga/drcustom.h>
-int drscprint __P((void *auxp, const char *));
void drscattach __P((struct device *, struct device *, void *));
int drscmatch __P((struct device *, void *, void *));
int drsc_dmaintr __P((struct siop_softc *));
@@ -150,24 +149,10 @@ drscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, drscprint);
+ config_found(dp, &sc->sc_link, scsiprint);
}
/*
- * print diag if pnp is NULL else just extra
- */
-int
-drscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
-}
-
-
-/*
* Level 4 interrupt processing for the MacroSystem DraCo mainboard
* SCSI. Because the level 4 interrupt is above splbio, the
* interrupt status is saved and an sicallback to the level 2 interrupt
diff --git a/sys/arch/amiga/dev/empsc.c b/sys/arch/amiga/dev/empsc.c
index 369de4349bd..51770b31af1 100644
--- a/sys/arch/amiga/dev/empsc.c
+++ b/sys/arch/amiga/dev/empsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: empsc.c,v 1.5 1997/01/16 09:23:59 niklas Exp $ */
+/* $OpenBSD: empsc.c,v 1.6 1997/01/18 12:26:28 niklas Exp $ */
/* $NetBSD: empsc.c,v 1.13 1996/12/23 09:09:58 veego Exp $ */
/*
@@ -50,7 +50,6 @@
#include <amiga/dev/scivar.h>
#include <amiga/dev/zbusvar.h>
-int empscprint __P((void *auxp, const char *));
void empscattach __P((struct device *, struct device *, void *));
int empscmatch __P((struct device *, void *, void *));
int empsc_intr __P((void *));
@@ -150,20 +149,7 @@ empscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, empscprint);
-}
-
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-empscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
+ config_found(dp, &sc->sc_link, scsiprint);
}
int
diff --git a/sys/arch/amiga/dev/flsc.c b/sys/arch/amiga/dev/flsc.c
index a58d0b4755e..9034eedc0d3 100644
--- a/sys/arch/amiga/dev/flsc.c
+++ b/sys/arch/amiga/dev/flsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flsc.c,v 1.7 1997/01/16 09:24:04 niklas Exp $ */
+/* $OpenBSD: flsc.c,v 1.8 1997/01/18 12:26:28 niklas Exp $ */
/* $NetBSD: flsc.c,v 1.14 1996/12/23 09:10:00 veego Exp $ */
/*
@@ -58,7 +58,6 @@
#include <amiga/dev/flscreg.h>
#include <amiga/dev/flscvar.h>
-int flscprint __P((void *auxp, const char *));
void flscattach __P((struct device *, struct device *, void *));
int flscmatch __P((struct device *, void *, void *));
@@ -191,19 +190,7 @@ flscattach(pdp, dp, auxp)
printf("\n");
/* attach all scsi units on us */
- config_found(dp, &sc->sc_softc.sc_link, flscprint);
-}
-
-/* print diag if pnp is NULL else just extra */
-int
-flscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
-
- return(QUIET);
+ config_found(dp, &sc->sc_softc.sc_link, scsiprint);
}
int
diff --git a/sys/arch/amiga/dev/gtsc.c b/sys/arch/amiga/dev/gtsc.c
index 4025c755574..907dcd3bef7 100644
--- a/sys/arch/amiga/dev/gtsc.c
+++ b/sys/arch/amiga/dev/gtsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gtsc.c,v 1.5 1997/01/16 09:24:30 niklas Exp $ */
+/* $OpenBSD: gtsc.c,v 1.6 1997/01/18 12:26:29 niklas Exp $ */
/* $NetBSD: gtsc.c,v 1.20 1996/12/23 09:10:11 veego Exp $ */
/*
@@ -55,7 +55,6 @@
void gtscattach __P((struct device *, struct device *, void *));
int gtscmatch __P((struct device *, void *, void *));
-int gtscprint __P((void *auxp, const char *));
void gtsc_enintr __P((struct sbic_softc *));
void gtsc_dmastop __P((struct sbic_softc *));
@@ -204,20 +203,7 @@ gtscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, gtscprint);
-}
-
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-gtscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
+ config_found(dp, &sc->sc_link, scsiprint);
}
void
diff --git a/sys/arch/amiga/dev/idesc.c b/sys/arch/amiga/dev/idesc.c
index c5528f9e3f1..69bd8e2195b 100644
--- a/sys/arch/amiga/dev/idesc.c
+++ b/sys/arch/amiga/dev/idesc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: idesc.c,v 1.8 1997/01/16 09:24:34 niklas Exp $ */
+/* $OpenBSD: idesc.c,v 1.9 1997/01/18 12:26:30 niklas Exp $ */
/* $NetBSD: idesc.c,v 1.29 1996/12/23 09:10:12 veego Exp $ */
/*
@@ -237,7 +237,6 @@ struct idec_softc
int ide_scsicmd __P((struct scsi_xfer *));
-int idescprint __P((void *auxp, const char *));
void idescattach __P((struct device *, struct device *, void *));
int idescmatch __P((struct device *, void *, void *));
@@ -421,20 +420,7 @@ idescattach(pdp, dp, auxp)
/*
* attach all "scsi" units on us
*/
- config_found(dp, &sc->sc_link, idescprint);
-}
-
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-idescprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
+ config_found(dp, &sc->sc_link, scsiprint);
}
/*
diff --git a/sys/arch/amiga/dev/ivsc.c b/sys/arch/amiga/dev/ivsc.c
index 6ff8c735976..163e52ad285 100644
--- a/sys/arch/amiga/dev/ivsc.c
+++ b/sys/arch/amiga/dev/ivsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ivsc.c,v 1.5 1997/01/16 09:24:54 niklas Exp $ */
+/* $OpenBSD: ivsc.c,v 1.6 1997/01/18 12:26:31 niklas Exp $ */
/* $NetBSD: ivsc.c,v 1.21 1996/12/23 09:10:21 veego Exp $ */
/*
@@ -49,7 +49,6 @@
#include <amiga/dev/scivar.h>
#include <amiga/dev/zbusvar.h>
-int ivscprint __P((void *auxp, const char *));
void ivscattach __P((struct device *, struct device *, void *));
int ivscmatch __P((struct device *, void *, void *));
@@ -167,20 +166,7 @@ ivscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, ivscprint);
-}
-
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-ivscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
+ config_found(dp, &sc->sc_link, scsiprint);
}
int
diff --git a/sys/arch/amiga/dev/mgnsc.c b/sys/arch/amiga/dev/mgnsc.c
index 30a06f91895..186f04f3e87 100644
--- a/sys/arch/amiga/dev/mgnsc.c
+++ b/sys/arch/amiga/dev/mgnsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mgnsc.c,v 1.9 1996/11/23 21:45:21 kstailey Exp $ */
+/* $OpenBSD: mgnsc.c,v 1.10 1997/01/18 12:26:32 niklas Exp $ */
/* $NetBSD: mgnsc.c,v 1.18 1996/04/21 21:12:11 veego Exp $ */
/*
@@ -53,7 +53,6 @@
#include <amiga/dev/siopvar.h>
#include <amiga/dev/zbusvar.h>
-int mgnscprint __P((void *auxp, const char *));
void mgnscattach __P((struct device *, struct device *, void *));
int mgnscmatch __P((struct device *, void *, void *));
int mgnsc_dmaintr __P((void *));
@@ -146,20 +145,7 @@ mgnscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, mgnscprint);
-}
-
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-mgnscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
+ config_found(dp, &sc->sc_link, scsiprint);
}
/*
diff --git a/sys/arch/amiga/dev/mlhsc.c b/sys/arch/amiga/dev/mlhsc.c
index 2a13f94468e..fb3f33979ab 100644
--- a/sys/arch/amiga/dev/mlhsc.c
+++ b/sys/arch/amiga/dev/mlhsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mlhsc.c,v 1.5 1997/01/16 09:25:02 niklas Exp $ */
+/* $OpenBSD: mlhsc.c,v 1.6 1997/01/18 12:26:34 niklas Exp $ */
/* $NetBSD: mlhsc.c,v 1.16 1996/12/23 09:10:25 veego Exp $ */
/*
@@ -48,7 +48,6 @@
#include <amiga/dev/scivar.h>
#include <amiga/dev/zbusvar.h>
-int mlhscprint __P((void *auxp, const char *));
void mlhscattach __P((struct device *, struct device *, void *));
int mlhscmatch __P((struct device *, void *, void *));
@@ -153,23 +152,9 @@ mlhscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, mlhscprint);
+ config_found(dp, &sc->sc_link, scsiprint);
}
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-mlhscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
-}
-
-
int
mlhsc_dma_xfer_in (dev, len, buf, phase)
struct sci_softc *dev;
diff --git a/sys/arch/amiga/dev/otgsc.c b/sys/arch/amiga/dev/otgsc.c
index 0e57650941a..25a03e08ab5 100644
--- a/sys/arch/amiga/dev/otgsc.c
+++ b/sys/arch/amiga/dev/otgsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: otgsc.c,v 1.5 1997/01/16 09:25:08 niklas Exp $ */
+/* $OpenBSD: otgsc.c,v 1.6 1997/01/18 12:26:35 niklas Exp $ */
/* $NetBSD: otgsc.c,v 1.17 1996/12/23 09:10:27 veego Exp $ */
/*
@@ -48,7 +48,6 @@
#include <amiga/dev/scivar.h>
#include <amiga/dev/zbusvar.h>
-int otgscprint __P((void *auxp, const char *));
void otgscattach __P((struct device *, struct device *, void *));
int otgscmatch __P((struct device *, void *, void *));
@@ -160,23 +159,9 @@ otgscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, otgscprint);
+ config_found(dp, &sc->sc_link, scsiprint);
}
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-otgscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
-}
-
-
int
otgsc_dma_xfer_in (dev, len, buf, phase)
struct sci_softc *dev;
diff --git a/sys/arch/amiga/dev/wesc.c b/sys/arch/amiga/dev/wesc.c
index 17927617b61..2267e2b4b9b 100644
--- a/sys/arch/amiga/dev/wesc.c
+++ b/sys/arch/amiga/dev/wesc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wesc.c,v 1.6 1997/01/16 09:25:33 niklas Exp $ */
+/* $OpenBSD: wesc.c,v 1.7 1997/01/18 12:26:35 niklas Exp $ */
/* $NetBSD: wesc.c,v 1.19 1996/12/23 09:10:30 veego Exp $ */
/*
@@ -51,7 +51,6 @@
#include <amiga/dev/siopvar.h>
#include <amiga/dev/zbusvar.h>
-int wescprint __P((void *auxp, const char *));
void wescattach __P((struct device *, struct device *, void *));
int wescmatch __P((struct device *, void *, void *));
int wesc_dmaintr __P((void *));
@@ -140,23 +139,9 @@ wescattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, wescprint);
+ config_found(dp, &sc->sc_link, scsiprint);
}
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-wescprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
-}
-
-
int
wesc_dmaintr(arg)
void *arg;
diff --git a/sys/arch/amiga/dev/wstsc.c b/sys/arch/amiga/dev/wstsc.c
index 410eb048bf8..32c4f107931 100644
--- a/sys/arch/amiga/dev/wstsc.c
+++ b/sys/arch/amiga/dev/wstsc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wstsc.c,v 1.5 1997/01/16 09:25:34 niklas Exp $ */
+/* $OpenBSD: wstsc.c,v 1.6 1997/01/18 12:26:36 niklas Exp $ */
/* $NetBSD: wstsc.c,v 1.18 1996/12/23 09:10:31 veego Exp $ */
/*
@@ -48,7 +48,6 @@
#include <amiga/dev/scivar.h>
#include <amiga/dev/zbusvar.h>
-int wstscprint __P((void *auxp, const char *));
void wstscattach __P((struct device *, struct device *, void *));
int wstscmatch __P((struct device *, void *, void *));
@@ -178,20 +177,7 @@ wstscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, wstscprint);
-}
-
-/*
- * print diag if pnp is NULL else just extra
- */
-int
-wstscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
+ config_found(dp, &sc->sc_link, scsiprint);
}
int
diff --git a/sys/arch/amiga/dev/zssc.c b/sys/arch/amiga/dev/zssc.c
index ffd2eefcbe1..89df2ee472e 100644
--- a/sys/arch/amiga/dev/zssc.c
+++ b/sys/arch/amiga/dev/zssc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zssc.c,v 1.9 1997/01/16 09:25:37 niklas Exp $ */
+/* $OpenBSD: zssc.c,v 1.10 1997/01/18 12:26:37 niklas Exp $ */
/* $NetBSD: zssc.c,v 1.22 1996/12/23 09:10:33 veego Exp $ */
/*
@@ -51,7 +51,6 @@
#include <amiga/dev/siopvar.h>
#include <amiga/dev/zbusvar.h>
-int zsscprint __P((void *auxp, const char *));
void zsscattach __P((struct device *, struct device *, void *));
int zsscmatch __P((struct device *, void *, void *));
int zssc_dmaintr __P((void *));
@@ -145,24 +144,10 @@ zsscattach(pdp, dp, auxp)
/*
* attach all scsi units on us
*/
- config_found(dp, &sc->sc_link, zsscprint);
+ config_found(dp, &sc->sc_link, scsiprint);
}
/*
- * print diag if pnp is NULL else just extra
- */
-int
-zsscprint(auxp, pnp)
- void *auxp;
- const char *pnp;
-{
- if (pnp == NULL)
- return(UNCONF);
- return(QUIET);
-}
-
-
-/*
* Level 6 interrupt processing for the Progressive Peripherals Inc
* Zeus SCSI. Because the level 6 interrupt is above splbio, the
* interrupt status is saved and an sicallback to the level 2 interrupt