From 2ca30abdfbe99b5959b8c4c9dc9899051b91965b Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Mon, 19 Jun 2000 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 2000-06-19 --- pc/ether2114x.c | 2 +- pc/ether79c970.c | 2 +- pc/ether82557.c | 2 +- pc/etherelnk3.c | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pc/ether2114x.c b/pc/ether2114x.c index 070dd6b0c6887b9dae3600294aa459c9e2e42ed8..979befc8968be017a3fe445132d09945b31219ab 100644 --- a/pc/ether2114x.c +++ b/pc/ether2114x.c @@ -1305,7 +1305,7 @@ dec2114xpci(void) ctlr->pcidev = p; if(ioalloc(ctlr->port, p->mem[0].size, 0, "dec2114x") < 0){ - print("dec2114x: port %d in use\n", ctlr->port); + print("dec2114x: port 0x%uX in use\n", ctlr->port); free(ctlr); continue; } diff --git a/pc/ether79c970.c b/pc/ether79c970.c index 7a7cb0b83eb4144e010858443c4050693e83dd7a..35c184622f9b8fbb6805ffd27fc6132b325acad8 100644 --- a/pc/ether79c970.c +++ b/pc/ether79c970.c @@ -450,7 +450,7 @@ amd79c970pci(void) while(p = pcimatch(p, 0x1022, 0x2000)){ port = p->mem[0].bar & ~0x01; if(ioalloc(port, p->mem[0].size, 0, "amd79c970") < 0){ - print("amd79c970: port %d in use\n", port); + print("amd79c970: port 0x%uX in use\n", port); continue; } amd79c970adapter(&adapter, port, p->intl, p->tbdf); diff --git a/pc/ether82557.c b/pc/ether82557.c index 05db27d85dff2d2500291b5b8eaedaf6356756d9..0d83fda86469cdf33a9e30c4b0e2fcdb8710f492 100644 --- a/pc/ether82557.c +++ b/pc/ether82557.c @@ -908,7 +908,7 @@ i82557pci(void) */ port = p->mem[1].bar & ~0x01; if(ioalloc(port, p->mem[1].size, 0, "i82557pci") < 0){ - print("i82557pci: port %d in use\n", port); + print("i82557pci: port 0x%uX in use\n", port); continue; } i82557adapter(&adapter, port, p->intl, p->tbdf); diff --git a/pc/etherelnk3.c b/pc/etherelnk3.c index 787ca04083e85382de88bd65547dca23b65fc8f2..d6bd546abbce736541855c5b61383c714eec7a90 100644 --- a/pc/etherelnk3.c +++ b/pc/etherelnk3.c @@ -1314,7 +1314,7 @@ tcm509isa(void) */ while(port = activate()){ if(ioalloc(port, 0x10, 0, "tcm509isa") < 0){ - print("tcm509isa:port %d in use\n", port); + print("tcm509isa: port 0x%uX in use\n", port); continue; } @@ -1376,7 +1376,7 @@ tcm5XXeisa(void) for(slot = 1; slot < MaxEISA; slot++){ port = slot*0x1000; if(ioalloc(port, 0x1000, 0, "tcm5XXeisa") < 0){ - print("tcm5XXeisa: port %d in use\n", port); + print("tcm5XXeisa: port 0x%uX in use\n", port); continue; } if(ins(port+0xC80+ManufacturerID) != 0x6D50){ @@ -1410,7 +1410,7 @@ tcm59Xpci(void) while(p = pcimatch(p, 0x10B7, 0)){ port = p->mem[0].bar & ~0x01; if(ioalloc(port, p->mem[0].size, 0, "tcm59Xpci") < 0){ - print("tcm59Xpci: port %d in use\n", port); + print("tcm59Xpci: port 0x%uX in use\n", port); continue; } irq = p->intl;