From 066497ec38592583aac4673bff178ccf3343f216 Mon Sep 17 00:00:00 2001 From: ichiro Date: Thu, 25 Sep 2003 14:48:16 +0000 Subject: [PATCH] add comment and delete unused definition --- sys/arch/arm/xscale/ixp425_pci_space.c | 7 +++++-- sys/arch/arm/xscale/ixp425reg.h | 4 +--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/sys/arch/arm/xscale/ixp425_pci_space.c b/sys/arch/arm/xscale/ixp425_pci_space.c index d47389838fda..a33f9217a1b9 100644 --- a/sys/arch/arm/xscale/ixp425_pci_space.c +++ b/sys/arch/arm/xscale/ixp425_pci_space.c @@ -1,4 +1,4 @@ -/* $NetBSD: ixp425_pci_space.c,v 1.1 2003/09/25 14:11:18 ichiro Exp $ */ +/* $NetBSD: ixp425_pci_space.c,v 1.2 2003/09/25 14:48:16 ichiro Exp $ */ /* * Copyright (c) 2003 @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ixp425_pci_space.c,v 1.1 2003/09/25 14:11:18 ichiro Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ixp425_pci_space.c,v 1.2 2003/09/25 14:48:16 ichiro Exp $"); /* * bus_space PCI functions for ixp425 @@ -165,6 +165,9 @@ ixp425_io_bs_init(bus_space_tag_t bs, void *cookie) bs->bs_free = ixp425_pci_io_bs_free; bs->bs_vaddr = ixp425_pci_io_bs_vaddr; + /* + * IXP425 processor does not have PCI I/O windows + */ /* read (single) */ bs->bs_r_1 = _pci_io_bs_r_1; bs->bs_r_2 = _pci_io_bs_r_2; diff --git a/sys/arch/arm/xscale/ixp425reg.h b/sys/arch/arm/xscale/ixp425reg.h index 7e94513ed4f4..60f8a3fb4afc 100644 --- a/sys/arch/arm/xscale/ixp425reg.h +++ b/sys/arch/arm/xscale/ixp425reg.h @@ -1,4 +1,4 @@ -/* $NetBSD: ixp425reg.h,v 1.10 2003/09/25 14:11:18 ichiro Exp $ */ +/* $NetBSD: ixp425reg.h,v 1.11 2003/09/25 14:48:16 ichiro Exp $ */ /* * Copyright (c) 2003 * Ichiro FUKUHARA . @@ -430,8 +430,6 @@ #define IXP425_PCI_MEM_SIZE 0x04000000UL /* 64MB */ /* PCI I/O Space */ -#define IXP425_PCI_IO_HWBASE 0x90000000UL -#define IXP425_PCI_IO_VBASE IXP425_PCI_IO_HWBASE #define IXP425_PCI_IO_SIZE 0x00100000UL /* 1Mbyte */ /* PCI Controller Configuration Offset */