Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/dev Whitespace.
details: https://anonhg.NetBSD.org/src/rev/26a68b32db4e
branches: trunk
changeset: 778811:26a68b32db4e
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Apr 14 06:04:34 2012 +0000
description:
Whitespace.
diffstat:
sys/arch/hp700/dev/ssio.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (44 lines):
diff -r d76b83893e81 -r 26a68b32db4e sys/arch/hp700/dev/ssio.c
--- a/sys/arch/hp700/dev/ssio.c Sat Apr 14 02:48:44 2012 +0000
+++ b/sys/arch/hp700/dev/ssio.c Sat Apr 14 06:04:34 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ssio.c,v 1.2 2011/07/01 18:33:09 dyoung Exp $ */
+/* $NetBSD: ssio.c,v 1.3 2012/04/14 06:04:34 skrll Exp $ */
/* $OpenBSD: ssio.c,v 1.7 2009/03/08 22:19:04 miod Exp $ */
@@ -160,8 +160,8 @@
if (PCI_VENDOR(pa->pa_id) != PCI_VENDOR_NS)
return 0;
- if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_NS_PC87560)
- return 1;
+ if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_NS_PC87560)
+ return 1;
return 0;
}
@@ -204,10 +204,10 @@
sc->sc_ih = pci_intr_establish(pa->pa_pc, ih, IPL_TTY, ssio_intr,
sc);
if (sc->sc_ih == NULL) {
- aprint_error_dev(self, "could not establish interrupt");
- if (intrstr != NULL)
- aprint_error(" at %s", intrstr);
- aprint_error("\n");
+ aprint_error_dev(self, "could not establish interrupt");
+ if (intrstr != NULL)
+ aprint_error(" at %s", intrstr);
+ aprint_error("\n");
goto unmap_ic2;
}
aprint_normal_dev(self, "interrupting at %s\n", intrstr);
@@ -324,7 +324,7 @@
irq = bus_space_read_1(sc->sc_iot, sc->sc_ic1h, 0);
irq &= 0x07;
- if (irq == 7) {
+ if (irq == 7) {
bus_space_write_1(sc->sc_iot, sc->sc_ic1h, 0, 0x0b);
isr = bus_space_read_1(sc->sc_iot, sc->sc_ic1h, 0);
if ((isr & 0x80) == 0)
Home |
Main Index |
Thread Index |
Old Index