Stylistic changes.

This commit is contained in:
mycroft 1994-11-18 22:25:12 +00:00
parent 79a1309e3c
commit 9a3840f2f0
6 changed files with 22 additions and 22 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ed.c,v 1.63 1994/11/18 22:03:10 mycroft Exp $ */
/* $NetBSD: if_ed.c,v 1.64 1994/11/18 22:25:12 mycroft Exp $ */
/*
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@ -141,7 +141,7 @@ static int ed_intr[] = { 9, 3, 5, 7, 10, 11, 15, 4 };
/*
* Interrupt conversion table for 585/790 Combo.
*/
static int ed_790_intr[] = { -1, 9, 3, 5, 7, 10, 11, 15 };
static int ed_790_intr[] = { IRQUNK, 9, 3, 5, 7, 10, 11, 15 };
#define ETHER_MIN_LEN 64
#define ETHER_MAX_LEN 1518

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa.c,v 1.68 1994/11/18 22:03:25 mycroft Exp $ */
/* $NetBSD: isa.c,v 1.69 1994/11/18 22:25:17 mycroft Exp $ */
/*-
* Copyright (c) 1993, 1994 Charles Hannum. All rights reserved.
@ -76,9 +76,9 @@ isaprint(aux, isa)
printf(" iomem 0x%x", kvtop(ia->ia_maddr));
if (ia->ia_msize > 1)
printf("-0x%x", kvtop(ia->ia_maddr) + ia->ia_msize - 1);
if (ia->ia_irq != -1)
if (ia->ia_irq != IRQUNK)
printf(" irq %d", ia->ia_irq);
if (ia->ia_drq != -1)
if (ia->ia_drq != DRQUNK)
printf(" drq %d", ia->ia_drq);
/* XXXX print flags */
return (QUIET);

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtfps.c,v 1.6 1994/11/18 22:03:37 mycroft Exp $ */
/* $NetBSD: rtfps.c,v 1.7 1994/11/18 22:25:19 mycroft Exp $ */
/*
* Multi-port serial card interrupt demuxing support.
@ -90,15 +90,15 @@ rtfpsattach(parent, self, aux)
struct rtfps_attach_args ra;
struct isa_attach_args isa;
static int irqport[] = {
-1, -1, -1, -1,
-1, -1, -1, -1,
-1, 0x2f2, 0x6f2, 0x6f3,
-1, -1, -1, -1
IOBASEUNK, IOBASEUNK, IOBASEUNK, IOBASEUNK,
IOBASEUNK, IOBASEUNK, IOBASEUNK, IOBASEUNK,
IOBASEUNK, 0x2f2, 0x6f2, 0x6f3,
IOBASEUNK, IOBASEUNK, IOBASEUNK, IOBASEUNK
};
sc->sc_iobase = ia->ia_iobase;
if (ia->ia_irq >= 16 || irqport[ia->ia_irq] == -1)
if (ia->ia_irq >= 16 || irqport[ia->ia_irq] == IOBASEUNK)
panic("rtfpsattach: invalid irq");
sc->sc_irqport = irqport[ia->ia_irq];

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ed.c,v 1.63 1994/11/18 22:03:10 mycroft Exp $ */
/* $NetBSD: if_ed.c,v 1.64 1994/11/18 22:25:12 mycroft Exp $ */
/*
* Device driver for National Semiconductor DS8390/WD83C690 based ethernet
@ -141,7 +141,7 @@ static int ed_intr[] = { 9, 3, 5, 7, 10, 11, 15, 4 };
/*
* Interrupt conversion table for 585/790 Combo.
*/
static int ed_790_intr[] = { -1, 9, 3, 5, 7, 10, 11, 15 };
static int ed_790_intr[] = { IRQUNK, 9, 3, 5, 7, 10, 11, 15 };
#define ETHER_MIN_LEN 64
#define ETHER_MAX_LEN 1518

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa.c,v 1.68 1994/11/18 22:03:25 mycroft Exp $ */
/* $NetBSD: isa.c,v 1.69 1994/11/18 22:25:17 mycroft Exp $ */
/*-
* Copyright (c) 1993, 1994 Charles Hannum. All rights reserved.
@ -76,9 +76,9 @@ isaprint(aux, isa)
printf(" iomem 0x%x", kvtop(ia->ia_maddr));
if (ia->ia_msize > 1)
printf("-0x%x", kvtop(ia->ia_maddr) + ia->ia_msize - 1);
if (ia->ia_irq != -1)
if (ia->ia_irq != IRQUNK)
printf(" irq %d", ia->ia_irq);
if (ia->ia_drq != -1)
if (ia->ia_drq != DRQUNK)
printf(" drq %d", ia->ia_drq);
/* XXXX print flags */
return (QUIET);

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtfps.c,v 1.6 1994/11/18 22:03:37 mycroft Exp $ */
/* $NetBSD: rtfps.c,v 1.7 1994/11/18 22:25:19 mycroft Exp $ */
/*
* Multi-port serial card interrupt demuxing support.
@ -90,15 +90,15 @@ rtfpsattach(parent, self, aux)
struct rtfps_attach_args ra;
struct isa_attach_args isa;
static int irqport[] = {
-1, -1, -1, -1,
-1, -1, -1, -1,
-1, 0x2f2, 0x6f2, 0x6f3,
-1, -1, -1, -1
IOBASEUNK, IOBASEUNK, IOBASEUNK, IOBASEUNK,
IOBASEUNK, IOBASEUNK, IOBASEUNK, IOBASEUNK,
IOBASEUNK, 0x2f2, 0x6f2, 0x6f3,
IOBASEUNK, IOBASEUNK, IOBASEUNK, IOBASEUNK
};
sc->sc_iobase = ia->ia_iobase;
if (ia->ia_irq >= 16 || irqport[ia->ia_irq] == -1)
if (ia->ia_irq >= 16 || irqport[ia->ia_irq] == IOBASEUNK)
panic("rtfpsattach: invalid irq");
sc->sc_irqport = irqport[ia->ia_irq];