From dad21d9de46deb54ef7a122e53d664aa7d5a137d Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Sat, 5 Aug 2000 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 2000-08-05 --- alphapc/segment.h | 2 +- pc/pci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alphapc/segment.h b/alphapc/segment.h index f9c7e43410e8c8c8f2d46e0e558e77507d230db4..24d9fc5b7db6798db1ec6077aa5721c14ab428ec 100644 --- a/alphapc/segment.h +++ b/alphapc/segment.h @@ -2,7 +2,7 @@ * Attach segment types */ -Physseg physseg[] = { +Physseg physseg[10] = { { SG_SHARED, "shared", 0, SEGMAXSIZE, 0, 0 }, { SG_BSS, "memory", 0, SEGMAXSIZE, 0, 0 }, { 0, 0, 0, 0, 0, 0 }, diff --git a/pc/pci.c b/pc/pci.c index f4073271cf22500a862db65e2dc3fcced02211cb..32fea605ef60ff73fef57dbf6f13eacc228f49e2 100644 --- a/pc/pci.c +++ b/pc/pci.c @@ -61,7 +61,7 @@ enum static Lock pcicfglock; static Lock pcicfginitlock; static int pcicfgmode = -1; -static int pcimaxbno = 255; +static int pcimaxbno = 7; static int pcimaxdno; static Pcidev* pciroot; static Pcidev* pcilist;