summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-17 00:24:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-17 00:24:56 +0000
commit09d6cbaae8460a4bf2cb928b2307adbe1c9d54c6 (patch)
treebe8b8dbf2e74ac897e9956491276a44633d88b5a /sys/arch/macppc
parent88e98b3e6e36f50c1a44605894dcda65c095d11e (diff)
go loud with autoconfig messages again, we are gonna try to write drivers soon
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/dev/macgpio.c8
-rw-r--r--sys/arch/macppc/pci/macobio.c6
2 files changed, 3 insertions, 11 deletions
diff --git a/sys/arch/macppc/dev/macgpio.c b/sys/arch/macppc/dev/macgpio.c
index 23f370fe6f2..e7319d24ccf 100644
--- a/sys/arch/macppc/dev/macgpio.c
+++ b/sys/arch/macppc/dev/macgpio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macgpio.c,v 1.2 2005/10/23 16:43:42 drahn Exp $ */
+/* $OpenBSD: macgpio.c,v 1.3 2005/11/17 00:24:55 deraadt Exp $ */
/* $NetBSD: gpio.c,v 1.2 2001/02/27 05:16:33 matt Exp $ */
/*-
@@ -129,7 +129,6 @@ macgpio_attach(struct device *parent, struct device *self, void *aux)
int
macgpio_print(void *aux, const char *gpio)
{
-#ifdef MACGPIOVERBOSE
struct confargs *ca = aux;
if (gpio)
printf("%s at %s", ca->ca_name, gpio);
@@ -138,9 +137,6 @@ macgpio_print(void *aux, const char *gpio)
printf(" offset 0x%x", ca->ca_reg[0]);
return UNCONF;
-#else
- return QUIET;
-#endif
}
int
@@ -166,7 +162,7 @@ macgpio_gpio_attach(struct device *parent, struct device *self, void *aux)
sc->sc_port = ((struct gpio_softc *) parent)->sc_port;
mac_intr_establish(parent, ca->ca_intr[0], IST_LEVEL, IPL_HIGH,
- gpio_intr, sc, "gpio/adb");
+ gpio_intr, sc, "gpio/adb");
printf(" irq %d\n", ca->ca_intr[0]);
}
diff --git a/sys/arch/macppc/pci/macobio.c b/sys/arch/macppc/pci/macobio.c
index 82738210e7d..40fddb3eeb5 100644
--- a/sys/arch/macppc/pci/macobio.c
+++ b/sys/arch/macppc/pci/macobio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macobio.c,v 1.14 2005/10/07 03:47:31 drahn Exp $ */
+/* $OpenBSD: macobio.c,v 1.15 2005/11/17 00:24:55 deraadt Exp $ */
/* $NetBSD: obio.c,v 1.6 1999/05/01 10:36:08 tsubai Exp $ */
/*-
@@ -216,7 +216,6 @@ macobio_attach(struct device *parent, struct device *self, void *aux)
int
macobio_print(void *aux, const char *macobio)
{
-#ifdef MACOBIOVERBOSE
struct confargs *ca = aux;
if (macobio)
@@ -226,9 +225,6 @@ macobio_print(void *aux, const char *macobio)
printf(" offset 0x%x", ca->ca_reg[0]);
return UNCONF;
-#else
- return QUIET;
-#endif
}
void *