From 772d2835f450bece25f4ea61faea90b37522bf43 Mon Sep 17 00:00:00 2001 From: Marc Balmer Date: Fri, 22 Dec 2006 09:04:43 +0000 Subject: fold long lines. --- sys/dev/pci/mbg.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'sys/dev/pci/mbg.c') diff --git a/sys/dev/pci/mbg.c b/sys/dev/pci/mbg.c index 7a0a1ef40f7..4d3941a5c19 100644 --- a/sys/dev/pci/mbg.c +++ b/sys/dev/pci/mbg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mbg.c,v 1.5 2006/12/22 07:19:20 deraadt Exp $ */ +/* $OpenBSD: mbg.c,v 1.6 2006/12/22 09:04:42 mbalmer Exp $ */ /* * Copyright (c) 2006 Marc Balmer @@ -168,7 +168,8 @@ mbg_attach(struct device *parent, struct device *self, void *aux) sc->sc_signal.status = SENSOR_S_UNKNOWN; sc->sc_signal.value = 0LL; sc->sc_signal.flags = 0; - strlcpy(sc->sc_signal.desc, "Signal strength", sizeof(sc->sc_signal.desc)); + strlcpy(sc->sc_signal.desc, "Signal strength", + sizeof(sc->sc_signal.desc)); sensor_add(&sc->sc_signal); sensor_task_register(sc, mbg_task, 10); @@ -258,7 +259,8 @@ mbg_read(struct mbg_softc *sc, int cmd, char *buf, size_t len, delay(20); else tsleep(tstamp, 0, "mbg", 1); - status = bus_space_read_1(sc->sc_iot, sc->sc_ioh, AMCC_IMB4 + 3); + status = bus_space_read_1(sc->sc_iot, sc->sc_ioh, + AMCC_IMB4 + 3); } while ((status & MBG_BUSY) && timer++ < tmax); if (status & MBG_BUSY) @@ -266,7 +268,8 @@ mbg_read(struct mbg_softc *sc, int cmd, char *buf, size_t len, /* read data from the device FIFO */ for (n = 0; n < len; n++) { - if (bus_space_read_2(sc->sc_iot, sc->sc_ioh, AMCC_MCSR) & 0x20) { + if (bus_space_read_2(sc->sc_iot, sc->sc_ioh, AMCC_MCSR) + & 0x20) { printf("%s: FIFO error\n", sc->sc_dev.dv_xname); return -1; } -- cgit v1.2.3