summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/ast.c
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-04-27 21:08:46 +0000
committerniklas <niklas@openbsd.org>1996-04-27 21:08:46 +0000
commit950395c0450dc76aa13a6c974213020ff17b71db (patch)
treef8ee65df2fb9ea256b0b247d179f20f703dd3d23 /sys/dev/isa/ast.c
parentmkmodules.1 no longer exist; don't try to build it (diff)
downloadwireguard-openbsd-950395c0450dc76aa13a6c974213020ff17b71db.tar.xz
wireguard-openbsd-950395c0450dc76aa13a6c974213020ff17b71db.zip
Fix typos (some s/bc/sc->sc_bc/ ops)
Diffstat (limited to 'sys/dev/isa/ast.c')
-rw-r--r--sys/dev/isa/ast.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/isa/ast.c b/sys/dev/isa/ast.c
index 366e1bf5a4a..a092b796fc4 100644
--- a/sys/dev/isa/ast.c
+++ b/sys/dev/isa/ast.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ast.c,v 1.8 1996/04/21 22:22:48 deraadt Exp $ */
+/* $OpenBSD: ast.c,v 1.9 1996/04/27 21:08:46 niklas Exp $ */
/* $NetBSD: ast.c,v 1.26 1996/04/15 18:55:23 cgd Exp $ */
/*
@@ -153,14 +153,14 @@ astattach(parent, self, aux)
sc->sc_iobase = ia->ia_iobase;
for (i = 0; i < NSLAVES; i++)
- if (bus_io_map(bc, sc->sc_iobase + i * COM_NPORTS, COM_NPORTS,
- &sc->sc_slaveioh[i]))
+ if (bus_io_map(sc->sc_bc, sc->sc_iobase + i * COM_NPORTS,
+ COM_NPORTS, &sc->sc_slaveioh[i]))
panic("astattach: couldn't map slave %d", i);
/*
* Enable the master interrupt.
*/
- bus_io_write_1(bc, sc->sc_slaveioh[3], 7, 0x80);
+ bus_io_write_1(sc->sc_bc, sc->sc_slaveioh[3], 7, 0x80);
printf("\n");