Move PCIIDE_CHANNEL_NAME macro to pciidereg.h.

This commit is contained in:
soren 2000-03-09 20:26:31 +00:00
parent 0bcbafe0ee
commit c70220f2a2
3 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pciide_machdep.c,v 1.2 1999/02/19 18:01:27 mycroft Exp $ */
/* $NetBSD: pciide_machdep.c,v 1.3 2000/03/09 20:26:32 soren Exp $ */
/*
* Copyright (c) 1998 Christopher G. Demetriou. All rights reserved.
@ -51,8 +51,6 @@
#include <dev/isa/isavar.h>
#define PCIIDE_CHANNEL_NAME(chan) ((chan) == 0 ? "primary" : "secondary")
void *
pciide_machdep_compat_intr_establish(dev, pa, chan, func, arg)
struct device *dev;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pciide.c,v 1.53 2000/03/06 18:02:26 bouyer Exp $ */
/* $NetBSD: pciide.c,v 1.54 2000/03/09 20:26:31 soren Exp $ */
/*
@ -369,8 +369,6 @@ const struct pciide_vendor_desc pciide_vendors[] = {
{ 0, NULL }
};
#define PCIIDE_CHANNEL_NAME(chan) ((chan) == 0 ? "primary" : "secondary")
/* options passed via the 'flags' config keyword */
#define PCIIDE_OPTIONS_DMA 0x01

View File

@ -1,4 +1,4 @@
/* $NetBSD: pciidereg.h,v 1.4 1999/02/02 16:14:00 bouyer Exp $ */
/* $NetBSD: pciidereg.h,v 1.5 2000/03/09 20:26:31 soren Exp $ */
/*
* Copyright (c) 1998 Christopher G. Demetriou. All rights reserved.
@ -74,6 +74,8 @@
#define PCIIDE_COMPAT_CTL_SIZE 1
#define PCIIDE_COMPAT_IRQ(chan) ((chan) == 0 ? 14 : 15)
#define PCIIDE_CHANNEL_NAME(chan) ((chan) == 0 ? "primary" : "secondary")
/*
* definitions for IDE DMA
* XXX maybe this should go elsewhere