diff options
author | peter <peter@FreeBSD.org> | 1999-07-01 20:23:01 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-07-01 20:23:01 +0000 |
commit | 6b77faed1dceac0441e5ef46764e14f6c7025553 (patch) | |
tree | 7de80abcafc9c9c323a1c16383e527666002c769 /sys/alpha/pci/pcibus.c | |
parent | 5d1dacac850d0af43849f0a4cfc1684173d7369a (diff) | |
download | FreeBSD-src-6b77faed1dceac0441e5ef46764e14f6c7025553.zip FreeBSD-src-6b77faed1dceac0441e5ef46764e14f6c7025553.tar.gz |
Fix a warning, and pull prototypes into scope for ide/isa interrupt setup.
Diffstat (limited to 'sys/alpha/pci/pcibus.c')
-rw-r--r-- | sys/alpha/pci/pcibus.c | 5 |
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; |