summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authordima <dima@cvs.openbsd.org>1997-02-07 03:22:17 +0000
committerdima <dima@cvs.openbsd.org>1997-02-07 03:22:17 +0000
commit25ce944623192ed7381bcde92621ac9027e242a7 (patch)
tree3a3c6addc7c75e5dd8d936ca2d1ade956e7f537d /sys/arch/hp300
parentc5cb75491217af807f22f80b2f60fa49e214667b (diff)
Changed hdintr() to hdinterupt() so it won't interfere
with HDLC stuff we have.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/dev/hd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/hp300/dev/hd.c b/sys/arch/hp300/dev/hd.c
index ddf1bb6401d..706f6fa125d 100644
--- a/sys/arch/hp300/dev/hd.c
+++ b/sys/arch/hp300/dev/hd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hd.c,v 1.1 1997/02/03 08:11:54 downsj Exp $ */
+/* $OpenBSD: hd.c,v 1.2 1997/02/07 03:22:16 dima Exp $ */
/* $NetBSD: rd.c,v 1.27 1997/01/30 09:14:17 thorpej Exp $ */
/*
@@ -93,7 +93,7 @@ void hdrestart __P((void *));
struct buf *hdfinish __P((struct hd_softc *, struct buf *));
void hdstart __P((void *));
-void hdintr __P((void *));
+void hdinterupt __P((void *));
void hdgo __P((void *));
bdev_decl(hd);
@@ -300,7 +300,7 @@ hdattach(parent, self, aux)
sc->sc_hq.hq_slave = sc->sc_slave;
sc->sc_hq.hq_start = hdstart;
sc->sc_hq.hq_go = hdgo;
- sc->sc_hq.hq_intr = hdintr;
+ sc->sc_hq.hq_intr = hdinterupt;
sc->sc_flags = HDF_ALIVE;
#ifdef DEBUG
@@ -832,7 +832,7 @@ hdgo(arg)
/* ARGSUSED */
void
-hdintr(arg)
+hdinterupt(arg)
void *arg;
{
register struct hd_softc *rs = arg;
@@ -846,7 +846,7 @@ hdintr(arg)
#ifdef DEBUG
if (hddebug & HDB_FOLLOW)
- printf("hdintr(%d): bp %x, %c, flags %x\n", unit, bp,
+ printf("hdinterupt(%d): bp %x, %c, flags %x\n", unit, bp,
(bp->b_flags & B_READ) ? 'R' : 'W', rs->sc_flags);
if (bp == NULL) {
printf("%s: bp == NULL\n", rs->sc_dev.dv_xname);
@@ -882,7 +882,7 @@ hdintr(arg)
if (rv != 1 || stat) {
#ifdef DEBUG
if (hddebug & HDB_ERROR)
- printf("hdintr: recv failed or bad stat %d\n", stat);
+ printf("hdinterupt: recv failed or bad stat %d\n", stat);
#endif
restart = hderror(unit);
#ifdef DEBUG