diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-18 02:18:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-18 02:18:27 +0000 |
commit | c5594a3dac89aab0bb386c8649a5e5583a77979a (patch) | |
tree | 125a5b3bf766e029200e20360c5ce3a3216ae256 /sys/arch/alpha/pci | |
parent | 12f9874733675af6feb7ccb7cfee6a185fb6ef4a (diff) |
shrink
Diffstat (limited to 'sys/arch/alpha/pci')
-rw-r--r-- | sys/arch/alpha/pci/irongate.c | 4 | ||||
-rw-r--r-- | sys/arch/alpha/pci/pci_up1000.c | 6 | ||||
-rw-r--r-- | sys/arch/alpha/pci/tsc.c | 4 |
3 files changed, 9 insertions, 5 deletions
diff --git a/sys/arch/alpha/pci/irongate.c b/sys/arch/alpha/pci/irongate.c index c14e181c3bb..ca970b8c1a7 100644 --- a/sys/arch/alpha/pci/irongate.c +++ b/sys/arch/alpha/pci/irongate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: irongate.c,v 1.5 2001/12/14 00:44:59 nate Exp $ */ +/* $OpenBSD: irongate.c,v 1.6 2004/07/18 02:18:26 deraadt Exp $ */ /* $NetBSD: irongate.c,v 1.3 2000/11/29 06:29:10 thorpej Exp $ */ /*- @@ -157,7 +157,7 @@ irongate_attach(struct device *parent, struct device *self, void *aux) icp = sc->sc_icp = &irongate_configuration; irongate_init(icp, 1); - printf(": AMD 751 Core Logic + AGP Chipset, rev. %d\n", icp->ic_rev); + printf(": rev. %d\n", icp->ic_rev); irongate_dma_init(icp); diff --git a/sys/arch/alpha/pci/pci_up1000.c b/sys/arch/alpha/pci/pci_up1000.c index 6fe070eacd9..2b911813f9d 100644 --- a/sys/arch/alpha/pci/pci_up1000.c +++ b/sys/arch/alpha/pci/pci_up1000.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_up1000.c,v 1.8 2004/06/28 02:28:43 aaron Exp $ */ +/* $OpenBSD: pci_up1000.c,v 1.9 2004/07/18 02:18:26 deraadt Exp $ */ /* $NetBSD: pci_up1000.c,v 1.6 2000/12/28 22:59:07 sommerfeld Exp $ */ /*- @@ -133,12 +133,16 @@ api_up1000_intr_map(void *icv, pcitag_t bustag, int buspin, int line, pci_intr_h /* XXX Check for 0? */ if (line > 15) { +#ifdef DIAGNOSTIC printf("api_up1000_intr_map: ISA IRQ too large (%d)\n", line); +#endif return (1); } if (line == 2) { +#ifdef DIAGNOSTIC printf("api_up1000_intr_map: changed IRQ 2 to IRQ 9\n"); +#endif line = 9; } diff --git a/sys/arch/alpha/pci/tsc.c b/sys/arch/alpha/pci/tsc.c index 03fd784a16b..6bbe6c07b65 100644 --- a/sys/arch/alpha/pci/tsc.c +++ b/sys/arch/alpha/pci/tsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tsc.c,v 1.8 2003/09/02 17:25:21 miod Exp $ */ +/* $OpenBSD: tsc.c,v 1.9 2004/07/18 02:18:26 deraadt Exp $ */ /* $NetBSD: tsc.c,v 1.3 2000/06/25 19:17:40 thorpej Exp $ */ /*- @@ -121,7 +121,7 @@ void tscattach(parent, self, aux) csc = LDQP(TS_C_CSC); nbus = 1 + (CSC_BC(csc) >= 2); - printf(": 21272 Core Logic Chipset, Cchip rev %d\n" + printf(": 21272 Chipset, Cchip rev %d\n" "%s%d: %c Dchips, %d memory bus%s of %d bytes\n", (int)MISC_REV(LDQP(TS_C_MISC)), ma->ma_name, ma->ma_slot, "2448"[CSC_BC(csc)], |