summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-01 20:23:01 +0000
committerpeter <peter@FreeBSD.org>1999-07-01 20:23:01 +0000
commit6b77faed1dceac0441e5ef46764e14f6c7025553 (patch)
tree7de80abcafc9c9c323a1c16383e527666002c769
parent5d1dacac850d0af43849f0a4cfc1684173d7369a (diff)
downloadFreeBSD-src-6b77faed1dceac0441e5ef46764e14f6c7025553.zip
FreeBSD-src-6b77faed1dceac0441e5ef46764e14f6c7025553.tar.gz
Fix a warning, and pull prototypes into scope for ide/isa interrupt setup.
-rw-r--r--sys/alpha/pci/pcibus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/alpha/pci/pcibus.c b/sys/alpha/pci/pcibus.c
index 5b4cbf8..58c4769 100644
--- a/sys/alpha/pci/pcibus.c
+++ b/sys/alpha/pci/pcibus.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcibus.c,v 1.13 1999/05/18 23:20:14 peter Exp $
+ * $Id: pcibus.c,v 1.14 1999/05/20 15:33:24 gallatin Exp $
*
*/
@@ -42,6 +42,7 @@
#include <machine/cpuconf.h>
#include <machine/resource.h>
#include <alpha/pci/pcibus.h>
+#include <alpha/isa/isavar.h>
char chipset_type[10];
int chipset_bwx = 0;
@@ -313,7 +314,7 @@ DB_COMMAND(in, db_in)
return;
size = -1;
- while (c = *modif++) {
+ while ((c = *modif++) != '\0') {
switch (c) {
case 'b':
size = 1;
OpenPOWER on IntegriCloud