Fix build error with ED_DEBUG.

PR:		kern/72753
This commit is contained in:
nyan 2004-11-10 13:16:12 +00:00
parent 1a58c69767
commit cc99cb5f1a
2 changed files with 3 additions and 3 deletions

View File

@ -370,8 +370,8 @@ ed_probe_WD80x3_generic(dev, flags, intr_vals)
if (error)
return (error);
#if ED_DEBUG
printf("type = %x type_str=%s isa16bit=%d memsize=%d id_msize=%d\n",
#ifdef ED_DEBUG
printf("type = %x type_str=%s isa16bit=%d memsize=%d id_msize=%lu\n",
sc->type, sc->type_str, isa16bit, memsize, conf_msize);
for (i = 0; i < 8; i++)
printf("%x -> %x\n", i, ed_asic_inb(sc, i));

View File

@ -1682,7 +1682,7 @@ ed_pio_testmem(sc, page_offset, isa16bit, flags)
ed_nic_outb(sc, ED_P0_PSTART, page_offset / ED_PAGE_SIZE);
ed_nic_outb(sc, ED_P0_PSTOP, (page_offset + memsize) / ED_PAGE_SIZE);
#ifdef ED_DEBUG
printf("ed?: ed_pio_testmem: page start=%x, end=%x",
printf("ed?: ed_pio_testmem: page start=%x, end=%lx",
page_offset, page_offset + memsize);
#endif