summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-05-01 18:42:14 +0000
committerbde <bde@FreeBSD.org>2004-05-01 18:42:14 +0000
commita24b9ad2a142ac1b3b9ade85e68b42889a43bee5 (patch)
tree5b817a2cf352483fd91ee53c64f7f92557003c18 /sys/dev/cy
parent7e187e2ba94df9c1f8f68519ee9e9fa9889c874d (diff)
downloadFreeBSD-src-a24b9ad2a142ac1b3b9ade85e68b42889a43bee5.zip
FreeBSD-src-a24b9ad2a142ac1b3b9ade85e68b42889a43bee5.tar.gz
Reduce differences with cy_pci.c: add a description of this file, and
don't use too many tabs in declarations. Attempt to complete KNFization of this file (1 more indentation fix).
Diffstat (limited to 'sys/dev/cy')
-rw-r--r--sys/dev/cy/cy_isa.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index 9a38d1e..495b074 100644
--- a/sys/dev/cy/cy_isa.c
+++ b/sys/dev/cy/cy_isa.c
@@ -28,6 +28,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ * Cyclades Y ISA serial interface driver
+ */
+
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@@ -45,8 +49,8 @@ __FBSDID("$FreeBSD$");
#include <dev/cy/cyreg.h>
#include <dev/cy/cyvar.h>
-static int cy_isa_attach(device_t dev);
-static int cy_isa_probe(device_t dev);
+static int cy_isa_attach(device_t dev);
+static int cy_isa_probe(device_t dev);
static device_method_t cy_isa_methods[] = {
/* Device interface. */
@@ -85,7 +89,7 @@ cy_isa_probe(device_t dev)
/* Cyclom-16Y hardware reset (Cyclom-8Ys don't care) */
cy_inb(iobase, CY16_RESET, 0); /* XXX? */
- DELAY(500); /* wait for the board to get its act together */
+ DELAY(500); /* wait for the board to get its act together */
/* this is needed to get the board out of reset */
cy_outb(iobase, CY_CLEAR_INTR, 0, 0);
OpenPOWER on IntegriCloud