diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-07-22 04:39:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-07-22 04:39:52 +0000 |
commit | 097aa860ac681b3a586d48f4c5b8f26ba1703a73 (patch) | |
tree | ea8d4607a32e6c213903cc8c309b3babc5fdf6ce /sys/arch/i386/pci | |
parent | 34b278c0344633f066a3063545b067e82d83a73f (diff) |
rename primary/secondary to channel 0/1
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r-- | sys/arch/i386/pci/pciide_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/pci/pciide_machdep.c b/sys/arch/i386/pci/pciide_machdep.c index f65a038c0a9..b51278c68bd 100644 --- a/sys/arch/i386/pci/pciide_machdep.c +++ b/sys/arch/i386/pci/pciide_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide_machdep.c,v 1.1 1999/07/18 21:25:21 csapuntz Exp $ */ +/* $OpenBSD: pciide_machdep.c,v 1.2 1999/07/22 04:39:51 deraadt Exp $ */ /* $NetBSD: pciide_machdep.c,v 1.2 1999/02/19 18:01:27 mycroft Exp $ */ /* @@ -52,7 +52,7 @@ #include <dev/isa/isavar.h> -#define PCIIDE_CHANNEL_NAME(chan) ((chan) == 0 ? "primary" : "secondary") +#define PCIIDE_CHANNEL_NAME(chan) ((chan) == 0 ? "channel 0" : "channel 1") void * pciide_machdep_compat_intr_establish(dev, pa, chan, func, arg) @@ -69,7 +69,7 @@ pciide_machdep_compat_intr_establish(dev, pa, chan, func, arg) cookie = isa_intr_establish(NULL, irq, IST_EDGE, IPL_BIO, func, arg, dev->dv_xname); if (cookie == NULL) return (NULL); - printf("%s: %s channel interrupting at irq %d\n", dev->dv_xname, + printf("%s: %s interrupting at irq %d\n", dev->dv_xname, PCIIDE_CHANNEL_NAME(chan), irq); return (cookie); } |