From 1311e5029390a7b7a4a2132f035d12c987cc0b75 Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Sun, 17 Oct 2004 18:32:13 +0000 Subject: Bump wdc_chanarray as well. --- sys/dev/pci/pciidevar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/pciidevar.h b/sys/dev/pci/pciidevar.h index 270f9a21eb5..c1cc8c9c145 100644 --- a/sys/dev/pci/pciidevar.h +++ b/sys/dev/pci/pciidevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pciidevar.h,v 1.13 2004/10/17 18:23:58 grange Exp $ */ +/* $OpenBSD: pciidevar.h,v 1.14 2004/10/17 18:32:12 grange Exp $ */ /* $NetBSD: pciidevar.h,v 1.6 2001/01/12 16:04:00 bouyer Exp $ */ /* @@ -74,7 +74,7 @@ struct pciide_softc { /* Chip revision */ int sc_rev; /* common definitions */ - struct channel_softc *wdc_chanarray[PCIIDE_NUM_CHANNELS]; + struct channel_softc *wdc_chanarray[PCIIDE_MAX_CHANNELS]; /* internal bookkeeping */ struct pciide_channel { /* per-channel data */ struct channel_softc wdc_channel; /* generic part */ -- cgit v1.2.3