diff options
author | Eivind Eklund <eivind@FreeBSD.org> | 1999-01-12 01:36:46 +0000 |
---|---|---|
committer | Eivind Eklund <eivind@FreeBSD.org> | 1999-01-12 01:36:46 +0000 |
commit | 38acda90bad7bfcbb7143ded63c03fea3fa5a096 (patch) | |
tree | 477ced735a1e7958168ec42881b241c62f63e28d /sys/pci | |
parent | fa99797979b4fff3246d477032d9eaedfe756a5b (diff) | |
download | src-38acda90bad7bfcbb7143ded63c03fea3fa5a096.tar.gz src-38acda90bad7bfcbb7143ded63c03fea3fa5a096.zip |
Clean out warnings introduced in last commit.
Notes
Notes:
svn path=/head/; revision=42554
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/ide_pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pci/ide_pci.c b/sys/pci/ide_pci.c index 8e39211bf764..2cc8469322a0 100644 --- a/sys/pci/ide_pci.c +++ b/sys/pci/ide_pci.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ide_pci.c,v 1.20 1999/01/11 22:14:23 julian Exp $ + * $Id: ide_pci.c,v 1.21 1999/01/11 22:49:16 julian Exp $ */ #include "pci.h" @@ -548,9 +548,9 @@ cyrix_5530_status(struct ide_pci_cookie *cookie) DMA_config = inl(iobase_bm + (unit * 0x10) + 0x24); - printf("cyrix_5530_status: %s:%u IDE PIO cfg: 0x%08x\n", + printf("cyrix_5530_status: %s:%u IDE PIO cfg: 0x%08lx\n", (ctlr ? "Secondary" : "Primary"), unit, PIO_config); - printf("cyrix_5530_status: %s:%u IDE DMA cfg: 0x%08x\n", + printf("cyrix_5530_status: %s:%u IDE DMA cfg: 0x%08lx\n", (ctlr ? "Secondary" : "Primary"), unit, DMA_config); } @@ -589,7 +589,7 @@ cyrix_5530_dmainit(struct ide_pci_cookie *cookie, * depending on what the drive can do, * set the correct modes, */ - printf("wd%d: mw=0x%x, pio=0x%x, pcirev=0x%x, udma=0x%x\n", + printf("wd%d: mw=0x%x, pio=0x%x, pcirev=0x%lx, udma=0x%x\n", unitno, mwdma_mode(wp), pio_mode(wp), pci_revision, udma_mode(wp)); |